feat(nvim): improve markdown formatlistpat

This commit is contained in:
Price Hiller 2024-10-01 15:22:56 -05:00
parent c9348e6c84
commit 1f160e3bb7
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -22,3 +22,5 @@ vim.keymap.set("n", "<C-Space>", function()
vim.api.nvim_buf_set_lines(0, cur_line - 1, cur_line, true, { updated_task_str }) vim.api.nvim_buf_set_lines(0, cur_line - 1, cur_line, true, { updated_task_str })
end end
end, { buffer = true }) end, { buffer = true })
vim.opt.formatlistpat = [[^\s*\(-\|\d\+\.|+\|>\)\s*]]