diff --git a/after/syntax/python.vim b/after/syntax/python.vim index d238452..3b08bf0 100644 --- a/after/syntax/python.vim +++ b/after/syntax/python.vim @@ -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 diff --git a/colors/odyssey.vim b/colors/odyssey.vim index 06d5ca4..99971c1 100644 --- a/colors/odyssey.vim +++ b/colors/odyssey.vim @@ -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')