Skip to content

Commit

Permalink
Fix #2091
Browse files Browse the repository at this point in the history
  • Loading branch information
octref committed Aug 4, 2020
1 parent 7d49906 commit 119add0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Load different `eslint-plugin-vue` rulesets depending on workspace vue version. #2015.
- Remove leading empty line in diagnostic errors. #2067.
- `"vetur.completion.tagCasing": "initial"` causes double tag completion. #2053.
- Allow `xml` in `vetur.grammar.customBlocks`. #2091.
- 🙌 Listen to JSON file changes for TypeScript resolveJsonModule support. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). #2095.
- 🙌 Follow user's config while resolving autoImport path. Thanks to contribution from [@hikerpig](https://github.com/hikerpig). #1177 and #1753.
- 🙌 Handle different tag casing when doing html definition. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). #2096.
Expand Down
3 changes: 2 additions & 1 deletion client/grammar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const SCOPES: { [lang: string]: string } = {
json: 'source.json',
php: 'source.php',
graphql: 'source.graphql',
liquid: 'text.html.liquid'
liquid: 'text.html.liquid',
xml: 'text.xml'
};

export function getGeneratedGrammar(grammarPath: string, customBlocks: { [k: string]: string }): string {
Expand Down

0 comments on commit 119add0

Please sign in to comment.