aboutsummaryrefslogtreecommitdiffstats
path: root/utils/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'utils/vim/vimrc')
-rw-r--r--utils/vim/vimrc7
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