Add the highlight of Python arrow '->'
It adds the highlight of the arrow from the type hint system.
This commit is contained in:
@@ -11,6 +11,7 @@ syntax keyword pythonOdysseyBoolean True False
|
||||
syntax keyword pythonOdysseyBuiltin int float bool str bytes
|
||||
syntax keyword pythonOdysseySelf self
|
||||
syntax keyword pythonOdysseyPrint print
|
||||
syntax match pythonOdysseyArrow '->'
|
||||
syntax match pythonOdysseyFunction '\<\l\w*\>('me=e-1
|
||||
syntax match pythonOdysseyType '\<\u\w*\>'
|
||||
syntax keyword pythonStatement class nextgroup=pythonOdysseyClass skipwhite
|
||||
|
||||
@@ -302,6 +302,7 @@ call s:l( 'pythonOdysseyNone', 'Constant')
|
||||
call s:l( 'pythonOdysseyBoolean', 'Constant')
|
||||
call s:l( 'pythonOdysseyBuiltin', 'Type')
|
||||
call s:l( 'pythonOdysseyPrint', 'Function')
|
||||
call s:l( 'pythonOdysseyArrow', 'Keyword')
|
||||
call s:l( 'pythonInclude', 'Statement')
|
||||
call s:l('pythonOdysseyFunction', 'Function')
|
||||
call s:l( 'pythonOdysseySelf', 'Special')
|
||||
|
||||
Reference in New Issue
Block a user