feat(nvim): improve markdown formatlistpat
This commit is contained in:
parent
c9348e6c84
commit
1f160e3bb7
@ -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*]]
|
||||||
|
Loading…
Reference in New Issue
Block a user