feat(nvim): enable wrap by default

This commit is contained in:
Price Hiller 2024-06-18 23:54:04 -05:00
parent 0d26113e40
commit b0d8450f59
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -31,14 +31,18 @@ M.setup = function()
opt.tabstop = 4
opt.shiftwidth = 4
opt.smartindent = true
opt.breakat = " \t;,"
opt.formatlistpat = [[^\s*\(-\|\d\.\)\s*]]
opt.breakindent = true
opt.breakindentopt = "list:2"
opt.expandtab = true
opt.smarttab = true
opt.shiftround = true
-- Wrapping behavior
opt.wrap = true
opt.breakat = " \t;,"
opt.linebreak = true
opt.formatlistpat = [[^\s*\(-\|\d\.\)\s*]]
opt.breakindent = true
opt.breakindentopt = "list:2"
-- Search settings
opt.hlsearch = true
opt.incsearch = true