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

NVIM Marksman cmp lists and works with local wikistyle heading [[#anchor]] anchors, but not with path style anchor refrenchong [title](./file.md#anchor)... #298

Open
MikeLemo1 opened this issue Feb 18, 2024 · 2 comments

Comments

@MikeLemo1
Copy link

Just like the title says I am able to cmp list and action on local style wiki link [[#anchor]] but whe using
title it doesn't list nor action on the link

Tested with: ++gd++ ++gf++ ++shift+k++ etc...

as on the nvim installation I've just auto installed and loaded marksmen using :Mason

Any idea what went wrong on the way?

@bcvanmeurs
Copy link

Yeah having the same issue here, gd works for local headings, but not for external links.

@bcvanmeurs
Copy link

I figured out that in my case it doesn't work because I am using a git worktree. When I am in a 'normal' git repo it does just work.

With the worktree I get this in the LSP logs:

[ERROR][2024-03-27 13:21:02] .../vim/lsp/rpc.lua:734 "rpc" "/Users/bcvanmeurs/.local/share/nvim/mason/bin/marksman" "stderr" '[13:21:02 WRN] Workspace folder is bogus: {"root": "RootPath (AbsPath \"/Users/bcvanmeurs/repos/project-x/main\")"}\n'

in which project-x is the bare git repo and main is a worktree.

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