From 51b18f8b907aaaad524368404a057c570b64dee0 Mon Sep 17 00:00:00 2001 From: Esdras Mayrink Date: Sat, 11 Mar 2017 17:11:06 -0300 Subject: [PATCH] Fix TS support Just add an attribute to the script tag, like this: lang="typescript" confundes the webpack loader --- syntax/vue.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/vue.vim b/syntax/vue.vim index 80b330f..a41fa22 100644 --- a/syntax/vue.vim +++ b/syntax/vue.vim @@ -54,7 +54,7 @@ syntax include @TS syntax/typescript.vim if exists("b:current_syntax") unlet b:current_syntax endif -syntax region typescript keepend matchgroup=Delimiter start=// end="" contains=@TS fold +syntax region typescript keepend matchgroup=Delimiter start=/" contains=@TS fold if s:syntaxes.coffee syntax include @COFFEE syntax/coffee.vim