summaryrefslogtreecommitdiff
path: root/.config/nvim/after/ftplugin/nix.lua
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-20 20:14:14 +0200
committerKyren223 <Kyren223@proton.me>2024-11-20 20:14:14 +0200
commita9e2614bc18196fd713795b63ff9f2c6c3ef83c6 (patch)
tree4cb02764a4d96fc4b5a616b825ac192675b54d6b /.config/nvim/after/ftplugin/nix.lua
parent8ec18a224fa7a9a2a7f3233c0b0be43917e9eed6 (diff)
2 space indents fixed, added watchexec
Diffstat (limited to '.config/nvim/after/ftplugin/nix.lua')
-rw-r--r--.config/nvim/after/ftplugin/nix.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/nix.lua b/.config/nvim/after/ftplugin/nix.lua
new file mode 100644
index 0000000..e20fbe1
--- /dev/null
+++ b/.config/nvim/after/ftplugin/nix.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