Logo

dev-resources.site

for different kinds of informations.

Neovim how to ignore directories like node_modules in Telescope

Published at
11/30/2024
Categories
vim
productivity
tooling
nvim
Author
lico
Categories
4 categories in total
vim
open
productivity
open
tooling
open
nvim
open
Author
4 person written this
lico
open
Neovim how to ignore directories like node_modules in Telescope

Using the file_ignore_patterns option in Telescope can significantly slow down performance.

Instead, consider installing ripgrep.

By default, ripgrep automatically excludes files inside the node_modules directory, ensuring efficient file searching without impacting performance.

You don't even need to set up anything after installing.

It is a short info. Hope some of you found it helpful.

Happy Viming!

Featured ones: