add sass syntax

This commit is contained in:
Hsiaoyi Hsu
2015-12-29 18:38:33 +08:00
parent fa9091030b
commit 37321e50c0

View File

@@ -31,4 +31,8 @@ syntax include @stylus syntax/stylus.vim
unlet b:current_syntax
syntax region stylus keepend start=/<style lang="[^"]*stylus[^"]*"\( \+scoped\)\?>/ end="</style>" contains=@stylus fold
syntax include @sass syntax/sass.vim
unlet b:current_syntax
syntax region sass keepend start=/<style\( \+scoped\)\? lang="sass"\( \+scoped\)\?>/ end="</style>" contains=@sass fold
let b:current_syntax = "vue"