Skip to content

Commit

Permalink
fix(doom-neovim#203): Tightens up the regexes for excluding files in …
Browse files Browse the repository at this point in the history
…telescope. Otherwise would exclude files or folders like doom-neogit.lua or my_other_node_modules
  • Loading branch information
joalon committed Oct 30, 2021
1 parent 785d5ed commit 855c0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/doom/modules/config/doom-telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ return function()
},
},
file_sorter = require("telescope.sorters").get_fuzzy_file,
file_ignore_patterns = { ".git", "node_modules", "__pycache__" },
file_ignore_patterns = { "^.git/", "^node_modules/", "^__pycache__/" },
generic_sorter = require("telescope.sorters").get_generic_fuzzy_sorter,
winblend = 0,
scroll_strategy = "cycle",
Expand Down

0 comments on commit 855c0a0

Please sign in to comment.