This is a vim plugin that provides Rust file detection and syntax highlighting.
Using Vundle
- Add
Plugin 'rust-lang/rust.vim'
to~/.vimrc
vim +PluginInstall +qall
Note: Vundle will not automatically detect Rust files properly if filetype on
is executed before Vundle. Please check the quickstart for more
details.
Using Pathogen
cd ~/.vim/bundle
git clone https://github.com/rust-lang/rust.vim.git
Using NeoBundle
- Add
NeoBundle 'rust-lang/rust.vim'
to~/.vimrc
- Re-open vim or execute
:NeoBundleInstall