st3 updates

This commit is contained in:
Kelvin Sherlock
2018-09-03 15:07:18 -04:00
parent 39d08b4108
commit 43da41e734
9 changed files with 195 additions and 45 deletions
+10 -2
View File
@@ -14,13 +14,21 @@ contexts:
captures:
0: keyword.control
1: support.function
- match: '"'
scope: punctuation.definition.string.begin
push:
- meta_scope: string.quoted.double
- match: '"'
scope: punctuation.definition.string.end
pop: true
- match: \b(?i:rem)\b.*$
scope: comment.line
- match: \b(?i:rem)\b
push:
- meta_scope: comment.line
- match: '\n'
pop: true
- match: \d+
scope: constant.numeric
- match: \b(?i:CALL|END|FOR|GOSUB|GOTO|IF|NEXT|POP|RETURN|STEP|THEN|TO)\b