vue syntax highlighting colours
This commit is contained in:
parent
4d6b2c9680
commit
1573ec1203
|
@ -252,15 +252,16 @@ hi! def link jsParenRepeat CRAltBright
|
|||
" vue definitions
|
||||
hi! vueDirective ctermfg=88
|
||||
hi! vueEvent ctermfg=160
|
||||
hi! vueConditional ctermfg=202
|
||||
hi! vueConditional ctermfg=208
|
||||
hi! def link vueFor vueConditional
|
||||
hi! vueRef ctermfg=214
|
||||
hi! def link vueRef vueDirective
|
||||
|
||||
hi! vueDirectiveValue ctermfg=52
|
||||
hi! vueDirectiveValue ctermfg=52
|
||||
hi! def link vueEventValue vueDirectiveValue
|
||||
hi! def link vueConditionalValue vueDirectiveValue
|
||||
hi! def link vueForValue vueConditionalValue
|
||||
hi! def link vueRefValue vueRef
|
||||
" hi! def link vueRefValue vueRef
|
||||
hi! vueRefValue ctermfg=202
|
||||
|
||||
" json definitions
|
||||
hi! def link jsonKeyword Identifier
|
||||
|
|
|
@ -57,6 +57,8 @@ syn region vueSurroundingTag contained start=+<\(script\|style\|template\)+ e
|
|||
syn keyword htmlSpecialTagName contained template
|
||||
syn keyword htmlArg contained scoped ts
|
||||
|
||||
syn keyword vueComponentTag contained template containedin=htmlSpecialTagName
|
||||
|
||||
syn match vueDirective "[v:][-:.0-9_a-z]*" containedin=htmlTag nextgroup=vueDirectiveValue
|
||||
syn match vueEvent "[@][-:.0-9_a-z]*" containedin=htmlTag nextgroup=vueEventValue
|
||||
syn match vueConditional "v-else" containedin=htmlTag
|
||||
|
|
Loading…
Reference in New Issue