mirror of
https://github.com/vim-python/python-syntax.git
synced 2026-10-02 00:13:47 +08:00
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
+1
-1
@@ -162,7 +162,7 @@ RuntimeWarning FutureWarning ImportWarning UnicodeWarning
|
||||
|
||||
and or in is not
|
||||
|
||||
- + * ** @ / // %
|
||||
- + * ** **- **+ **~ @ / // %
|
||||
& | ^ ~ << >>
|
||||
< <= == != >= >
|
||||
|
||||
|
||||
Reference in new issue
Block a user