mirror of
https://github.com/posva/vim-vue.git
synced 2026-10-07 20:54:48 +08:00
support <script type="text/babel">
This commit is contained in:
1 parent
4adfb9ba99
commit
1df472d227
1 file changed
+1
-1
+1
-1
@@ -42,7 +42,7 @@ endif
|
||||
|
||||
syntax include @JS syntax/javascript.vim
|
||||
unlet b:current_syntax
|
||||
syntax region script keepend start=/<script>/ end="</script>" contains=@JS fold
|
||||
syntax region script keepend start=/<script\s*\(type="text\/babel"\)\?>/ end="</script>" contains=@JS fold
|
||||
|
||||
if s:syntaxes.coffee
|
||||
syntax include @COFFEE syntax/coffee.vim
|
||||
|
||||
Reference in new issue
Block a user