completion-nvim icon indicating copy to clipboard operation
completion-nvim copied to clipboard

Enable LSP client snippet capabilities when snippet integration is configured

Open clason opened this issue 5 years ago • 3 comments

Neovim just merged a PR (https://github.com/neovim/neovim/pull/13183) that sets capabilities.textDocument.completion.completionItem.snippetSupport = false by default.

Now users have to remember to enable it themselves; it would be convenient if completion-nvim set that capability automatically when integration of one of the supported snippet plugins is configured.

@runiq

clason avatar Oct 30 '20 15:10 clason

this only affects snippets from lsp server, right? no need to change anything if I'm using ultisnips.

smartding avatar Nov 08 '20 06:11 smartding

this only affects snippets from lsp server, right? no need to change anything if I'm using ultisnips.

Yes.

clason avatar Nov 08 '20 09:11 clason

This could be nice, I'll implement this when I have some spare time(not now, unfortunately:cry:)

haorenW1025 avatar Nov 20 '20 09:11 haorenW1025