From 2d4e0274fdc21a3d738b9b6540d326caafc42e42 Mon Sep 17 00:00:00 2001 From: schistos Date: Tue, 9 Jul 2024 13:53:04 +0300 Subject: [PATCH] adjust tabulation --- lua/custom/tabulation.lua | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 lua/custom/tabulation.lua diff --git a/lua/custom/tabulation.lua b/lua/custom/tabulation.lua new file mode 100644 index 00000000..e87ecea9 --- /dev/null +++ b/lua/custom/tabulation.lua @@ -0,0 +1,4 @@ +vim.o.tabstop = 4 -- A TAB character looks like 4 spaces +vim.o.expandtab = true -- Pressing the TAB key will insert spaces instead of a TAB character +vim.o.softtabstop = 4 -- Number of spaces inserted instead of a TAB character +vim.o.shiftwidth = 4 -- Number of spaces inserted when indenting