Skip to content

Commit

Permalink
feat: allow multiline strings
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Jan 9, 2025
1 parent d3a7475 commit a2d583f
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions syntaxes/noir.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,15 @@
},
"strings": {
"name": "string.quoted.double.nr",
"match": "\"(.*?)(\n|(?<!\\\\)\")",
"captures": {
"1": {
"patterns": [
{
"name": "constant.character.escape.nr",
"match": "\\\\."
}
]
}
}
"begin": "\"",
"end": "\"",
"patterns": [{
"include": "#escapes"
}]
},
"escapes": {
"name": "constant.character.escape.nr",
"match": "\\\\."
},
"numeric": {
"patterns": [
Expand Down

0 comments on commit a2d583f

Please sign in to comment.