Skip to content

Commit

Permalink
fixes modifier highlighting to recognise camel and snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
evoactivity committed Feb 3, 2024
1 parent 0381197 commit 312fb20
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion syntaxes/source.gjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@
},
"glimmer-control-expression": {
"name": "entity.expression.ember-handlebars",
"begin": "({{~?)(([-a-z/]+)\\s)",
"begin": "({{~?)(([-a-zA-Z_0-9/]+)\\s)",
"end": "(~?}})",
"captures": {
"1": {
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/source.gts.json
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@
},
"glimmer-control-expression": {
"name": "entity.expression.ember-handlebars",
"begin": "({{~?)(([-a-z/]+)\\s)",
"begin": "({{~?)(([-a-zA-Z_0-9/]+)\\s)",
"end": "(~?}})",
"captures": {
"1": {
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/src/text.html.ember-handlebars.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ export default {
},
'glimmer-control-expression': {
name: 'entity.expression.ember-handlebars',
begin: '({{~?)(([-a-z/]+)\\s)',
begin: '({{~?)(([-a-zA-Z_0-9/]+)\\s)',
end: '(~?}})',
captures: {
1: {
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/text.html.ember-handlebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@
},
"glimmer-control-expression": {
"name": "entity.expression.ember-handlebars",
"begin": "({{~?)(([-a-z/]+)\\s)",
"begin": "({{~?)(([-a-zA-Z_0-9/]+)\\s)",
"end": "(~?}})",
"captures": {
"1": {
Expand Down

0 comments on commit 312fb20

Please sign in to comment.