Skip to content

Commit

Permalink
Merge pull request #4 from JohnEarnest/master
Browse files Browse the repository at this point in the history
Update keyword list to reflect the 'pitch := vx' instruction
  • Loading branch information
mattmikolay authored Sep 14, 2021
2 parents 789842e + 149a6e0 commit 38406e3
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 @@ -64,7 +64,7 @@ patterns:

- comment: Statement keywords (standard)
name: keyword.other.octo
match: (?<=^|\s)(?:clear|bcd|save|load|sprite|hex|random|delay|key|-key|buzzer|native)(?=$|\s)
match: (?<=^|\s)(?:clear|bcd|save|load|sprite|hex|random|delay|pitch|key|-key|buzzer|native)(?=$|\s)

- comment: Statement keywords (SCHIP)
name: keyword.other.octo
Expand Down
2 changes: 1 addition & 1 deletion Octo.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
<key>comment</key>
<string>Statement keywords (standard)</string>
<key>match</key>
<string>(?&lt;=^|\s)(?:clear|bcd|save|load|sprite|hex|random|delay|key|-key|buzzer|native)(?=$|\s)</string>
<string>(?&lt;=^|\s)(?:clear|bcd|save|load|sprite|hex|random|delay|pitch|key|-key|buzzer|native)(?=$|\s)</string>
<key>name</key>
<string>keyword.other.octo</string>
</dict>
Expand Down

0 comments on commit 38406e3

Please sign in to comment.