Auto completion for note-titles with spaces #135
-
Hi! First of all thanks for the plug-in and the cli tool. It's great! One pain point I have is when using in-line completions, writing a space breaks the completion making it imposible to link to my notes. Additionally I have notes with rather long and descriptive titles so the issue becomes more noticeable. Of course I can always insert links by using the provided function that launches telescope in my case but:
How do you guys do it? How do you configure nvim-cmp so the space don't break the completion? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
That's a limitation of the LSP client (e.g. Neovim). Usually they only auto-complete tokens so a space interrupts the completion. However you don't need to add spaces, you can just write everything attached and even omit part of the words:
I think you should be able to provide your own Telescope options by passing a