summaryrefslogtreecommitdiff
path: root/.config/nvim/after/ftplugin/bash.lua
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-28 11:26:03 +0200
committerKyren223 <Kyren223@proton.me>2024-11-28 11:26:03 +0200
commit97669867212df2f5a3314db6abac2b09a02bd5fb (patch)
tree229a7e0bfae5739dd7799ca8605ce3716db526c3 /.config/nvim/after/ftplugin/bash.lua
parent031b71837e872c1794196e6754b7053c9a3ad4c8 (diff)
Bash/sh now have 2 space indents
Diffstat (limited to '.config/nvim/after/ftplugin/bash.lua')
-rw-r--r--.config/nvim/after/ftplugin/bash.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/bash.lua b/.config/nvim/after/ftplugin/bash.lua
new file mode 100644
index 0000000..e20fbe1
--- /dev/null
+++ b/.config/nvim/after/ftplugin/bash.lua
@@ -0,0 +1,5 @@
+Event = 'VeryLazy'
+
+vim.opt_local.tabstop = 2 -- number of visual spaces per TAB
+vim.opt_local.softtabstop = 2 -- number of idfk tab when editing
+vim.opt_local.shiftwidth = 2 -- number of spaces to insert on tab