Replies: 1 comment
-
|
I was on the right track with the rg args it seems, I fixed it by adding search = {
command = "rg",
args = {
"--color=never",
"--no-heading",
"--with-filename",
"--line-number",
"--column",
"--no-messages",
},
pattern = [[\b(KEYWORDS):]], -- ripgrep regex
}, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an issue where occasionally I will open a file/etc where my user does not have full permissions to every other file in the project dir.
This is particularly an issue where the file is in a directory that is not a git repo and nvim looks upward until it finds one.
The result in those cases is TodoComments throws a large number of errors, one per file that rg cannot run on.

I'd like to hopefully be able to check for these scenarios and either disable todo-comments in those cases or allow it to skip over those files silently.
Maybe I just need a flag added to my rg args?
Any help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions