mirror of
https://github.com/python/cpython
synced 2024-09-15 23:57:10 +00:00
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.
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue