deoplete-rust icon indicating copy to clipboard operation
deoplete-rust copied to clipboard

No syntax nor completion

Open refacto opened this issue 7 years ago • 7 comments

I've installed deoplete-rust like the README said I should, and deoplete works, I used full paths for the racer binary and the rust source, but now I'm getting no synatx highlighting nor completion in rust source files.

CheckHealth.txt

:CheckHealth reports nothing wrong, and here's my ~/.config/nvim/init.vim:

init.vim

Deoplete and rust work independently.

refacto avatar Aug 25 '17 16:08 refacto

Your nvim config looks legit.

What is the output of /home/azarus/.cargo/bin/racer --version and ls -l /home/azarus/.cargo/bin/racer? Are you sure the rust source resides in /home/azarus/devel/rust/src?

sebastianmarkow avatar Aug 25 '17 17:08 sebastianmarkow

$ /home/azarus/.cargo/bin/racer --version
racer 2.0.10
$ ls -l /home/azarus/.cargo/bin/racer
-rwxr-xr-x 1 azarus azarus 46210008 Aug 25 00:03 /home/azarus/.cargo/bin/racer

And yes, rust src is present in the given location. Running racer works fine, with export RUST_SRC_PATH=/home/azarus/devel/rust/src

refacto avatar Aug 25 '17 18:08 refacto

I think I have same problem. Autocompletion isn't work, but I can view documentation, jump to definition.

AlexNav73 avatar Oct 07 '17 16:10 AlexNav73

I think I solved this by installing rust-lang/rust.vim.

refacto avatar Oct 13 '17 09:10 refacto

I'm using vim instead nvim, other languages work fine except rust. There is syntax highlight and docs works fine, but no completion, any idea what's the problem?

FrontMage avatar Jan 17 '18 04:01 FrontMage

I'm experimenting this issue too.

I can use keymapping but autocomplete it's not triggered.

  • racer 2.0.13

yriveiro avatar May 12 '18 14:05 yriveiro

https://github.com/w0rp/ale/issues/1592#issuecomment-390090257

I had this issue and found out I was using rls on stable and that screwed things up. Hope this helps someone

JuanPotato avatar May 18 '18 04:05 JuanPotato