desactiva minipairs

pull/1/head
borja 1 year ago
parent bb1e89dae2
commit 10b54cf7c2

@ -3,6 +3,7 @@ vim.keymap.set("n", "<leader>t", function() end, { desc = "+Todos" })
-- add new todo line when previous is already a todo -- add new todo line when previous is already a todo
local function press_enter() local function press_enter()
vim.b.minipairs_disable = true
local current_line = vim.api.nvim_get_current_line() local current_line = vim.api.nvim_get_current_line()
-- Check if the current line matches the pattern -- Check if the current line matches the pattern
local pattern = "^%- %[[ x]%] .*$" local pattern = "^%- %[[ x]%] .*$"

Loading…
Cancel
Save