Skip to content

Commit

Permalink
Add wait and lookup commands for #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Antyos committed Aug 19, 2021
1 parent 961a623 commit f38a3c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion syntaxes/mlog.yaml-tmlanguage
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,10 @@ repository:
match: '@[A-Za-z\-]+\b'

commands:
# See: https://github.com/Anuken/Mindustry/blob/master/core/src/mindustry/logic/LStatements.java
patterns:
- name: support.function.mlog
match: \b(read|write|draw|print|drawflush|printflush|getlink|control|radar|sensor|ubind|ucontrol|uradar|ulocate)\b
match: \b(read|write|draw|print|drawflush|printflush|getlink|control|radar|sensor|ubind|ucontrol|uradar|ulocate|wait|lookup)\b
- name: keyword.control.end.mlog
match: \bend\b
- name: keyword.control.jump.mlog
Expand Down

0 comments on commit f38a3c7

Please sign in to comment.