diff --git a/plugin/todoer.lua b/plugin/todoer.lua index aefd441..40a78dd 100644 --- a/plugin/todoer.lua +++ b/plugin/todoer.lua @@ -1,9 +1,9 @@ vim.keymap.set("n", "t", function() end, { desc = "+Todos" }) -- add new todo line when previous is already a todo +vim.g.minipairs_disable = true local function press_enter() - vim.b.minipairs_disable = true local current_line = vim.api.nvim_get_current_line() -- Check if the current line matches the pattern local pattern = "^%- %[[ x]%] .*$"