diff --git a/readme.md b/readme.md index dcdfd85..d60fd9c 100644 --- a/readme.md +++ b/readme.md @@ -38,6 +38,20 @@ Currently only `eslint` is available. Please make sure `eslint` and npm i -g eslint eslint-plugin-vue ``` +## Typescript support + +You can use typescript by adding one of the following attributes/values to +your component's script tag: + +```html + + + +``` + +Choose one that works with your module bundler + + ## Contributing If your language is not getting highlighted open an issue or a PR with the fix. diff --git a/syntax/vue.vim b/syntax/vue.vim index b4eceda..e1ce96b 100644 --- a/syntax/vue.vim +++ b/syntax/vue.vim @@ -31,7 +31,7 @@ endif syntax include @HTML syntax/html.vim unlet! b:current_syntax -syntax region html keepend start=/^