From: Bill Wendling Date: Thu, 28 Feb 2013 06:43:24 +0000 (+0000) Subject: Enable syntax highlighting for reStructuredText files. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9bf3e3972d5a5dbbe7fa5614b3cb3cc3422b45ec;p=oota-llvm.git Enable syntax highlighting for reStructuredText files. Patch by Journeyer J. Joh! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176235 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/vim/vimrc b/utils/vim/vimrc index 3ef54c08cfe..fd87d767d6f 100644 --- a/utils/vim/vimrc +++ b/utils/vim/vimrc @@ -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