Skip to content

Commit

Permalink
chore: fix comments behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeart committed Nov 1, 2021
1 parent 5b7bc85 commit 6219034
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-glimmer-syntax",
"displayName": "Glimmer Templates Syntax for VS Code",
"description": "Glimmer templates syntax",
"version": "2.0.0",
"version": "2.0.1",
"author": "Aleksandr Kanunnikov <[email protected]>",
"license": "MIT",
"publisher": "lifeart",
Expand Down Expand Up @@ -86,12 +86,14 @@
{
"injectTo": [
"source.js",
"source.ts"
"source.ts",
"source.gjs",
"source.gts"
],
"scopeName": "inline.template",
"path": "./syntaxes/inline-hbs.json",
"embeddedLanguages": {
"meta.embedded.block.html": "text.html.handlebars"
"meta.embedded.block.html": "handlebars"
}
}
],
Expand Down
3 changes: 3 additions & 0 deletions syntaxes/inline-hbs.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
},
{
"begin": "((createTemplate|hbs|html|precompileTemplate))(\\()",
"contentName": "meta.embedded.block.html",
"beginCaptures": {
"1": {
"name": "entity.name.function.ts"
Expand Down Expand Up @@ -95,6 +96,7 @@
{
"name": "meta.js.embeddedTemplateWithoutArgs",
"begin": "\\s*(<)(template)\\s*(>)",
"contentName": "meta.embedded.block.html",
"beginCaptures": {
"1": {
"name": "punctuation.definition.tag.html"
Expand Down Expand Up @@ -127,6 +129,7 @@
{
"name": "meta.js.embeddedTemplateWithArgs",
"begin": "(<)(template)",
"contentName": "meta.embedded.block.html",
"beginCaptures": {
"1": {
"name": "punctuation.definition.tag.html"
Expand Down

0 comments on commit 6219034

Please sign in to comment.