Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative link does not open respective to the current file #196

Open
mquhuy opened this issue Feb 20, 2024 · 0 comments
Open

Relative link does not open respective to the current file #196

mquhuy opened this issue Feb 20, 2024 · 0 comments
Assignees

Comments

@mquhuy
Copy link

mquhuy commented Feb 20, 2024

Hi. I've started using this today, and I found this issue, which might be a bug. I'm using the default config with latest version.

Here is how to reproduce it

mkdir -p test/foo1 test/foo2
cd test
touch foo1/index.md
echo "[child](child.md)" > foo2/index.md
echo "This is foo2 child" > foo2/child.md
nvim
  • open foo1/index.md(*)
  • open foo2/index.md
  • Try to access the link to foo2/child.md
  • Instead of arriving to foo2/child.md, we get to foo1/child.md
  • You would get to the expected file if you didn't open foo1/index.md in the first place.
@jakewvincent jakewvincent self-assigned this Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants