hrsh7th / nvim-cmp

A completion plugin for neovim coded in Lua.
MIT License
7.88k stars 393 forks source link

nvim-cmp for rust-analyzer not working on kickstart #1871

Open cirqueira-labs opened 6 months ago

cirqueira-labs commented 6 months ago

I made a fresh install of neovim and kickstart and I tried configure the rust-analyzer LSP I've tried using Mason Install, manul config (tjdevries VOD with bashbunni) in init.lua and 'mrcjkb/rustaceanvim' I have all rust / rustup / cargo bin installed But, doesnt work completions for Rust For Lua it's looking great thanks for help @hrsh7th and folkes regards

xzbdmw commented 5 months ago

run :LspInfo

Llnski commented 5 months ago

Same Issue.

Log returns


 Language client log: /root/.local/state/nvim/lsp.log
 Detected filetype:   rust

 1 client(s) attached to this buffer: 

 Client: rust_analyzer (id: 1, bufnr: [1])
    filetypes:       rust
    autostart:       true
    root directory:  /root/Documents/RustProjects
    cmd:             /root/.local/share/nvim/mason/bin/rust-analyzer
xzbdmw commented 5 months ago

/root/Documents/RustProjects

It seems not a folder containing cargo.toml