Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hrsh7th opened this issue Nov 12, 2020 · 2 comments

Comments

@hrsh7th
Copy link
Owner

hrsh7th commented Nov 12, 2020

No description provided.

@hrsh7th hrsh7th pinned this issue Nov 12, 2020
@hrsh7th hrsh7th changed the title [Announcement] If you use vim-vsnip-integ with nvim-lsp, You must be add snippetSupport=true by your self. [Announcement] If you use vim-vsnip-integ with nvim-lsp, You must add snippetSupport=true by your self. Nov 12, 2020
@hrsh7th
Copy link
Owner Author

hrsh7th commented Nov 12, 2020

hrsh7th/vim-vsnip#140

@jandamm
Copy link
Contributor

jandamm commented Aug 16, 2021

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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants