mirror of
https://github.com/vim-python/python-syntax.git
synced 2025-12-06 20:54:31 +08:00
@@ -102,7 +102,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)
|
||||
|
||||
@@ -117,6 +117,8 @@ and or in is not
|
||||
-= += *= **= @= /= //= %=
|
||||
&= |= ^= ~= <<= >>=
|
||||
|
||||
->
|
||||
|
||||
# Erroneous operators
|
||||
|
||||
$ ?
|
||||
|
||||
Reference in New Issue
Block a user