fix lag and add buffer management
This commit is contained in:
parent
9f86c36b7e
commit
e045491ec1
8 changed files with 121 additions and 24 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue