mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-07 13:14:34 +08:00
14 lines
508 B
VimL
14 lines
508 B
VimL
" If not loading https://github.com/cakebaker/scss-syntax.vim
|
|
if !hlexists('scssNestedProperty')
|
|
silent! syntax clear scssDefinition
|
|
syntax region cssScssDefinition transparent matchgroup=cssBraces
|
|
\ contains=@ScssSyntax,cssScssDefinition
|
|
\ contained containedin=cssScssVueStyle
|
|
\ start="{" end="}"
|
|
|
|
" Extend to highlight all numbers in expression
|
|
syntax match cssValueNumber
|
|
\ /\W\zs\d\+\(\.\d\+\)\?%\?\ze\W/
|
|
\ contained containedin=cssScssDefinition
|
|
endif
|