main
borja 1 year ago
parent 28d6af114c
commit 981a084909

@ -86,6 +86,7 @@ local function remove_todo()
local index, spaces = string.find(line, "^%s*")
if string.match(line, openpattern) or string.match(line, closedpattern) then
print("encontrado")
line = string.gsub(line, openpattern, "")
line = string.gsub(line, closedpattern, "")
vim.api.nvim_set_current_line(line)

Loading…
Cancel
Save