You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much!
Unfortunatley the fix introduces a new bug, resulting in the go-to-reference feature still not working.
notebook.RelPath() is called on a relative path from the root, but it expands the path relative to the note. This causes a new, wrong relative path, because it is calculated from the note's paths.
for example an input of folder/note produces folder/folder/note.
I think it's possible to just remove the second call to RelPath(), but I'm not 100% sure, that this does not produce any unwanted side-effects. However, everything was working fine, when I tested it. I'll open a PR.
Description
The find-references feature of the LSP (tracked in #22) does not work if the notes are organized in folders.
Expected Behaviour
find-reference should return all references to the given note.
Steps to Reproduce
jbxt.md
The links are recognized by `zk` as the graph output shows:
my environment
zk 0.11.0
cloned from master. Language server client:vim-lsp
. Everything works fine, if the notes are in the root folder of a zettelkasten.The text was updated successfully, but these errors were encountered: