fix lag and add buffer management

This commit is contained in:
yaso 2026-07-07 15:10:01 +02:00
parent 9f86c36b7e
commit e045491ec1
8 changed files with 121 additions and 24 deletions

View file

@ -12,8 +12,21 @@ return {
telescope.setup({
defaults = {
-- The "vimgrep_arguments" here are what make Telescope lag-free
-- when working with large generated codebases.
file_ignore_patterns = {
"%.dart_tool/",
"%.flatpak%-builder/",
"%.idea/",
"%.git/",
"build/",
"build%-dir/",
"android/",
"ios/",
"linux/",
"macos/",
"windows/",
"web/",
"%.g%.dart$", -- Catches generated files in find_files too
},
vimgrep_arguments = {
"rg",
"--color=never",