Open
Description
Check if applicable
- I have searched the existing issues (required)
- I'm willing to help fix the problem and contribute a pull request
Describe the bug
When I manually invoke auto-completion, it won't provide any suggestions for inserting links.
Moreover, if using markdown style links, I still need to type [[
before the completion provider yields any results.
How to reproduce?
- Invoke your text editor's autocompletion
- You'll see no suggestions for inserting links
OR
- Configure your notebook to use markdown style links.
- Type
[
and (optionally) manually trigger autocompletion. - You'll see no suggestions for inserting links
The root cause here is the completion provider only yields results in the two preceding characters are [[
:
zk/internal/adapter/lsp/server.go
Line 647 in 4a51e39
zk configuration
[notebook]
dir = "~/zk"
[note]
filename = "{{id}}"
[format.markdown]
hashtags = true
link-format = "[{{title}}]({{rel-path}})"
[lsp.diagnostics]
dead-link = "error"
### Environment
```bash
zk-0.14.1-r2
system: Linux 6.10.3-0-edge x86_64 Linux