Skip to content

Commit

Permalink
Better syntax highlighting for raw strings
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Jan 9, 2025
1 parent 0f6a8e6 commit 314c5dd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions syntaxes/noir.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,21 @@
}
]
},
{
"name": "string.quoted.double.nr",
"begin": "r(#*)\"",
"end": "\"(\\1)",
"beginCaptures": {
"1": {
"name": "string.quoted.byte.raw.nr"
}
},
"endCaptures": {
"1": {
"name": "string.quoted.byte.raw.nr"
}
}
},
{
"name": "string.interpolated.nr",
"begin": "f\"",
Expand Down

0 comments on commit 314c5dd

Please sign in to comment.