Shougo / neosnippet.vim

neo-snippet plugin
Other
1.12k stars 108 forks source link

Error when trying to complete empty snippet from Language server #462

Closed rraks closed 5 years ago

rraks commented 5 years ago

When i try to expand snippet for a deoplete suggestion which does not have a snippet, I get the following error message. It would be nice if neosnippet just ignored empty snippet.

Error detected while processing function neosnippet#mappings#expand_or_jump_impl[1]..neosnippet#mappings#_trigger[8]..neosnippet#mappings#expandable_or_jumpable[1]..neosnippet#mappings#expandable[2]..neosnippet#mappings#completed_expandab le[5]..63_get_completed_snippets[13]..neosnippet#parser#_get_completed_snippet: line 23: E474: Attempt to decode a blank string

Shougo commented 5 years ago

Please use the latest version of neosnippet.