Merge pull request #36 from ptiza/python-patch

Improve Python syntax highlighting
This commit is contained in:
patstockwell
2021-09-18 23:05:09 +10:00
committed by GitHub

View File

@@ -488,7 +488,11 @@ call Highlight("GitGutterChangeDelete", s:orange, s:none, s:none)
" Python
call Highlight("pythonBuiltin", s:light_blue, s:none, s:none)
call Highlight("pythonBuiltinFunc", s:light_blue, s:none, s:none)
call Highlight("pythonFunction", s:light_green, s:none, s:none)
call Highlight("pythonClass", s:light_green, s:none, s:none)
call Highlight("pythonFunctionCall", s:light_blue, s:none, s:none)
call Highlight("pythonClassVar", s:orange, s:none, s:italic)
call Highlight("pythonExClass", s:light_blue, s:none, s:italic)
hi link pythonTripleQuotes Comment
hi link pythonDoctest Comment
hi link pythonDoctest2 Comment