Replies: 1 comment
-
|
In fact I realize that I do not know how to set neotree's root dir without opening it in lua. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The idea is to find the project's root dir based on current file, when entering a buffer and set neotree's root accordingly IF neotree is already open.
But it seems more complicated than I thought.
I have tried this:
But it does not work properly because it constantly open and try re-focus neotree, which puzzle me..
Beta Was this translation helpful? Give feedback.
All reactions