DEV Community

SeongKuk Han
SeongKuk Han

Posted on

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!

Top comments (0)