You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When hitting <Tab> after #file:, it may cause the editor to freeze when the current working directory has a large number of files (e.g.: working in a Rust project where target/ directory contains a large number of compiled objects.)
I assume this is caused by globbing too many files into the table here:
When hitting
<Tab>
after#file:
, it may cause the editor to freeze when the current working directory has a large number of files (e.g.: working in a Rust project wheretarget/
directory contains a large number of compiled objects.)I assume this is caused by globbing too many files into the table here:
CopilotChat.nvim/lua/CopilotChat/config.lua
Lines 190 to 192 in 2ebe591
I read that this plugin has
fzf-lua
support but after digging into the source code a little bit it seems that the relevant code is no longer in use.Since the plugin exposes the context configuration so I did an ad-hoc fix for this to avoid loading too many files into the memory:
I think it is worth having such behavior by default so that it is easier to work with large projects. Thanks!
The text was updated successfully, but these errors were encountered: