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