Add the highlight of Python arrow '->'

It adds the highlight of the arrow from the type hint system.
This commit is contained in:
Ludovic Koenig
2019-09-13 20:03:21 +02:00
parent f3f7995cf6
commit 404dcbb172
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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