summaryrefslogtreecommitdiffstats
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/after/ftplugin/PKGBUILD.vim3
-rw-r--r--.config/nvim/after/ftplugin/ledger.vim1
-rw-r--r--.config/nvim/after/ftplugin/lua.vim1
-rw-r--r--.config/nvim/after/ftplugin/sh.vim1
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 @@
1setlocal tabstop=2
2setlocal shiftwidth=2
3setlocal 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']