Skip to content

Commit

Permalink
Merge pull request #579 from Goldenlion5648/master
Browse files Browse the repository at this point in the history
add format placeholders to vscode syntax
  • Loading branch information
DanielGavin authored Jan 13, 2025
2 parents d22499b + d26a19b commit 42ce5bd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions editors/vscode/syntaxes/odin.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,14 @@
"name": "constant.character.escape.odin",
"match": "\\\\(\\\\|[abefnrutv''\"]|x\\h{2}|u\\h{4}|U\\h{8}|[0-7]{3})"
},
{
"name": "constant.character.escape.placeholders.odin",
"match": "%(v|w|T|%|t|b|c|r|o|d|i|z|x|X|U|e|E|f|F|g|G|h|H|m|M|s|q|x|X|p|p|s)"
},
{
"name": "constant.character.escape.placeholders-floats.odin",
"match": "%(\\d*\\.?\\d*f)"
},
{
"name": "invalid.illegal.unknown-escape.odin",
"match": "\\\\."
Expand Down

0 comments on commit 42ce5bd

Please sign in to comment.