mirror of
https://github.com/posva/vim-vue.git
synced 2026-10-15 02:31:23 +08:00
Add babel support for lang
This commit is contained in:
1 parent
922f01c9a1
commit
092aac985f
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\s*\(type="text\/babel"\)\?>/ end="</script>" contains=@JS fold
|
||||
syntax region script keepend start=/<script\( lang="babel"\)\?\( 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