Skip to content

An example or two for configuring rust-analyzer? #319

Answered by mrcjkb
jkaye2012 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey 👋

You shouldn't need to configure rust-analyzer to enable that.
But import on completion isn't natively supported by Neovim. You need a completion plugin for that.
For example, nvim-cmp with the cmp-nvim-lsp extension.
And you need to make sure you register the plugin's capabilities with the server.capabilities field.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jkaye2012
Comment options

@mrcjkb
Comment options

@Syphixs
Comment options

@jkaye2012
Comment options

Answer selected by jkaye2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
3 participants
Converted from issue

This discussion was converted from issue #318 on March 26, 2024 06:19.