您的位置: 首页 > IT文章 > vim小技巧 vim小技巧 分类: IT文章 • 2025-01-09 16:49:26 1、自定义关键字及其高亮颜色设置: 自定义关键字“UINT8”, “UINT16”,并将他们归类为"ucosType"; :syn keyword ucosType UINT8 UINT16 设置“ucosType"关键字为内置“type”颜色配置(或自定义“ucosType"关键字前景颜色)。 :hi def link ucosType type(:hi ucosType ctermfg=Red) 任世间IDE百媚千红,我独爱你那一种