[llvm] r176235 - Enable syntax highlighting for reStructuredText files.
Bill Wendling
isanbard at gmail.com
Wed Feb 27 22:43:24 PST 2013
Author: void
Date: Thu Feb 28 00:43:24 2013
New Revision: 176235
URL: http://llvm.org/viewvc/llvm-project?rev=176235&view=rev
Log:
Enable syntax highlighting for reStructuredText files.
Patch by Journeyer J. Joh!
Modified:
llvm/trunk/utils/vim/vimrc
Modified: llvm/trunk/utils/vim/vimrc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/vim/vimrc?rev=176235&r1=176234&r2=176235&view=diff
==============================================================================
--- llvm/trunk/utils/vim/vimrc (original)
+++ llvm/trunk/utils/vim/vimrc Thu Feb 28 00:43:24 2013
@@ -85,6 +85,13 @@ augroup filetype
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
More information about the llvm-commits
mailing list