I still need to press R
to refresh the neotree after commit the changes
#1253
-
I already set this to be true
But I still need to manually press |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 13 replies
-
I'd bet that this problem is caused by the window management library you are using, is it edgy? If you did the commit from the filesystem source or at least while t was open, it would probably work. It would also probably work if you used Neotree commands to toggle between the sources as sidebars. |
Beta Was this translation helpful? Give feedback.
-
Hi, is there a api to call to refresh neotree? |
Beta Was this translation helpful? Give feedback.
-
HiHi~ Is it possible to have this api?... |
Beta Was this translation helpful? Give feedback.
-
If your goal is to refresh the filesystem, the following should work require("neo-tree.sources.filesystem.commands").refresh(require("neo-tree.sources.manager").get_state("filesystem")) |
Beta Was this translation helpful? Give feedback.
-
I still have trouble with this whenever I commit from the terminal ( |
Beta Was this translation helpful? Give feedback.
To expand on this a bit