Replies: 3 comments
-
This seems to be an issue with your configuration so I moved it to a discussion. I use rustaceanvim personally, but maybe someone using rust-analyzer directly can post their configuration {
'mrcjkb/rustaceanvim',
ft = 'rust',
dependencies = { 'saghen/blink.cmp' },
init = function()
vim.g.rustaceanvim = {
server = {
capabilities = require('blink.cmp').get_lsp_capabilities(),
},
}
end,
}, |
Beta Was this translation helpful? Give feedback.
-
@esn89 I'm using
If you want to include the default nvim capabilities, you can pass |
Beta Was this translation helpful? Give feedback.
-
I got that capabilities part :) What's weirder now is that, between opening this issue and now, nothing has changed, but now the autocomplete is working the way it should! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Make sure you have done the following
blink.cmp
Bug Description
For LS like pyright, lua_ls and gopls autocomplete suggestions work.
Except rust-analyzer. Which I have installed via rustup.
Relevant configuration
:LspInfo:
Note: do not set
init_options
for this LS config, it will be automatically populated by the contents of settings["rust-analyzer"] perhttps://github.com/rust-lang/rust-analyzer/blob/eb5da56d839ae0a9e9f50774fa3eb78eb0964550/docs/dev/lsp-extensions.md?plain=1#L26.
neovim version
NVIM v0.10.2 Build type: Release LuaJIT 2.1.1720049189
blink.cmp
version: branch, tag, or commitv0.*
Beta Was this translation helpful? Give feedback.
All reactions