/rust.vim

Vim configuration for Rust.

Primary LanguageVim Script

rust.vim

Description

This is a vim plugin that provides Rust file detection and syntax highlighting.

Installation

Using Vundle

  1. Add Plugin 'rust-lang/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 for more details.

Using Pathogen

  1. cd ~/.vim/bundle
  2. git clone https://github.com/rust-lang/rust.vim.git

Using NeoBundle

  1. Add NeoBundle 'rust-lang/rust.vim' to ~/.vimrc
  2. Re-open vim or execute :NeoBundleInstall