set shiftwidth to 2 | format all files

big thanks to @ghifarit53
This commit is contained in:
siduck 2022-07-22 16:00:00 +00:00
parent ce027efbe9
commit 6f0aa376a8
22 changed files with 1341 additions and 1340 deletions

View file

@ -1,6 +1,6 @@
column_width = 120
line_endings = "Unix"
indent_type = "Spaces"
indent_width = 3
indent_width = 2
quote_style = "AutoPreferDouble"
call_parentheses = "None"

View file

@ -20,8 +20,10 @@ opt.cul = true -- cursor line
-- Indenting
opt.expandtab = true
opt.shiftwidth = 3
opt.shiftwidth = 2
opt.smartindent = true
opt.tabstop = 2
opt.softtabstop = 2
opt.fillchars = { eob = " " }
opt.ignorecase = true
@ -39,7 +41,6 @@ opt.shortmess:append "sI"
opt.signcolumn = "yes"
opt.splitbelow = true
opt.splitright = true
opt.tabstop = 8
opt.termguicolors = true
opt.timeoutlen = 400
opt.undofile = true