mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-12 12:50:37 +00:00
set shiftwidth to 2 | format all files
big thanks to @ghifarit53
This commit is contained in:
parent
ce027efbe9
commit
6f0aa376a8
22 changed files with 1341 additions and 1340 deletions
|
@ -1,6 +1,6 @@
|
||||||
column_width = 120
|
column_width = 120
|
||||||
line_endings = "Unix"
|
line_endings = "Unix"
|
||||||
indent_type = "Spaces"
|
indent_type = "Spaces"
|
||||||
indent_width = 3
|
indent_width = 2
|
||||||
quote_style = "AutoPreferDouble"
|
quote_style = "AutoPreferDouble"
|
||||||
call_parentheses = "None"
|
call_parentheses = "None"
|
||||||
|
|
|
@ -20,8 +20,10 @@ opt.cul = true -- cursor line
|
||||||
|
|
||||||
-- Indenting
|
-- Indenting
|
||||||
opt.expandtab = true
|
opt.expandtab = true
|
||||||
opt.shiftwidth = 3
|
opt.shiftwidth = 2
|
||||||
opt.smartindent = true
|
opt.smartindent = true
|
||||||
|
opt.tabstop = 2
|
||||||
|
opt.softtabstop = 2
|
||||||
|
|
||||||
opt.fillchars = { eob = " " }
|
opt.fillchars = { eob = " " }
|
||||||
opt.ignorecase = true
|
opt.ignorecase = true
|
||||||
|
@ -39,7 +41,6 @@ opt.shortmess:append "sI"
|
||||||
opt.signcolumn = "yes"
|
opt.signcolumn = "yes"
|
||||||
opt.splitbelow = true
|
opt.splitbelow = true
|
||||||
opt.splitright = true
|
opt.splitright = true
|
||||||
opt.tabstop = 8
|
|
||||||
opt.termguicolors = true
|
opt.termguicolors = true
|
||||||
opt.timeoutlen = 400
|
opt.timeoutlen = 400
|
||||||
opt.undofile = true
|
opt.undofile = true
|
||||||
|
|
Loading…
Reference in a new issue