Skip to content

Rust autocomplete not working #235

@adilJamshad

Description

@adilJamshad

Describe the bug
After following TJ's YouTube tutorial, I successfully installed neovim and rustup, along with rust-analyzer using mason. When I open a Rust file, all errors are immediately visible. However, I am not able to access any autocompletion features while typing in Rust, despite it working for TypeScript and Lua.

To Reproduce
Steps to reproduce the behavior:

  1. run nvim test.rs
  2. now type anything in the editor and the autocompletion won't work.

Desktop (please complete the following information):

  • OS: windows 10
  • Terminal: ubuntu 22.04 (using wsl)

** Neovim Version **
NVIM v0.8.3

  • Output of running :version from inside of neovim:

:LspInfo says that the rust analyzer is working. But I do not get any autocompletion for rust.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions