This is a vim plugin provides Rust file detection and syntax highlighting.
It is synchronized daily to the vim support code in mozilla/rust's master branch via cronjob.
Using Vundle
- Add
Bundle 'wting/rust.vim'
to~/.vimrc
vim +BundleInstall +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 git://github.com/wting/rust.vim.git