-
Hey, I just switched to fzf-lua from telescope in LazyVim, and I would like to know how can I exclude certain files while performing a live_grep or grep? From reading around a bit, I believe this can be done via the grep rg_opts command? Something like the following:
Is there a way I can specify a pattern here that matches certain file names? For example, if I wish to ignore package-lock files, how would I achieve this? With telescope, this could be done via %-lock.json, etc. Thank you for the help. Cheers. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
You can use
file_ignore_patterns
for exactly that (lua style patterns).