1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:30:03 +08:00
SpaceVim/syntax/SpaceVimFindArgv.vim
2019-11-16 14:56:09 +08:00

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