feat(nvim): support + in formatlistpat

This commit is contained in:
Price Hiller 2024-09-05 04:15:20 -05:00
parent 9e341ec60b
commit 23cdc71938
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

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