feat: updated init.lua

This commit is contained in:
Le Dinh Hieu 2026-02-06 15:17:41 +07:00
parent 4cfc87cb85
commit a73c837303
1 changed files with 4 additions and 0 deletions

View File

@ -151,6 +151,10 @@ vim.o.splitbelow = true
-- and `:help lua-options-guide` -- and `:help lua-options-guide`
vim.o.list = true vim.o.list = true
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '' } 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! -- Preview substitutions live, as you type!
vim.o.inccommand = 'split' vim.o.inccommand = 'split'