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
Uh oh!
There was an error while loading. Please reload this page.
-
I can't quite figure this one out. I've read through the docs and see that this runs
find_rootand then runs a command tochdirof 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:pwdyields/user/me/user/me/path/file.md:pwdshould yield/user/me/pathHowever, on that last bullet point,
:pwdis 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