Closed iago-lito closed 2 years ago
What's your coc-rust-analyzer version? You can get it from :CocList extensions
.
Try :CocUpdate
.
I have coc-rust-analyzer 0.54.0
according to :CocList extensions
, and the situation is the same after :PlugUpgrade
, :PlugUpdate
then :CocUpdate
. I'm also still getting this
"rust-analyzer.completion.snippet": { Property rust-analyzer.completion.snippet is not allowed.
lint when editing my cocsettings.json
:\
Does the following help?
vim version: NVIM v0.5.1
node version: v16.11.1
coc.nvim version: 0.0.80-03c9add7cd
coc.nvim directory: /opt/vim.plugged/coc.nvim
term: xterm-256color
platform: linux
Can't reproduce this, the rust-analyzer.completion.snippet
is added in 0.53.0 release, and can be set in coc-settings.json
.
Uh-oh. That is weird. I'll try reinstalling the extension..
Wops, okay, this was just a typo: completion.snippet
should be completion.snippets
ssSS with an S at the end. I think the reason is that I didn't get the autocompletion on this option's name when I first tried to enjoy the option.. maybe before 0.53
was out. Sorry for bothering ;)
I like this new feature from rust-analyzer: https://github.com/rust-analyzer/rust-analyzer/pull/10458 (also described here). But it seems I cannot enjoy it for now because there is no
rust-analyzer.completion.snippet
in the coc extension. Is this something easy to add? Or is it more engaged?