diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-11-07 13:41:28 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-11-07 13:42:36 +0100 |
commit | 25ab9dcbdd21e441f10c4d7660e2a723e37a1c61 (patch) | |
tree | f54194813380e46cb80369426c88d591e77eb6e2 /.config/nvim/after/ftplugin | |
parent | 262d18d712766898fd0a740c792cdd225ac9b034 (diff) |
nvim: Add various mode-specific configurations
Diffstat (limited to '.config/nvim/after/ftplugin')
-rw-r--r-- | .config/nvim/after/ftplugin/css.lua | 3 | ||||
-rw-r--r-- | .config/nvim/after/ftplugin/gitcommit.lua | 1 | ||||
l--------- | .config/nvim/after/ftplugin/htmldjango.lua | 1 | ||||
-rw-r--r-- | .config/nvim/after/ftplugin/lex.lua | 3 | ||||
-rw-r--r-- | .config/nvim/after/ftplugin/nroff.lua | 1 |
5 files changed, 9 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/css.lua b/.config/nvim/after/ftplugin/css.lua new file mode 100644 index 0000000..01efc8f --- /dev/null +++ b/.config/nvim/after/ftplugin/css.lua @@ -0,0 +1,3 @@ +local lib = require('mango.lib') + +lib.set_tab_width(8, true) diff --git a/.config/nvim/after/ftplugin/gitcommit.lua b/.config/nvim/after/ftplugin/gitcommit.lua new file mode 100644 index 0000000..9aa3038 --- /dev/null +++ b/.config/nvim/after/ftplugin/gitcommit.lua @@ -0,0 +1 @@ +vim.opt_local.expandtab = true diff --git a/.config/nvim/after/ftplugin/htmldjango.lua b/.config/nvim/after/ftplugin/htmldjango.lua new file mode 120000 index 0000000..d805bec --- /dev/null +++ b/.config/nvim/after/ftplugin/htmldjango.lua @@ -0,0 +1 @@ +html.lua
\ No newline at end of file diff --git a/.config/nvim/after/ftplugin/lex.lua b/.config/nvim/after/ftplugin/lex.lua new file mode 100644 index 0000000..01efc8f --- /dev/null +++ b/.config/nvim/after/ftplugin/lex.lua @@ -0,0 +1,3 @@ +local lib = require('mango.lib') + +lib.set_tab_width(8, true) diff --git a/.config/nvim/after/ftplugin/nroff.lua b/.config/nvim/after/ftplugin/nroff.lua new file mode 100644 index 0000000..97209fb --- /dev/null +++ b/.config/nvim/after/ftplugin/nroff.lua @@ -0,0 +1 @@ +vim.opt_local.textwidth = 80 |