Trailing whitespace is bad for .rst files.
This commit is contained in:
parent
61b14251d3
commit
767a0f86c0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue