feat(nvim): set formatoptions
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m15s
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m15s
This commit is contained in:
parent
ca226d1c16
commit
caa444df24
@ -40,6 +40,7 @@ M.setup = function()
|
|||||||
opt.breakat = " \t;,[]()"
|
opt.breakat = " \t;,[]()"
|
||||||
opt.linebreak = true
|
opt.linebreak = true
|
||||||
opt.formatlistpat = [[^\s*\(-\|\d\.\|+\)\s*]]
|
opt.formatlistpat = [[^\s*\(-\|\d\.\|+\)\s*]]
|
||||||
|
opt.formatoptions = "jcroqnp"
|
||||||
opt.breakindent = true
|
opt.breakindent = true
|
||||||
opt.breakindentopt = "list:2"
|
opt.breakindentopt = "list:2"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user