|
|
@ -85,7 +85,7 @@ local function remove_todo()
|
|
|
|
local line = vim.api.nvim_get_current_line()
|
|
|
|
local line = vim.api.nvim_get_current_line()
|
|
|
|
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.find(line, openpattern) or string.find(line, closedpattern) then
|
|
|
|
print("encontrado")
|
|
|
|
print("encontrado")
|
|
|
|
line = string.gsub(line, openpattern, "")
|
|
|
|
line = string.gsub(line, openpattern, "")
|
|
|
|
line = string.gsub(line, closedpattern, "")
|
|
|
|
line = string.gsub(line, closedpattern, "")
|
|
|
|