Skip to content

Commit

Permalink
fix: keyword highlighted when using snake case (#19)
Browse files Browse the repository at this point in the history
* fix: keyword highlighted when using snake case

Fixes #10
  • Loading branch information
LuqueDaniel authored Aug 13, 2021
1 parent 01f12fa commit 65dc0f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions syntaxes/renpy.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"name": "keyword.operator.assignment.python.renpy"
},
{
"match": "^\\s*(label)\\s*([a-zA-Z_][a-zA-Z_0-9]*)",
"match": "^\\s*(label)\\s+([a-zA-Z_][a-zA-Z_0-9]*)",
"captures": {
"1": { "name": "keyword.python.renpy" },
"2": {
Expand All @@ -138,7 +138,7 @@
}
},
{
"match": "^\\s*(menu)\\s*([a-zA-Z_][a-zA-Z_0-9]*)",
"match": "^\\s*(menu)\\s+([a-zA-Z_][a-zA-Z_0-9]*)",
"captures": {
"1": { "name": "keyword.python.renpy" },
"2": {
Expand All @@ -147,7 +147,7 @@
}
},
{
"match": "^\\s*(screen)\\s*([a-zA-Z_][a-zA-Z_0-9]*)",
"match": "^\\s*(screen)\\s+([a-zA-Z_][a-zA-Z_0-9]*)",
"captures": {
"1": { "name": "keyword.python.renpy" },
"2": {
Expand Down

0 comments on commit 65dc0f3

Please sign in to comment.