Is update_focused_file
running in a synchronized/blocking way or async/non-blocking way?
#2275
-
Hi, in 2 months ago, I'm using 'nvim-tree.lua' in the company's git repository which I'm working for. The git repository is a super large monorepo, which contains maybe hundreds of directories, hundreds thousands of files. When switching buffers, nvim-tree is stucking on finding the focused file. When I disable this option, it will be fine. In the same time, an other plugin neo-tree.nvim is using async/non-blocking way, so it don't stuck, and maybe 0.5~1 seconds later, it will focused on the file I'm editing. After 2 months, is there any updates? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
Almost all git operations are async/background #1974 Please raise a bug report with
|
Beta Was this translation helpful? Give feedback.
That is synchronous, however is a cheap operation.
Please add some profiling and report your results, so that we may better investigate this problem: