summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorKyren223 <contact@kyren.codes>2026-06-14 00:47:45 +0300
committerKyren223 <contact@kyren.codes>2026-06-14 00:47:45 +0300
commit06d600d281912b83d569022092691b01279ba093 (patch)
tree5f6a178c8e1507ca1b91db8c8f91060bd8793d2c /.config
parent668e2eba8a2811d106445a1c86e0f0db05a2c34d (diff)
Use 4 space indents in lua files
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/after/ftplugin/lua.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/lua.lua b/.config/nvim/after/ftplugin/lua.lua
new file mode 100644
index 0000000..7c0f925
--- /dev/null
+++ b/.config/nvim/after/ftplugin/lua.lua
@@ -0,0 +1,5 @@
+Event = 'VeryLazy'
+
+vim.opt_local.tabstop = 4 -- number of visual spaces per TAB
+vim.opt_local.softtabstop = 4 -- number of idfk tab when editing
+vim.opt_local.shiftwidth = 4 -- number of spaces to insert on tab