mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-02-15 14:41:56 +08:00
Keep backward compatible for use_sass option
This commit is contained in:
@@ -206,6 +206,15 @@ syntax region cssScssVueStyle fold
|
|||||||
\ start=+<style[^>]*lang=["']scss["'][^>]*>+
|
\ start=+<style[^>]*lang=["']scss["'][^>]*>+
|
||||||
\ end=+</style>+
|
\ end=+</style>+
|
||||||
\ keepend contains=@ScssSyntax,vueTag
|
\ keepend contains=@ScssSyntax,vueTag
|
||||||
|
|
||||||
|
" Backward compatiable for `use_sass` option
|
||||||
|
if s:use_sass && !s:use_scss
|
||||||
|
syntax region cssScssVueStyle fold
|
||||||
|
\ start=+<style[^>]*lang=["']scss["'][^>]*>+
|
||||||
|
\ end=+</style>+
|
||||||
|
\ keepend contains=@SassSyntax,vueTag
|
||||||
|
endif
|
||||||
|
|
||||||
syntax region cssStylusVueStyle fold
|
syntax region cssStylusVueStyle fold
|
||||||
\ start=+<style[^>]*lang=["']stylus["'][^>]*>+
|
\ start=+<style[^>]*lang=["']stylus["'][^>]*>+
|
||||||
\ end=+</style>+
|
\ end=+</style>+
|
||||||
|
|||||||
Reference in New Issue
Block a user