Skip to content

Commit

Permalink
Added 'transform' keyword to default context
Browse files Browse the repository at this point in the history
  • Loading branch information
koroshiya committed Oct 6, 2015
1 parent 5112a3a commit f30848f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RenpyLanguage.JSON-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"repository": {
"default":{
"comment": "Default context",
"match": "\\b(image|define|persistent)\\b",
"match": "\\b(transform|image|define|persistent)\\b",
"name":"keyword.control.flow.renpy",
"patterns": [
{
Expand Down
4 changes: 2 additions & 2 deletions RenpyLanguage.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
<key>comment</key>
<string>Default context</string>
<key>match</key>
<string>\b(image|define|persistent)\b</string>
<string>\b(transform|image|define|persistent)\b</string>
<key>name</key>
<string>keyword.control.flow.renpy</string>
<key>patterns</key>
Expand Down Expand Up @@ -629,7 +629,7 @@
<array>
<dict>
<key>begin</key>
<string>^(\h*)\b(transform|image|scene|show)\b((\s+)(\w+))+(\s*)((\(.*\))(\s*))?:</string>
<string>^(\h*)(transform|image|scene|show)((\s+)(\w+))+(\s*)((\(.*\))(\s*))?:</string>
<key>beginCaptures</key>
<dict>
<key>2</key>
Expand Down
1 change: 1 addition & 0 deletions messages/1.1.10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Bugfixes:
Improvements:
-Python blocks & single line statements are now available in screen context
-Init blocks now include the default context
-Added transform keyword to default context

Changes:

Expand Down

0 comments on commit f30848f

Please sign in to comment.