Skip to content

Commit

Permalink
fix(syntax): string interpolation regex crashed when holding spacebar (
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Lieben authored Feb 26, 2018
1 parent ac71258 commit e864c5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntaxes/html.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
],
"repository": {
"string.interpolation.html.au": {
"match": "(\\${)(((?!\\${).|\\s)*)(})",
"match": "(\\${)(.*)(})",
"captures": {
"1": {
"name": "punctuation.definition.string.interpolation.start"
},
"2": {
"name": "meta.string.interpolation"
},
"4": {
"3": {
"name": "punctuation.definition.string.interpolation.end"
}
}
Expand Down

0 comments on commit e864c5e

Please sign in to comment.