From c84f3cd6cfc1da4f94027a738e310cb9ebc8146a Mon Sep 17 00:00:00 2001 From: "ayushjaipuriyar21@gmail.com" Date: Fri, 17 Sep 2021 18:49:42 +0530 Subject: [PATCH] ignore node_module folder in telescope --- lua/plugins/configs/telescope.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/configs/telescope.lua b/lua/plugins/configs/telescope.lua index df20753..4222ab7 100644 --- a/lua/plugins/configs/telescope.lua +++ b/lua/plugins/configs/telescope.lua @@ -35,7 +35,7 @@ telescope.setup { preview_cutoff = 120, }, file_sorter = require("telescope.sorters").get_fuzzy_file, - file_ignore_patterns = {}, + file_ignore_patterns = {"node_modules"}, generic_sorter = require("telescope.sorters").get_generic_fuzzy_sorter, path_display = { "absolute" }, winblend = 0,