mirror of
https://github.com/vim-python/python-syntax.git
synced 2025-12-07 13:14:36 +08:00
@@ -114,7 +114,7 @@ endif
|
||||
"
|
||||
syn keyword pythonOperator and in is not or
|
||||
if s:Enabled('g:python_highlight_operators')
|
||||
syn match pythonOperator '\V=\|-\|+\|*\|@\|/\|%\|&\||\|^\|~\|<\|>\|!='
|
||||
syn match pythonOperator '\V=\|-\|+\|*\|@\|/\|%\|&\||\|^\|~\|<\|>\|!=\|:='
|
||||
endif
|
||||
syn match pythonError '[$?]\|\([-+@%&|^~]\)\1\{1,}\|\([=*/<>]\)\2\{2,}\|\([+@/%&|^~<>]\)\3\@![-+*@/%&|^~<>]\|\*\*[*@/%&|^<>]\|=[*@/%&|^<>]\|-[+*@/%&|^~<]\|[<!>]\+=\{2,}\|!\{2,}=\+' display
|
||||
|
||||
|
||||
@@ -182,7 +182,7 @@ and or in is not
|
||||
< <= == != >= >
|
||||
|
||||
= =- =+ =~
|
||||
-= += *= **= @= /= //= %=
|
||||
-= += *= **= @= /= //= %= :=
|
||||
&= |= ^= ~= <<= >>=
|
||||
|
||||
->
|
||||
|
||||
Reference in New Issue
Block a user