Add supports for Python builtin types

This commit is contained in:
Ludovic Koenig
2019-09-13 19:53:13 +02:00
parent a242c3e905
commit f3f7995cf6
2 changed files with 10 additions and 0 deletions
+4
View File
@@ -6,7 +6,11 @@
"
" Python Syntax {{{
syntax keyword pythonOdysseyNone None
syntax keyword pythonOdysseyBoolean True False
syntax keyword pythonOdysseyBuiltin int float bool str bytes
syntax keyword pythonOdysseySelf self
syntax keyword pythonOdysseyPrint print
syntax match pythonOdysseyFunction '\<\l\w*\>('me=e-1
syntax match pythonOdysseyType '\<\u\w*\>'
syntax keyword pythonStatement class nextgroup=pythonOdysseyClass skipwhite