d
Size: a a a
SS
b
GK
NG
NG
GK
:he tabstop
d
--Indentation, etc.
vim.cmd([[filetype indent plugin on]])
vim.opt.expandtab = true -- use spaces instead of tabs
vim.opt.shiftwidth = 4 -- shift 4 spaces when tab
vim.opt.tabstop = 4 -- 1 tab == 4 spaces
vim.opt.smartindent = true -- autoindent new lines
vim.o.breakindent = true
-- 2 spaces for selected filetypes
vim.cmd([[
autocmd FileType xml,html,xhtml,css,scss,javascript,purescript,lua,yaml,htmljinja setlocal shiftwidth=2 tabstop=2
]])
GK
:set tabstop
?