|
@@ -153,7 +153,7 @@ syn keyword pythonStatement lambda
|
153
|
153
|
syn keyword pythonStatement with
|
154
|
154
|
syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite
|
155
|
155
|
syn keyword pythonRepeat for while
|
156
|
|
-syn keyword pythonConditional if elif else
|
|
156
|
+syn keyword pythonConditional if elif else else:
|
157
|
157
|
syn keyword pythonImport import
|
158
|
158
|
syn keyword pythonException try except finally
|
159
|
159
|
syn keyword pythonOperator and in is not or
|
|
@@ -365,9 +365,9 @@ else
|
365
|
365
|
|
366
|
366
|
syn match pythonNumberError "\<\d\+\D\>" display
|
367
|
367
|
syn match pythonNumberError "\<0\d\+\>" display
|
368
|
|
- syn match pythonNumber "\<\d\>" display
|
369
|
|
- syn match pythonNumber "\<[1-9]\d\+\>" display
|
370
|
|
- syn match pythonNumber "\<\d\+[jJ]\>" display
|
|
368
|
+ syn match pythonNumber "\<\d\:\=\>" display
|
|
369
|
+ syn match pythonNumber "\<[1-9]\d\+\:\=\>" display
|
|
370
|
+ syn match pythonNumber "\<\d\+[jJ]\:\=\>" display
|
371
|
371
|
|
372
|
372
|
syn match pythonOctError "\<0[oO]\=\o*[8-9]\d*\>" display
|
373
|
373
|
syn match pythonBinError "\<0[bB][01]*[2-9]\d*\>" display
|