pwnvim
pwnvim copied to clipboard
Cannot see autocomplete
Hello @pwnwriter,
I'm playing with your repo to discover nvim. But I don't understand why I cannot see any autocomplete for anything. Here is an example in rust.
I tried to follow keys defined in lua/core/mappings.lua and in lua/plugins/cmp.lua, but it does nothing.
When I start typing use rand:: nothing appears. It's the same in INSERT and NORMAL mode and with the CTRL+SPACE bind either.
Do you have any idea of what I'm doing wrong ?
Thank you for your help
Hey, thanks for the issue
Auto completion fairly works on my machine.
A few things to notice and try debugging,
/lua/plugins/servers.luahas some configuration for a list of lsp severs I use. For rust, it usesrustupto invoke therust-analyzer.- Check if rustup is installed or not if not install and then install rust-analyzer using rustup itself.
rustup component add rust-analyzerI'm using stable rust . You should be able to change between nightly beta or stable from the servers.lua file.
Hello !
Thank you so much for your help, it works better when rust-analyser is installed \o/