summaryrefslogtreecommitdiffstats
path: root/Misc/Vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'Misc/Vim/vimrc')
-rw-r--r--Misc/Vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/Vim/vimrc b/Misc/Vim/vimrc
index fc00b9e..c398cca 100644
--- a/Misc/Vim/vimrc
+++ b/Misc/Vim/vimrc
@@ -43,7 +43,7 @@ highlight BadWhitespace ctermbg=red guibg=red
" Display tabs at the beginning of a line in Python mode as bad.
au BufRead,BufNewFile *.py,*.pyw match BadWhitespace /^\t\+/
" Make trailing whitespace be flagged as bad.
-au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/
+au BufRead,BufNewFile *.py,*.pyw,*.c,*.h,*.rst match BadWhitespace /\s\+$/
" Wrap text after a certain number of characters
" Python: 79