Enable syntax highlighting for reStructuredText files.
authorBill Wendling <isanbard@gmail.com>
Thu, 28 Feb 2013 06:43:24 +0000 (06:43 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 28 Feb 2013 06:43:24 +0000 (06:43 +0000)
Patch by Journeyer J. Joh!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176235 91177308-0d34-0410-b5e6-96231b3b80d8

utils/vim/vimrc

index 3ef54c08cfe1b43182b1a3010cf228711199e208..fd87d767d6f414adde0356b4dd77611af894b7ce 100644 (file)
@@ -85,6 +85,13 @@ augroup filetype
   au! BufRead,BufNewFile *.td     set filetype=tablegen
 augroup END
 
   au! BufRead,BufNewFile *.td     set filetype=tablegen
 augroup END
 
+" Enable syntax highlighting for reStructuredText files. To use, copy
+" rest.vim (http://www.vim.org/scripts/script.php?script_id=973)
+" to ~/.vim/syntax .
+augroup filetype
+ au! BufRead,BufNewFile *.rst     set filetype=rest
+augroup END
+
 " Additional vim features to optionally uncomment.
 "set showcmd
 "set showmatch
 " Additional vim features to optionally uncomment.
 "set showcmd
 "set showmatch