Replies: 1 comment 4 replies
-
Without any further information, I'd say it is expected. Root directory is by definition is an ancestor directory that contains at least one of pre-defined file system entries (i.e. file or directory), which by default are '.git' and 'Makefile'. So unless '/user/me/path' or '/user' contain one of the entries, this is expected, as it seems to have not found a root directory so falls back to preserving the current working directory. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can't quite figure this one out. I've read through the docs and see that this runs
find_root
and then runs a command tochdir
of the current working directory of the buffer. Below is what I expect to happen, can someone please correct me if this is wrong?/user/me/
nvim
:pwd
yields/user/me
/user/me/path/file.md
:pwd
should yield/user/me/path
However, on that last bullet point,
:pwd
is still returning/user/me
. Is that to be expected?Here's my setup, using lazy. All my other mini plugins are setup the same way and seem to work as it is written in mini's docs.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions