-
-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nvim freezes when i disable git files #2938
Comments
Hypothesis: when git is enabled, Please provide diagnostic/performance logs: https://github.com/nvim-tree/nvim-tree.lua/wiki/Troubleshooting#diagnostic-logging I imagine these might be private so you may want to sanitize them before posting. Alternatively, try reproducing via the massive react facebook example react app: #1931 |
I did fix it by adding node module to file tracking ignore list
…On Fri, Oct 4, 2024, 7:32 PM Alexander Courtis ***@***.***> wrote:
Hypothesis: when git is enabled, .gitignore is read and those files are
not enumerated. When disabled, all files such as node_modules or target
are enumerated.
Please provide diagnostic/performance logs:
https://github.com/nvim-tree/nvim-tree.lua/wiki/Troubleshooting#diagnostic-logging
I imagine these might be private so you may want to sanitize them before
posting.
Alternatively, try reproducing via the massive react facebook example
react app: #1931 <#1931>
—
Reply to this email directly, view it on GitHub
<#2938 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6NKLARN42TBXDRRFWWF2NDZZ4QQRAVCNFSM6AAAAABPMKUD2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJUHAYTQOJSGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
fzf ended up hard-coding them: junegunn/fzf#3649 I'm tempted to do the same. Which ignore list did you add them to? |
|
…es } to resolve pathalogical issues
…cache", "/build", "/node_modules", "/target", } (#2940) * feat(#2938): filesystem_watchers.ignore_dirs defaults to { node_modules } to resolve pathalogical issues * feat(#2938): more filesystem_watchers.ignore_dirs defaults to to resolve pathalogical issues * feat(#2938): more filesystem_watchers.ignore_dirs defaults to to resolve pathalogical issues
Description
im working on a monorepo app, if i set use this config
then each time i open nvim tree and open a file or folder using nvim tree, then after i quit it will hang for around 20 to 30 secs, opening the file with a picker like fzflua or telescope does work fine, so in the meantime i enabled git to be able to quit, but i do need to see my env files and some other ignored files whiile working
Neovim version
Operating system and version
MacOs Sonoma 14.6.1
Windows variant
No response
nvim-tree version
latest
Clean room replication
Steps to reproduce
all i do is enter nvim, open nvim-tree, open a folder or file, ex package.json, then :q, and neovim hangs in there for 1~ min
Expected behavior
No response
Actual behavior
No response
The text was updated successfully, but these errors were encountered: