Open zaiqiang-dong opened 7 months ago
This is reproducible and unfortunately I think this is very difficult to fix.
@zaiqiang-dong Will it start following current file when you go to a different file and then come back? (I assume the answer is yes) and this is the only easy way to restart follow-current-file.
I'm currently doing a rewrite that should make search and async code work smoothly so please wait till it's done for a real solution: https://github.com/nvim-neo-tree/neo-tree.nvim/discussions/1340#discussioncomment-8812757
Thank you for your reply. Looking forward to version v4. x
+1 I hit the same issue, even when the file name is unique. A lot of files and deep nesting leads to the follow_current_file not doing anything. Works on small codebase, but on a larger one it fails silently
Did you check docs and existing issues?
Neovim Version (nvim -v)
0.9.5
Operating System / Version
20.04.1-Ubuntu
Describe the Bug
follow_current_file does not work at a directory that containing a large number of subdirectories and files,such as a Linux source code tree
Screenshots, Traceback
https://github.com/nvim-neo-tree/neo-tree.nvim/assets/10396859/db76b222-7160-4278-ad8b-ac327ce93a15
Steps to Reproduce
1.set "follow_current_file = { enabled = true }," 2.open vim in a linux source code tree and open neo tree 3.run "/" find "file.c" and select by "c-n" and "" open it
Expected Behavior
neo tree can focus the "file.c" that opened by
Your Configuration