|
@@ -477,6 +477,10 @@ if s:Enabled("g:python_highlight_exceptions")
|
477
|
477
|
syn keyword pythonExClass ImportWarning UnicodeWarning
|
478
|
478
|
endif
|
479
|
479
|
|
|
480
|
+syn keyword pythonConvention self
|
|
481
|
+syn keyword pythonConvention cls
|
|
482
|
+
|
|
483
|
+
|
480
|
484
|
if s:Enabled("g:python_slow_sync")
|
481
|
485
|
syn sync minlines=2000
|
482
|
486
|
else
|
|
@@ -562,6 +566,8 @@ if version >= 508 || !exists("did_python_syn_inits")
|
562
|
566
|
|
563
|
567
|
HiLink pythonExClass Structure
|
564
|
568
|
|
|
569
|
+ HiLink pythonConvention Define
|
|
570
|
+
|
565
|
571
|
delcommand HiLink
|
566
|
572
|
endif
|
567
|
573
|
|