feat(nvim): set formatoptions
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m15s

This commit is contained in:
Price Hiller 2024-09-11 12:24:20 -05:00
parent ca226d1c16
commit caa444df24
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -40,6 +40,7 @@ M.setup = function()
opt.breakat = " \t;,[]()"
opt.linebreak = true
opt.formatlistpat = [[^\s*\(-\|\d\.\|+\)\s*]]
opt.formatoptions = "jcroqnp"
opt.breakindent = true
opt.breakindentopt = "list:2"