[nvim] add proper highlighting for keyword operators in Python
This commit is contained in:
parent
527936e3b3
commit
01a6ac0aef
|
@ -0,0 +1,4 @@
|
|||
syn clear pythonOperator
|
||||
syn match pythonOperator '\V=\|-\|+\|*\|@\|/\|%\|&\||\|^\|~\|<\|>\|!='
|
||||
syn keyword pythonOperatorKeyword and in is not or
|
||||
syn cluster pythonExpression add=pythonOperatorKeyword
|
|
@ -341,9 +341,10 @@
|
|||
" }}}
|
||||
|
||||
" Python {{{
|
||||
hi! link pythonBuiltinType Type
|
||||
hi! link pythonBuiltinObj pythonFunction
|
||||
hi! link pythonClassVar Variable
|
||||
hi! link pythonBuiltinType Type
|
||||
hi! link pythonBuiltinObj pythonFunction
|
||||
hi! link pythonClassVar Variable
|
||||
hi! link pythonOperatorKeyword Keyword
|
||||
" }}}
|
||||
|
||||
" Ruby {{{
|
||||
|
|
Loading…
Reference in New Issue