This is a vim plugin 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/bundlegit clone https://github.com/rust-lang/rust.vim.git