mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:20:05 +08:00
387288fc01
close #3214
15 lines
451 B
VimL
15 lines
451 B
VimL
if exists('b:current_syntax')
|
|
finish
|
|
endif
|
|
let b:current_syntax = 'SpaceVimFindArgv'
|
|
syntax case ignore
|
|
|
|
syn match CMDFindArgvOpt /-[a-zA-Z0-9]*\ /
|
|
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
|