diff options
-rw-r--r-- | .config/nvim/after/ftplugin/PKGBUILD.vim | 3 | ||||
-rw-r--r-- | .config/nvim/after/ftplugin/ledger.vim | 1 | ||||
-rw-r--r-- | .config/nvim/after/ftplugin/lua.vim | 1 | ||||
-rw-r--r-- | .config/nvim/after/ftplugin/sh.vim | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/PKGBUILD.vim b/.config/nvim/after/ftplugin/PKGBUILD.vim new file mode 100644 index 0000000..9e0ebc9 --- /dev/null +++ b/.config/nvim/after/ftplugin/PKGBUILD.vim | |||
@@ -0,0 +1,3 @@ | |||
1 | setlocal tabstop=2 | ||
2 | setlocal shiftwidth=2 | ||
3 | setlocal expandtab | ||
diff --git a/.config/nvim/after/ftplugin/ledger.vim b/.config/nvim/after/ftplugin/ledger.vim new file mode 100644 index 0000000..b641b42 --- /dev/null +++ b/.config/nvim/after/ftplugin/ledger.vim | |||
@@ -0,0 +1 @@ | |||
let b:dispatch = 'ledger -f ~/nextcloud/ledger.ledger bal assets liab' | |||
diff --git a/.config/nvim/after/ftplugin/lua.vim b/.config/nvim/after/ftplugin/lua.vim new file mode 100644 index 0000000..5611ba5 --- /dev/null +++ b/.config/nvim/after/ftplugin/lua.vim | |||
@@ -0,0 +1 @@ | |||
let b:ale_fixers = ['lua-format'] | |||
diff --git a/.config/nvim/after/ftplugin/sh.vim b/.config/nvim/after/ftplugin/sh.vim new file mode 100644 index 0000000..70f6252 --- /dev/null +++ b/.config/nvim/after/ftplugin/sh.vim | |||
@@ -0,0 +1 @@ | |||
let b:ale_fixers = ['shfmt'] | |||