fx: nvim comment finder
This commit is contained in:
@@ -14,7 +14,7 @@ map("n", "<leader>gm", "<cmd>Telescope git_commits<CR>", { desc = "telescope git
|
||||
map('n', '<leader>fi', function()
|
||||
builtin.live_grep({
|
||||
prompt_title = "Files matching TODO",
|
||||
default_text = "(TODO|todo|FIXME|THOUGHT|REFACTOR|TEST)",
|
||||
default_text = "(TODO|todo|FIXME|THOUGHT|REFACTOR|TEST).*", # append with '.*' for additionaly filtering
|
||||
})
|
||||
end, {desc = "find comments using telescope"})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user