diff --git a/users/price/dots/.config/nvim/after/ftplugin/markdown.lua b/users/price/dots/.config/nvim/after/ftplugin/markdown.lua index 14996b50..bda372cc 100644 --- a/users/price/dots/.config/nvim/after/ftplugin/markdown.lua +++ b/users/price/dots/.config/nvim/after/ftplugin/markdown.lua @@ -22,3 +22,5 @@ vim.keymap.set("n", "", function() vim.api.nvim_buf_set_lines(0, cur_line - 1, cur_line, true, { updated_task_str }) end end, { buffer = true }) + +vim.opt.formatlistpat = [[^\s*\(-\|\d\+\.|+\|>\)\s*]]