mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Add plugins for Rust support.
This commit is contained in:
30
sources_non_forked/rust.vim/README.md
Normal file
30
sources_non_forked/rust.vim/README.md
Normal file
@ -0,0 +1,30 @@
|
||||
# rust.vim
|
||||
|
||||
## Description
|
||||
|
||||
This is a vim plugin provides [Rust][r] file detection and syntax highlighting.
|
||||
|
||||
It is synchronized daily to the vim support code in [rust-lang/rust][rr]'s
|
||||
master branch via cronjob.
|
||||
|
||||
## Installation
|
||||
|
||||
### Using [Vundle][v]
|
||||
|
||||
1. Add `Plugin 'wting/rust.vim'` to `~/.vimrc`
|
||||
2. `vim +PluginInstall +qall`
|
||||
|
||||
*Note:* Vundle will not automatically detect Rust files properly if `filetype
|
||||
on` is executed before Vundle. Please check the [quickstart][vqs] for more
|
||||
details.
|
||||
|
||||
### Using [Pathogen][p]
|
||||
|
||||
1. `cd ~/.vim/bundle`
|
||||
2. `git clone https://github.com/wting/rust.vim.git`
|
||||
|
||||
[rr]: https://github.com/rust-lang/rust
|
||||
[p]: https://github.com/tpope/vim-pathogen
|
||||
[r]: https://en.wikipedia.org/wiki/Rust_language
|
||||
[v]: https://github.com/gmarik/vundle
|
||||
[vqs]: https://github.com/gmarik/vundle#quick-start
|
Reference in New Issue
Block a user