mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-09 06:04:46 +08:00
11 lines
364 B
VimL
11 lines
364 B
VimL
silent! syntax clear sassDefinition
|
|
syntax region sassDefinition matchgroup=cssBraces
|
|
\ contains=@SassSyntax,sassDefinition
|
|
\ contained containedin=sassVueStyle
|
|
\ start="{" end="}"
|
|
|
|
" Extend to highlight all numbers in expression
|
|
syntax match cssValueNumber
|
|
\ /\W\zs\d\+\(\.\d\+\)\?%\?\ze\W/
|
|
\ contained containedin=sassDefinition
|