Fix operator error highlighting for = prefix

Fixes #20
This commit is contained in:
nfnty
2017-03-15 13:25:42 +01:00
parent aacf27d1a3
commit d1b4de242b
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ syn keyword pythonOperator and in is not or
if s:Enabled('g:python_highlight_operators')
syn match pythonOperator '\V=\|-\|+\|*\|@\|/\|%\|&\||\|^\|~\|<\|>\|!='
endif
syn match pythonError '[$?]\|\([-+@%&|^~]\)\1\{1,}\|\([=*/<>]\)\2\{2,}\|\([+=*@/%&|^~<>]\)\3\@![-+*@/%&|^~<>]\|-[+*@/%&|^~<]\|[<!>]\+=\{2,}\|!\{2,}=\+' display
syn match pythonError '[$?]\|\([-+@%&|^~]\)\1\{1,}\|\([=*/<>]\)\2\{2,}\|\([+*@/%&|^~<>]\)\3\@![-+*@/%&|^~<>]\|=[*@/%&|^<>]\|-[+*@/%&|^~<]\|[<!>]\+=\{2,}\|!\{2,}=\+' display
"
" Decorators (new in Python 2.4)