Skip to content

Commit

Permalink
Merge branch 'main' of github.com:iddar/gbnf-highlighter
Browse files Browse the repository at this point in the history
  • Loading branch information
iddar committed Feb 16, 2024
2 parents 8b50732 + 30ff681 commit 4000a95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntaxes/gbnf.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"repository": {
"variables": {
"name": "variable.language",
"match": "\\b[a-zA-Z_][a-zA-Z_0-9]*\\b(?=\\s*::=)"
"match": "\\b[a-zA-Z\-][a-zA-Z\-0-9]*\\b(?=\\s*::=)"
},
"assignment": {
"name": "keyword.operator.assignment",
Expand All @@ -31,7 +31,7 @@
},
"identifiers": {
"name": "variable.identifier",
"match": "\\b[a-zA-Z_][a-zA-Z_0-9]*\\b"
"match": "\\b[a-zA-Z\-][a-zA-Z\-0-9]*\\b"
},
"comments": {
"name": "comment.line",
Expand Down

0 comments on commit 4000a95

Please sign in to comment.