cambio por igual a false

main
borja 1 year ago
parent 649edc6234
commit a4c2acf107

@ -58,7 +58,7 @@ local function add_todo()
local line = vim.api.nvim_get_current_line() local line = vim.api.nvim_get_current_line()
if !string.match(line, openpattern) and !string.match(line, closedpattern) then if string.match(line, openpattern) == false and string.match(line, closedpattern) == false then
line = "- [ ] " .. line line = "- [ ] " .. line
vim.api.nvim_set_current_line(line) vim.api.nvim_set_current_line(line)
vim.api.nvim_feedkeys("A", "n", true) vim.api.nvim_feedkeys("A", "n", true)

Loading…
Cancel
Save