@@ -19,6 +19,10 @@ repository:
19
19
match : " (?i)\\ b(SIX|TEN|FORMFEED|NINE|ZERO|NONE|SPACE|FOUR|FALSE|COLON|CRLF|PI|COMMA|ENDOFFILE|EOF|EIGHT|FIVE|QUOTE|EMPTY|ONE|TRUE|((?<=\\ w\\ s)RETURN)|CR|LINEFEED|RIGHT|BACKSLASH|NULL|SEVEN|TAB|THREE|TWO)\\ b"
20
20
name : " constant.language.livecodescript"
21
21
}
22
+ {
23
+ match : " \\ bk[A-Z]{1}.*?\\ b"
24
+ name : " constant.language.livecodescript"
25
+ }
22
26
]
23
27
language :
24
28
patterns : [
@@ -55,7 +59,7 @@ repository:
55
59
' name' : ' comment.line.livecodescript'
56
60
}
57
61
{
58
- match : " \\ b(after|byte(s)*|codepoint(s)*|codeunit(s)*|english|segment(s)*|sentence(s)*|paragraph|the|trueWord(s)*|until|word(s)*|http|forever|descending|using|line|real8|with|seventh|for|stdout|finally|element|word|fourth|before|black|ninth|sixth|characters|chars|stderr|uInt(1|1s|2|2s)|stdin|string|lines|relative|rel|any|fifth|items|from|middle|mid|at|else|of|catch|then|third|it|file|milli(seconds|second|secs|sec)|int(1|1s|4|4s|ernet|2|2s)|normal|text|item|last|long|detailed|effective|uInt4|uInt4s|se(conds|cond|cs|c)|repeat|end\\ s+repeat|URL|in|end\\ s+try|into|switch|end\\ s+switch|to|words|https|token|binfile|each|tenth|as|ticks|tick|system|real4|by|dateItems|without|cha(r|racter)|ascending|eighth|whole|dateTime|numeric|short|first|ftp|integer|abbreviated|abb(r|rev)|private|case|while|if|end\\ s+if)\\ b"
62
+ match : " \\ b(after|byte(s)*|codepoint(s)*|codeunit(s)*|english|segment(s)*|sentence(s)*|paragraph|the|trueWord(s)*|until|word(s)*|http|forever|descending|using|line|real8|with|seventh|for|stdout|finally|element|word|fourth|before|black|ninth|sixth|characters|chars|stderr|uInt(1|1s|2|2s)|stdin|string|lines|relative|rel|any|fifth|items|from|middle|mid|at|else|of|catch|then|third|it|file|milli(seconds|second|secs|sec)|int(1|1s|4|4s|ernet|2|2s)|normal|text|item|last|long|detailed|effective|uInt4|uInt4s|se(conds|cond|cs|c)|repeat|end\\ s+repeat|URL|in|end\\ s+try|into|switch|end\\ s+switch|to|words|https|token|binfile|each|tenth|as|ticks|tick|system|real4|by|dateItems|without|cha(r|racter)|ascending|eighth|whole|dateTime|numeric|short|first|ftp|integer|abbreviated|abb(r|rev)|private|case|default| while|if|end\\ s+if)\\ b"
59
63
name : " keyword.control.livecodescript"
60
64
}
61
65
{
@@ -165,29 +169,17 @@ repository:
165
169
}
166
170
]
167
171
var_global :
168
- captures :
169
- " 1" :
170
- name : " punctuation.definition.variable.livecodescript"
171
- match : " \\ b(g)[A-Z]{1}.*?\\ b"
172
+ match : " \\ bg[A-Z]{1}.*?\\ b"
172
173
name : " variable.other.global.livecodescript"
173
174
var_local :
174
- captures :
175
- " 1" :
176
- name : " punctuation.definition.variable.livecodescript"
177
- match : " \\ b(t|the)[A-Z]{1}.*?\\ b"
178
- name : " variable.other.global.livecodescript"
175
+ match : " \\ bt[he]*[A-Z]{1}.*?\\ b"
176
+ name : " variable.other.local.livecodescript"
179
177
var_parameter :
180
- captures :
181
- " 1" :
182
- name : " punctuation.definition.variable.livecodescript"
183
- match : " \\ b(p)[A-Z]{1}.*?\\ b"
184
- name : " variable.parameter.livecodescript"
178
+ match : " \\ bp[A-Z]{1}.*?\\ b"
179
+ name : " variable.other.param.livecodescript"
185
180
var_scriptLocal :
186
- captures :
187
- " 1" :
188
- name : " punctuation.definition.variable.livecodescript"
189
- match : " \\ b(s)[A-Z]{1}.*?\\ b"
190
- name : " variable.other.global.livecodescript"
181
+ match : " \\ bs[A-Z]{1}.*?\\ b"
182
+ name : " variable.other.scriptlocal.livecodescript"
191
183
var_server :
192
184
match : " \\ $_[A-Z]+"
193
185
name : " variable.other.server.livecodescript"
0 commit comments