diff --git a/grammars/renpy.cson b/grammars/renpy.cson index b2155b6..192a221 100644 --- a/grammars/renpy.cson +++ b/grammars/renpy.cson @@ -126,7 +126,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" @@ -134,7 +134,7 @@ 'name' : "entity.name.section.python.renpy.label.renpy" } { - '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" @@ -142,7 +142,7 @@ 'name' : "entity.name.section.python.renpy.menu.renpy" } { - '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" @@ -1591,4 +1591,4 @@ { 'include': '#string_quoted_single' } - ] \ No newline at end of file + ] diff --git a/package.json b/package.json index 4a1ac28..9951b8c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "language-renpy", "main": "./lib/main", - "version": "2.6.0", + "version": "2.6.1", "engines": { "atom": "*", "node": "*"