From a73c837303d4e27b8f556a4a2da1374f86c14c49 Mon Sep 17 00:00:00 2001 From: Le Dinh Hieu Date: Fri, 6 Feb 2026 15:17:41 +0700 Subject: [PATCH] feat: updated init.lua --- init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.lua b/init.lua index d16bf51d..4ae5b64d 100644 --- a/init.lua +++ b/init.lua @@ -151,6 +151,10 @@ vim.o.splitbelow = true -- and `:help lua-options-guide` vim.o.list = true vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' } +vim.opt.tabstop = 4 -- Visual width of a tab +vim.opt.softtabstop = 4 -- The number of spaces inserted when hitting Tab +vim.opt.shiftwidth = 4 -- Size of an indentation +vim.opt.expandtab = true -- Turn tabs into spaces -- Preview substitutions live, as you type! vim.o.inccommand = 'split'