@ -3,6 +3,7 @@ vim.keymap.set("n", "<leader>t", function() end, { desc = "+Todos" })
-- add new todo line when previous is already a todo
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]%] .*$"