-
Contributing guidelines
Module(s)mini.completion, mini.snippets QuestionI'm trying to get snippets from LSP servers to work. I've got mini.snippets and mini.completion installed and setup. Keyword, Function, and Variable completions work but Snippet completions fail with this message:
I'm experimenting with completions from emmet-ls. I'm using nvim 10.4. Any help will be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
After looking at code, I couldn't find an obvious reason why this could happen. Could you please post the following information:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply. I will create a minimal example.
…On Sat, Mar 15, 2025, 16:25 Evgeni Chasnovski ***@***.***> wrote:
After looking at code, I couldn't find an obvious reason why this could
happen.
Could you please post the following information:
- All relevant parts of 'mini.completion' and 'mini.snippets' setups.
Like how exactly require('mini.xxx').setup() calls look.
- A setup you use to enable emmet-ls. Like a relevant
require('lspconfig') call or similar.
- An example of a file and key presses that you can (reliably)
reproduce the issue with emmet-ls. Like "Here is a content of a file (I
presume, html), place cursor here, start insert mode, type these keys,
accept this completion item".
—
Reply to this email directly, view it on GitHub
<#1681 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABQK7FMKSJMWFFY3I5ZM532USEDFAVCNFSM6AAAAABZCZY5C6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENJRGIYDCOI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I have attached the minimal configuration. Open a new file say "foo.html" and input mode type Activate the Snippet that pops up. That gives me the error. |
Beta Was this translation helpful? Give feedback.
-
@gbishop, this should now be resolved on latest |
Beta Was this translation helpful? Give feedback.
On
v0.10.4
, theresolved
on line 1122 is:On nightly, that same resolved is:
As there is no
err
key onv0.10.4
, on line 1123 the value becomesresolved.result
, which isnil
.@echasnovski, shall I write a PR?
EDIT:
See lsp.lua in Neovim from this commit on 20241024: