Search code examples
vimrustvundle

Rust autocomplete doesn't work in Vim


I installed Rust and the Rust vim plugin, but autocomplete does not work.

  • I'm using a nightly version of Rust (rustc 1.10.0-dev (992bb1332 2016-05-12).
  • I used Vundle to install the plugin
  • I'm running Debian GNU/Linux sid

.vimrc

set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

Plugin 'VundleVim/Vundle.vim'
Plugin 'mattn/vim-particle'
Plugin 'davidhalter/jedi-vim'
Plugin 'rust-lang/rust.vim'

call vundle#end()            " required
filetype plugin indent on    " required

Why is autocomplete not working?


Solution

  • The Rust vim plugin doesn't support autocomplete. YouCompleteMe has autocomplete for Rust (powered by racer).