mirror of
https://github.com/posva/vim-vue.git
synced 2025-12-07 18:14:26 +08:00
Fix JavaScript highlighting
This commit is contained in:
@@ -56,7 +56,7 @@ syntax include @JS syntax/javascript.vim
|
|||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
unlet b:current_syntax
|
unlet b:current_syntax
|
||||||
endif
|
endif
|
||||||
syntax region javascript keepend start=/<script\( lang="babel"\)\?\( type="text\/babel"\)\?>/ end="</script>" contains=@JS fold
|
syntax region javascript keepend matchgroup=Delimiter start=/<script\( lang="babel"\)\?\( type="text\/babel"\)\?>/ end="</script>" contains=@JS fold
|
||||||
|
|
||||||
if s:syntaxes.coffee
|
if s:syntaxes.coffee
|
||||||
syntax include @COFFEE syntax/coffee.vim
|
syntax include @COFFEE syntax/coffee.vim
|
||||||
|
|||||||
Reference in New Issue
Block a user