diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-09-12 12:16:31 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-09-12 12:16:31 +0200 |
commit | 24fc98bfaca3f07c90ff33a3bfeb738fd84ff79a (patch) | |
tree | 7c5c9c870ed808d5cbee848808c70ff9ec1816c3 /.config/nvim/after/ftplugin | |
parent | a5feec43c14bd05e8dd98d24fba7e25fdbb6fd7d (diff) |
nvim: Add extensive Neovim configuration
Diffstat (limited to '.config/nvim/after/ftplugin')
-rw-r--r-- | .config/nvim/after/ftplugin/c.lua | 3 | ||||
-rw-r--r-- | .config/nvim/after/ftplugin/go.lua | 3 | ||||
-rw-r--r-- | .config/nvim/after/ftplugin/html.lua | 3 | ||||
-rw-r--r-- | .config/nvim/after/ftplugin/mail.lua | 5 | ||||
-rw-r--r-- | .config/nvim/after/ftplugin/python.lua | 2 | ||||
-rw-r--r-- | .config/nvim/after/ftplugin/rust.lua | 2 |
6 files changed, 18 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/c.lua b/.config/nvim/after/ftplugin/c.lua new file mode 100644 index 0000000..f37ef07 --- /dev/null +++ b/.config/nvim/after/ftplugin/c.lua @@ -0,0 +1,3 @@ +local lib = require('mango.lib') + +lib.setTabWidth(8, true) diff --git a/.config/nvim/after/ftplugin/go.lua b/.config/nvim/after/ftplugin/go.lua new file mode 100644 index 0000000..f37ef07 --- /dev/null +++ b/.config/nvim/after/ftplugin/go.lua @@ -0,0 +1,3 @@ +local lib = require('mango.lib') + +lib.setTabWidth(8, true) diff --git a/.config/nvim/after/ftplugin/html.lua b/.config/nvim/after/ftplugin/html.lua new file mode 100644 index 0000000..4a52958 --- /dev/null +++ b/.config/nvim/after/ftplugin/html.lua @@ -0,0 +1,3 @@ +local lib = require('mango.lib') + +lib.setTabWidth(2, true) diff --git a/.config/nvim/after/ftplugin/mail.lua b/.config/nvim/after/ftplugin/mail.lua new file mode 100644 index 0000000..c6bb6a2 --- /dev/null +++ b/.config/nvim/after/ftplugin/mail.lua @@ -0,0 +1,5 @@ +local lib = require('mango.lib') + +lib.setTabWidth(2, true) +vim.opt_local.expandtab = true +vim.opt_local.textwidth = 73 diff --git a/.config/nvim/after/ftplugin/python.lua b/.config/nvim/after/ftplugin/python.lua new file mode 100644 index 0000000..a97fe2e --- /dev/null +++ b/.config/nvim/after/ftplugin/python.lua @@ -0,0 +1,2 @@ +vim.opt_local.textwidth = 100 +vim.opt_local.expandtab = false diff --git a/.config/nvim/after/ftplugin/rust.lua b/.config/nvim/after/ftplugin/rust.lua new file mode 100644 index 0000000..a97fe2e --- /dev/null +++ b/.config/nvim/after/ftplugin/rust.lua @@ -0,0 +1,2 @@ +vim.opt_local.textwidth = 100 +vim.opt_local.expandtab = false |