瀏覽代碼

Add default italic style for type annotation

 * It is recommended to override it in colorschemes.
Joongi Kim 7 年之前
父節點
當前提交
f5284a836c
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      syntax/python.vim

+ 3
- 0
syntax/python.vim 查看文件

@@ -631,6 +631,9 @@ if version >= 508 || !exists("did_python_syn_inits")
631 631
   HiLink pythonType             Special
632 632
 
633 633
   delcommand HiLink
634
+
635
+  " default style for custom highlight group (may be overriden in colors)
636
+  hi Optional gui=italic cterm=italic
634 637
 endif
635 638
 
636 639
 let b:current_syntax = "python"