-
Notifications
You must be signed in to change notification settings - Fork 145
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
zk lsp fails with custom link-format
#264
Comments
I can't reproduce this error, using the [note]
template = "default.md"
filename = "{{id}}"
[format.markdown]
link-format = "[{{title}}]({{path}})" Maybe check that the directory containing |
The completion works for me as well (and seems to be the only action lsp-wise that works) but This is the config I am using: [note]
language = "en"
filename = "{{date now '%Y-%m-%d'}}-{{slug title}}"
template = "default.md"
id-charset = "hex"
id-length = 5
id-case = "lower"
[group.journal]
paths = ["inbox", "journal"]
[group.journal.note]
filename = "{{date now '%Y-%m-%d'}}-{{id}}"
extension = "md"
template = "journal.md"
[format.markdown]
hashtags = true
colon-tags = true
# link-format = "wiki"
# link-format = "[[{{filename}}]]"
link-format = "[{{title}}]({{path}})"
link-encode-path = true
link-drop-extension = true |
I've found that it works as intended with So if I have a file that I'm working on in ...
[Another File](../journal/<another-file.md>)
... Just to clarify, what doesn't work for me is using ...
[Another File](journal/<another-file.md>) <!-- zk: not found -->
... In your setup are you seeing any distinctions between the two |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Version: zk 0.11.1-3-g404ef9d
Until recently I've been using the above settings and have had no issues in neovim with the lsp configuration.
However, after changing the link-format to
"[{{title}}]({{path}})"
I get error "zk: not found".Launching the zk binary and specifying a log location doesn't seem to show anything helpful to diagnose this, the handler for
textDocument/definition
just prints 'null'.1a05a04#commitcomment-77337988 suggests that this shouldn't be an issue for zk to be able to resolve, so I'm not sure what the cause is. This may be related to #250.
Can you provide any guidance if there is some other setting I may need to modify? Happy to provide any additional information as needed.
The text was updated successfully, but these errors were encountered: