diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-28 06:43:24 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-28 06:43:24 +0000 |
commit | 9bf3e3972d5a5dbbe7fa5614b3cb3cc3422b45ec (patch) | |
tree | 0ab1cd248f0911e9b3aacd73a559389886adc379 | |
parent | 9b4886ee55c4d13cf0f663fe0ee5e0cfacb39667 (diff) | |
download | external_llvm-9bf3e3972d5a5dbbe7fa5614b3cb3cc3422b45ec.zip external_llvm-9bf3e3972d5a5dbbe7fa5614b3cb3cc3422b45ec.tar.gz external_llvm-9bf3e3972d5a5dbbe7fa5614b3cb3cc3422b45ec.tar.bz2 |
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
-rw-r--r-- | utils/vim/vimrc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/vim/vimrc b/utils/vim/vimrc index 3ef54c0..fd87d76 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 |