Skip to content

Commit

Permalink
fix(gml) don't match string chars one by one
Browse files Browse the repository at this point in the history
  • Loading branch information
thennothinghappened committed Dec 15, 2024
1 parent bb1789f commit 0a00d16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/languages/gml.js
Original file line number Diff line number Diff line change
Expand Up @@ -1170,14 +1170,14 @@ export default function(hljs) {
variants: [
{
begin: /\$"/,
end: "\"",
end: /\"/,
beginScope: "string",
endScope: "string",
contains: [
STRING_ESCAPE,
STRING_SUBSTITUTION,
{
match: /[^\n"{]/,
match: /[^\n"{\\]+/,
scope: "string"
}
]
Expand Down

0 comments on commit 0a00d16

Please sign in to comment.