Closed isaldarriaga closed 3 weeks ago
You can add --hidden
to your opts
search = {
command = "rg",
args = {
"--color=never",
"--no-heading",
"--with-filename",
"--line-number",
"--column",
"--hidden", -- added line
},
-- regex that will be used to match keywords.
-- don't replace the (KEYWORDS) placeholder
pattern = [[\b(KEYWORDS):]], -- ripgrep regex
-- pattern = [[\b(KEYWORDS)\b]], -- match without the extra colon. You'll likely get false positives
},
But I think it would also make sense to add the current buffer's todos in the list even if the buffer is hidden. Is that something that makes sense here?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0-dev
Operating system/version
Ubuntu 23.10
Describe the bug
files in hidden folder are highlighted properly, but their TODO entries does not appear in the lists generated by the plugin
Steps To Reproduce
<space> e
(tip: astronvim includes it)H
init.lua
then hit:TodoLocList
no todos found
Expected Behavior
Repro