From 82bc7c109cd3890b3494d88f7ead43c3aa3e7860 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 8 Oct 2021 00:08:56 +0300 Subject: neovim: tracking ftplugins --- .config/nvim/after/ftplugin/PKGBUILD.vim | 3 +++ .config/nvim/after/ftplugin/ledger.vim | 1 + .config/nvim/after/ftplugin/lua.vim | 1 + .config/nvim/after/ftplugin/sh.vim | 1 + 4 files changed, 6 insertions(+) create mode 100644 .config/nvim/after/ftplugin/PKGBUILD.vim create mode 100644 .config/nvim/after/ftplugin/ledger.vim create mode 100644 .config/nvim/after/ftplugin/lua.vim create mode 100644 .config/nvim/after/ftplugin/sh.vim 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 @@ +setlocal tabstop=2 +setlocal shiftwidth=2 +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'] -- cgit v1.2.3-70-g09d2