Closed glepnir closed 4 years ago
Thank you for your report.
It's weird. I will investigate it...
Ah, I understood the reason.
I guess you update neovim recently. The latest neovim has breaking changes for snippet capability at https://github.com/neovim/neovim/pull/13183 .
I think it should support by vim-vsnip-integ automatically.
So I will create PR for it.
Ok i saw it...tj did not tag me, I ignored this pr
@glepnir Could you test with #33 ?
@hrsh7th Not fix..
@glepnir Sorry... I was overlooked it...
I think we can't register capability automatically.
Currently, nvim-lsp needs to register snippetSupport
in each users.
yep. I fixed in my custom lsp plugin.
Anyway Thanks. closed.
Some LSP client provides let g:***_snippet_enabled = v:true or v:false
but nvim-lsp doesn't.
vim-lsc https://github.com/natebosch/vim-lsc/blob/master/plugin/lsc.vim#L18
LanguageClient-neovim https://github.com/hrsh7th/vim-vsnip-integ/blob/master/autoload/vsnip_integ/integration/lcn.vim#L5
Thank you for your report!
Ok I will talk with tj about this. provide an option will be better.
Problem
@hrsh7th It works fine befor. just when I update the latest neovim and update plugins. lspsaga is my custom lsp plugin.maybe you can use nvim-lspconfig.
gopls config
env
preview: