summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2021-10-08 00:08:56 +0300
committerYigit Sever2021-10-08 00:08:56 +0300
commit82bc7c109cd3890b3494d88f7ead43c3aa3e7860 (patch)
tree713ab9738cee22bd5ad932ccbbc2075596a03002
parent7ec394c8bae3fccdadfd524a5f591d9b23a2b535 (diff)
downloaddotfiles-82bc7c109cd3890b3494d88f7ead43c3aa3e7860.tar.gz
dotfiles-82bc7c109cd3890b3494d88f7ead43c3aa3e7860.tar.bz2
dotfiles-82bc7c109cd3890b3494d88f7ead43c3aa3e7860.zip
neovim: tracking ftplugins
-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']