2019-01-28 22:12:37 +08:00
|
|
|
if exists('b:current_syntax')
|
2018-10-03 21:47:43 +08:00
|
|
|
finish
|
|
|
|
endif
|
2019-01-28 22:12:37 +08:00
|
|
|
let b:current_syntax = 'SpaceVimFindArgv'
|
2018-10-03 21:47:43 +08:00
|
|
|
syntax case ignore
|
|
|
|
|
2019-11-16 14:56:09 +08:00
|
|
|
syn match CMDFindArgvOpt /-[a-zA-Z0-9]*\ /
|
2018-10-03 21:47:43 +08:00
|
|
|
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
|