Fix Python tab error highlighting

This commit is contained in:
Kenneth Benzie 2016-09-11 14:42:56 +01:00
parent 2a159c8f5b
commit 48e53ccd0c

View File

@ -15,9 +15,9 @@ setlocal textwidth=0
" 'O' in Normal mode.
setlocal formatoptions+=cro
" Set up highlighting of tabs
highlight BadWhitespace ctermbg=red guibg=red
match BadWhitespace /^\t\+/
" Highlight erroneous tabs
syn match pythonTabError '\t\+'
hi pythonTabError ctermbg=red guibg=red
" Set up file encoding
setlocal encoding=utf-8