Skip to content

Syntax Highlighting in VI Editor

amuxtux edited this page Oct 22, 2012 · 1 revision

After cloning rust source locate rust/src/etc/vim directory

  • copy all of the content of this directory to ~/.vim
  • create ~/.vimrc file with following lines

syntax on

filetype plugin indent on


now if you open any .rs file in vi, it should show you syntax highlighting.

All Categories:

Clone this wiki locally