vim-vsnip-integ icon indicating copy to clipboard operation
vim-vsnip-integ copied to clipboard

[Announcement] If you use vim-vsnip-integ with nvim-lsp, You must add `snippetSupport=true` by your self.

Open hrsh7th opened this issue 5 years ago • 2 comments

hrsh7th avatar Nov 12 '20 12:11 hrsh7th

https://github.com/hrsh7th/vim-vsnip/issues/140

hrsh7th avatar Nov 12 '20 12:11 hrsh7th

Even with using this snippetSupport=true I don't get tabstops using nvim-lsp.

This is how it looks with LSC (how I'd expect it to work): Screenshot 2021-08-16 at 23 17 55@2x

This is how it looks with nvim-lsp: Screenshot 2021-08-16 at 23 20 59@2x


Edit: Setting capabilities = { textDocument = { completion = { completionItem = { snippetSupport = true } } } } as well fixed this issue for me 👍

jandamm avatar Aug 16 '21 21:08 jandamm