Open dnwe opened 5 years ago
You may need https://github.com/SirVer/ultisnips and https://github.com/ncm2/ncm2-ultisnips to handle placeholders.
I installed ultisnips & ncm2-ultisnips. Placeholder(function parameter expansion) works well with gocode, but failed after migrating to gopls
Hi, I am using autozimu/LanguageClient-neovim@1ffab7ef19e2acae6f32c6f3a27581429d28e47b (v0.1.155)
It isn't obvious how to combine the following to have completion insertion automatically populate with placeholders. I have a settings.json for gopls that enables the
usePlaceholders
experimental function as per gopls/doc/settings.md and I can see from the LanguageClient.log (and also the servergopls -log
) that this is being passed to gopls via'workspace/didChangeConfiguration'
. However, I don't see any change in behaviour from ncm2 when I accept a completion:~/.config/nvim/init.vim
~/.config/nvim/settings.json
Am I misunderstanding how this feature is intended to be used? Using the same settings.json option for placeholders in VSCode is working as expected.