Open Forsigg opened 4 months ago
Hey, I have the same behavior but with LSP completions. I try with the marksman LPS server and I got:
@rogedelgado Hey! I've pushing PR that fixed this bug - #1833 You can fix local before its merged
@rogedelgado Hey! I've pushing PR that fixed this bug - #1833 You can fix local before its merged
Thanks @Forsigg, I will try this ASAP
FAQ
Announcement
Minimal reproducible full config
Description
Hello! I apologize in advance for my English. I've installed the Luasnip plugin, write my own snippets for python. Then, I started work in neovim, try to use my snippets, but while I navigating through menu for select snippet neovim crash with that error:![изображение](https://github.com/hrsh7th/nvim-cmp/assets/88813689/9b149ce8-78d8-4ad9-935d-e93bee744195)
I've try to find solution, but is none. This is my snippet:
After debugging nvim-cmp plugin I found that description from my plugin in lua code not string as expected. Its a table (array) with one element - string with description.
Steps to reproduce
luasnip.lsp_expand
require('luasnip.loaders.from_vscode').load({paths = "~/path/to/snippets"})
:LuaSnipListAvailable
)Expected behavior
Description as string. In JSON its string
Actual behavior
Description - table (array) with one element - string
Additional context
I fixed that in my local machine. Next step after that Issue I create PR with fix