From 12fda85a6376a099e3b08d9f1b47b9e9c1d7946b Mon Sep 17 00:00:00 2001 From: borja Date: Sun, 26 Nov 2023 23:31:08 +0100 Subject: [PATCH] ahora disablea minipairs en global --- plugin/todoer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]%] .*$"