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