Neovim LSP snippet completion support
Some LSPs in Neovim now provide snippet completion options. Here is what I see when I hit <Tab> on a slice in e.g. Go, using the gopls language server:
Selecting that completion option inserts the text directly. For example:
How can I expand the snippet from the LSP instead of just inserting the name of the snippet?
I think that needs explicit support from the plugin, as was done for Neosnippet or UltiSnips. I don't use Neovim, so I would need to set it up and understand how that completion works. It is likely that this not going to happen any time soon, unfortunately. PRs are welcome, of course.
Another option would be to look at some autocommand events recently added to Vim (such as CompleteChanged), and see if it is possible to hook into one of them to set the text in the buffer.