wip
This commit is contained in:
parent
7bd56631c1
commit
ec159b66e8
1 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,14 @@ o.number = true
|
|||
-- Minimal number of screen lines to keep above and below the cursor.
|
||||
o.scrolloff = 8
|
||||
|
||||
o.formatoptions:append("c") -- Auto-wrap comments
|
||||
o.formatoptions:append("r") -- Auto-insert comment leader on Enter
|
||||
o.formatoptions:append("o") -- Auto-insert comment leader with 'o'/'O'
|
||||
o.formatoptions:append("q") -- Allow formatting of comments with 'gq'
|
||||
o.formatoptions:remove("t") -- Don't auto-wrap text (only comments)
|
||||
|
||||
o.textwidth = 80
|
||||
|
||||
-- tabs & indentation
|
||||
o.tabstop = 2 -- 2 spaces for tabs (prettier default)
|
||||
o.shiftwidth = 2 -- 2 spaces for indent width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue