1 | 1 |
similarity index 83% |
2 | 2 |
rename from etc/usm.sublime-syntax |
3 | 3 |
rename to etc/tal.sublime-syntax |
... | ... |
@@ -11,7 +11,32 @@ scope: source.tal |
11 | 11 |
contexts: |
12 | 12 |
main: |
13 | 13 |
|
14 |
- # get/set |
|
14 |
+ # get |
|
15 |
+ - match: '\.(\S+)\sDEI2' |
|
16 |
+ scope: entity.name.type.typedef |
|
17 |
+ pop: true |
|
18 |
+ - match: '\.(\S+)\sDEI' |
|
19 |
+ scope: entity.name.type.typedef |
|
20 |
+ pop: true |
|
21 |
+ - match: '\.(\S+)\sLDZ2' |
|
22 |
+ scope: entity.name.type.typedef |
|
23 |
+ pop: true |
|
24 |
+ - match: '\.(\S+)\sLDZ' |
|
25 |
+ scope: entity.name.type.typedef |
|
26 |
+ pop: true |
|
27 |
+ - match: '\,(\S+)\sLDR2' |
|
28 |
+ scope: entity.name.type.typedef |
|
29 |
+ pop: true |
|
30 |
+ - match: '\,(\S+)\sLDR' |
|
31 |
+ scope: entity.name.type.typedef |
|
32 |
+ pop: true |
|
33 |
+ - match: '\;(\S+)\sLDA2' |
|
34 |
+ scope: constant.numeric |
|
35 |
+ pop: true |
|
36 |
+ - match: '\;(\S+)\sLDA' |
|
37 |
+ scope: constant.numeric |
|
38 |
+ pop: true |
|
39 |
+ # set |
|
15 | 40 |
- match: '\.(\S+)\sDEO2' |
16 | 41 |
scope: constant.numeric |
17 | 42 |
pop: true |
... | ... |
@@ -24,29 +49,16 @@ contexts: |
24 | 49 |
- match: '\.(\S+)\sSTZ' |
25 | 50 |
scope: constant.numeric |
26 | 51 |
pop: true |
27 |
- - match: '\.(\S+)\sLDA2' |
|
52 |
+ - match: '\,(\S+)\sSTR2' |
|
28 | 53 |
scope: constant.numeric |
29 | 54 |
pop: true |
30 |
- - match: '\.(\S+)\sLDA' |
|
55 |
+ - match: '\,(\S+)\sSTR' |
|
31 | 56 |
scope: constant.numeric |
32 | 57 |
pop: true |
33 |
- |
|
34 |
- - match: '\.(\S+)\sDEI2' |
|
35 |
- scope: entity.name.type.typedef |
|
36 |
- pop: true |
|
37 |
- - match: '\.(\S+)\sDEI' |
|
38 |
- scope: entity.name.type.typedef |
|
39 |
- pop: true |
|
40 |
- - match: '\.(\S+)\sLDZ2' |
|
41 |
- scope: entity.name.type.typedef |
|
42 |
- pop: true |
|
43 |
- - match: '\.(\S+)\sLDZ' |
|
44 |
- scope: entity.name.type.typedef |
|
45 |
- pop: true |
|
46 |
- - match: '\.(\S+)\sSTA2' |
|
58 |
+ - match: '\;(\S+)\sSTA2' |
|
47 | 59 |
scope: entity.name.type.typedef |
48 | 60 |
pop: true |
49 |
- - match: '\.(\S+)\sSTA' |
|
61 |
+ - match: '\;(\S+)\sSTA' |
|
50 | 62 |
scope: entity.name.type.typedef |
51 | 63 |
pop: true |
52 | 64 |
|