Skip to content

Commit

Permalink
Add support for :call command
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmikolay committed Jun 23, 2019
1 parent c72ddff commit 69b5d6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Octo.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ patterns:

- comment: Control flow keywords
name: keyword.control.octo
match: (?<=^|\s)(?:return|if|then|begin|else|end|loop|again|while|jump|jump0|\;)(?=$|\s)
match: (?<=^|\s)(?:return|if|then|begin|else|end|loop|again|while|jump|jump0|\:call|\;)(?=$|\s)

- comment: alias and const directives
name: storage.type.octo
Expand Down
2 changes: 1 addition & 1 deletion Octo.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<key>comment</key>
<string>Control flow keywords</string>
<key>match</key>
<string>(?&lt;=^|\s)(?:return|if|then|begin|else|end|loop|again|while|jump|jump0|\;)(?=$|\s)</string>
<string>(?&lt;=^|\s)(?:return|if|then|begin|else|end|loop|again|while|jump|jump0|\:call|\;)(?=$|\s)</string>
<key>name</key>
<string>keyword.control.octo</string>
</dict>
Expand Down

0 comments on commit 69b5d6b

Please sign in to comment.