plenary.nvim
plenary.nvim copied to clipboard
plenary.path: make_relative to return only relative paths
Hey :),
IMHO make_relative should return only relative paths, so:
- cwd:
/home/user/docs/neovim/docs/, Path.filename:/home/user/docs/tmp/note.md: should return:../../tmp/note.mdcurrently returns:/home/user/docs/tmp/note.md.
Happy to make a PR, I'd just like to confirm this behavior is desired not just by me, but also by others.
I want it too. Have you started working on a PR?
+1 would love to see that
Hi,
I also thought it should return ../../tmp/note.md, I'm confused.
+1 on the "relative paths might behave somewhat unintuitive".
Is that any updates on that issue?
Thank you in advance