marksman icon indicating copy to clipboard operation
marksman copied to clipboard

Wiki link to local file without a heading should not be dectected as "anbiguous" and error out.

Open unifreak opened this issue 7 months ago • 2 comments

(Firstly, thanks for this amazing software!)

Problem:

I'm using Emacs with Eglot. Say I have a file another-note.md, and when referencing it as [[another-note]], marksman will detect it as "ambiguous", when doing goto-definition on it, Emacs will open up a xref buffer showing a list of available headings for jump, instead of just open up that file.

This conflict with marksmans documentation here:

  • Wiki-links:
    Link to [[another-note]].
    Link to [[another-notes#heading]].
    Internal link to [[#a-heading]].

I also tried [[another-note.md]], [[another-note#]] , [[./another-note.md]], all are treated as "ambiguous".

The related issues might be: #177 #310 .

unifreak avatar Jul 02 '24 05:07 unifreak