Closed phanen closed 2 months ago
Ty @phanen for the work but I wouldn’t like to merge this, although this might be more convenient in your use case I find this counterintuitive and confusing to use:
rg
/ fd
commands (confusing)find
on Unix and dir
on Windows)file_ignore_patterns
(old files, LSP, etc)Didn't think about it that much before, thank you for pointing it out.
BTW, just found this to be a pseudo-requirement, as I could easily use .rgignore/.fdignore to achieve that. (:
BTW, just found this to be a pseudo-requirement, as I could easily use .rgignore/.fdignore to achieve that. (:
You’re right I didn’t think about that either.
file_ignore_patterns
use lua patterns and need to be transformed entry by entry, especially when all other transform options(e.g.file_icons/git_icons
) turn off.file_ignore_globs
will be applied asrg -iglob "!glob1" -iglob "!glob2" ...
andfd --exclude "glob1" --exclude "glob2" ...
.file_ignore_{patterns,globs}
can be a function now.