Kaydet (Commit) 767a0f86 authored tarafından Brett Cannon's avatar Brett Cannon

Trailing whitespace is bad for .rst files.

üst 61b14251
...@@ -43,7 +43,7 @@ highlight BadWhitespace ctermbg=red guibg=red ...@@ -43,7 +43,7 @@ highlight BadWhitespace ctermbg=red guibg=red
" Display tabs at the beginning of a line in Python mode as bad. " Display tabs at the beginning of a line in Python mode as bad.
au BufRead,BufNewFile *.py,*.pyw match BadWhitespace /^\t\+/ au BufRead,BufNewFile *.py,*.pyw match BadWhitespace /^\t\+/
" Make trailing whitespace be flagged as bad. " 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 " Wrap text after a certain number of characters
" Python: 79 " Python: 79
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment