You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some errors show up when selecting snippets items from friendly-snippets:
For example, 'break' in the shell file:
error trace:
Debug: ~/.local/share/nvim/lazy/blink.cmp/lua/blink/cmp/sources/lib/init.lua:85 "failed to resolve item with error: ...m/lazy/blink.cmp/lua/blink/cmp/sources/snippets/init.lua:51: attempt to concatenate field 'description' (a table value)"
After some investigation, I found the cause: when formating documentation of snippets, we treat the description field of a snippet item as string by default but it could a list of string sometimes(see snippets for shell in friendly-snippets )
So I suppose we can join the description if it is a list of string instead of string ?
Some errors show up when selecting snippets items from friendly-snippets:
For example, 'break' in the shell file:
error trace:
Debug: ~/.local/share/nvim/lazy/blink.cmp/lua/blink/cmp/sources/lib/init.lua:85 "failed to resolve item with error: ...m/lazy/blink.cmp/lua/blink/cmp/sources/snippets/init.lua:51: attempt to concatenate field 'description' (a table value)"
nvim version: v0.10.0
blink.cmp: commit 526f786
The text was updated successfully, but these errors were encountered: