mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:40:05 +08:00
15 lines
448 B
VimL
15 lines
448 B
VimL
|
if exists("b:current_syntax")
|
||
|
finish
|
||
|
endif
|
||
|
let b:current_syntax = "SpaceVimFindArgv"
|
||
|
syntax case ignore
|
||
|
|
||
|
syn match CMDFindArgvOpt /-[a-zA-Z]*\ /
|
||
|
syn match CMDFindSecArgvOpt /^\s\+[a-z]\s\+/
|
||
|
syn match CMDFindArgvDesc /\(-[a-zA-Z0-1]*\ \)\@<=.*/
|
||
|
syn match CMDFindSecArgvDesc /\(^\s\+[a-z]\s\+\)\@<=.*/
|
||
|
hi def link CMDFindArgvOpt Number
|
||
|
hi def link CMDFindSecArgvOpt Number
|
||
|
hi def link CMDFindArgvDesc Comment
|
||
|
hi def link CMDFindSecArgvDesc Comment
|