Fix Python tab error highlighting
This commit is contained in:
parent
2a159c8f5b
commit
48e53ccd0c
@ -15,9 +15,9 @@ setlocal textwidth=0
|
|||||||
" 'O' in Normal mode.
|
" 'O' in Normal mode.
|
||||||
setlocal formatoptions+=cro
|
setlocal formatoptions+=cro
|
||||||
|
|
||||||
" Set up highlighting of tabs
|
" Highlight erroneous tabs
|
||||||
highlight BadWhitespace ctermbg=red guibg=red
|
syn match pythonTabError '\t\+'
|
||||||
match BadWhitespace /^\t\+/
|
hi pythonTabError ctermbg=red guibg=red
|
||||||
|
|
||||||
" Set up file encoding
|
" Set up file encoding
|
||||||
setlocal encoding=utf-8
|
setlocal encoding=utf-8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user