github-linguist 4.8.0 → 4.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/source.assembly.json +121 -0
- data/grammars/source.gdscript.json +102 -7
- data/grammars/source.papyrus.skyrim.json +1328 -0
- data/grammars/source.pawn.json +736 -0
- data/grammars/source.perl6fe.json +1 -1
- data/grammars/source.puppet.json +47 -101
- data/grammars/source.renpy.json +2 -2
- data/grammars/source.shell.json +2 -1
- data/grammars/source.terra.json +146 -0
- data/grammars/source.toml.json +24 -1
- data/grammars/source.yaml.json +1 -0
- data/grammars/text.html.vue.json +0 -1
- data/lib/linguist/blob.rb +1 -1
- data/lib/linguist/heuristics.rb +1 -1
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +35 -12
- data/lib/linguist/lazy_blob.rb +1 -0
- data/lib/linguist/repository.rb +3 -0
- data/lib/linguist/samples.json +634 -157
- data/lib/linguist/shebang.rb +2 -2
- data/lib/linguist/version.rb +1 -1
- metadata +11 -19
- data/grammars/source.asm.x86.json +0 -182
- data/grammars/source.autoit.3.json +0 -132
- data/grammars/source.clips.json +0 -80
- data/grammars/source.compiled-papyrus.json +0 -11
- data/grammars/source.idris.json +0 -537
- data/grammars/source.inno.json +0 -69
- data/grammars/source.nix.json +0 -1200
- data/grammars/source.papyrus-assembly.json +0 -266
- data/grammars/source.papyrus.json +0 -231
- data/grammars/source.plsql.oracle.json +0 -642
- data/grammars/source.scad.json +0 -152
- data/grammars/text.html.creole.json +0 -329
data/lib/linguist/shebang.rb
CHANGED
@@ -42,10 +42,10 @@ module Linguist
|
|
42
42
|
return unless script
|
43
43
|
|
44
44
|
# "python2.6" -> "python2"
|
45
|
-
script.sub!
|
45
|
+
script.sub!(/(\.\d+)$/, '')
|
46
46
|
|
47
47
|
# #! perl -> perl
|
48
|
-
script.sub!
|
48
|
+
script.sub!(/^#!\s*/, '')
|
49
49
|
|
50
50
|
# Check for multiline shebang hacks that call `exec`
|
51
51
|
if script == 'sh' &&
|
data/lib/linguist/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-linguist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.8.
|
4
|
+
version: 4.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: charlock_holmes
|
@@ -165,19 +165,19 @@ dependencies:
|
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: 0.2.1
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
168
|
+
name: licensed
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- -
|
171
|
+
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
173
|
+
version: '0'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- -
|
178
|
+
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
180
|
+
version: '0'
|
181
181
|
description: We use this library at GitHub to detect blob languages, highlight code,
|
182
182
|
ignore binary files, suppress generated files in diffs, and generate language breakdown
|
183
183
|
graphs.
|
@@ -213,11 +213,10 @@ files:
|
|
213
213
|
- grammars/source.apl.json
|
214
214
|
- grammars/source.applescript.json
|
215
215
|
- grammars/source.apt.json
|
216
|
-
- grammars/source.asm.x86.json
|
217
216
|
- grammars/source.asp.json
|
218
217
|
- grammars/source.aspectj.json
|
218
|
+
- grammars/source.assembly.json
|
219
219
|
- grammars/source.ats.json
|
220
|
-
- grammars/source.autoit.3.json
|
221
220
|
- grammars/source.awk.json
|
222
221
|
- grammars/source.befunge.json
|
223
222
|
- grammars/source.bf.json
|
@@ -244,13 +243,11 @@ files:
|
|
244
243
|
- grammars/source.cirru.json
|
245
244
|
- grammars/source.clarion.json
|
246
245
|
- grammars/source.click.json
|
247
|
-
- grammars/source.clips.json
|
248
246
|
- grammars/source.clojure.json
|
249
247
|
- grammars/source.cm.json
|
250
248
|
- grammars/source.cmake.json
|
251
249
|
- grammars/source.cobol.json
|
252
250
|
- grammars/source.coffee.json
|
253
|
-
- grammars/source.compiled-papyrus.json
|
254
251
|
- grammars/source.cool.json
|
255
252
|
- grammars/source.coq.json
|
256
253
|
- grammars/source.crystal.json
|
@@ -307,10 +304,8 @@ files:
|
|
307
304
|
- grammars/source.hy.json
|
308
305
|
- grammars/source.idl-dlm.json
|
309
306
|
- grammars/source.idl.json
|
310
|
-
- grammars/source.idris.json
|
311
307
|
- grammars/source.inform7.json
|
312
308
|
- grammars/source.ini.json
|
313
|
-
- grammars/source.inno.json
|
314
309
|
- grammars/source.io.json
|
315
310
|
- grammars/source.ioke.json
|
316
311
|
- grammars/source.isabelle.root.json
|
@@ -369,7 +364,6 @@ files:
|
|
369
364
|
- grammars/source.nimcfg.json
|
370
365
|
- grammars/source.ninja.json
|
371
366
|
- grammars/source.nit.json
|
372
|
-
- grammars/source.nix.json
|
373
367
|
- grammars/source.nmml.json
|
374
368
|
- grammars/source.nsis.json
|
375
369
|
- grammars/source.objc++.json
|
@@ -386,17 +380,16 @@ files:
|
|
386
380
|
- grammars/source.opencobol.json
|
387
381
|
- grammars/source.ox.json
|
388
382
|
- grammars/source.oz.json
|
389
|
-
- grammars/source.papyrus
|
390
|
-
- grammars/source.papyrus.json
|
383
|
+
- grammars/source.papyrus.skyrim.json
|
391
384
|
- grammars/source.parrot.pir.json
|
392
385
|
- grammars/source.pascal.json
|
386
|
+
- grammars/source.pawn.json
|
393
387
|
- grammars/source.perl.6.json
|
394
388
|
- grammars/source.perl.json
|
395
389
|
- grammars/source.perl6fe.json
|
396
390
|
- grammars/source.php.zephir.json
|
397
391
|
- grammars/source.pig_latin.json
|
398
392
|
- grammars/source.pike.json
|
399
|
-
- grammars/source.plsql.oracle.json
|
400
393
|
- grammars/source.po.json
|
401
394
|
- grammars/source.pogoscript.json
|
402
395
|
- grammars/source.pony.json
|
@@ -432,7 +425,6 @@ files:
|
|
432
425
|
- grammars/source.sas_log.json
|
433
426
|
- grammars/source.sass.json
|
434
427
|
- grammars/source.sbt.json
|
435
|
-
- grammars/source.scad.json
|
436
428
|
- grammars/source.scala.json
|
437
429
|
- grammars/source.scaml.json
|
438
430
|
- grammars/source.scheme.json
|
@@ -456,6 +448,7 @@ files:
|
|
456
448
|
- grammars/source.systemverilog.json
|
457
449
|
- grammars/source.tcl.json
|
458
450
|
- grammars/source.tea.json
|
451
|
+
- grammars/source.terra.json
|
459
452
|
- grammars/source.thrift.json
|
460
453
|
- grammars/source.toml.json
|
461
454
|
- grammars/source.ts.json
|
@@ -494,7 +487,6 @@ files:
|
|
494
487
|
- grammars/text.html.asp.json
|
495
488
|
- grammars/text.html.basic.json
|
496
489
|
- grammars/text.html.cfm.json
|
497
|
-
- grammars/text.html.creole.json
|
498
490
|
- grammars/text.html.django.json
|
499
491
|
- grammars/text.html.elixir.json
|
500
492
|
- grammars/text.html.erb.json
|
@@ -1,182 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"fileTypes": [
|
3
|
-
"asm",
|
4
|
-
"s"
|
5
|
-
],
|
6
|
-
"name": "x86 Assembly",
|
7
|
-
"patterns": [
|
8
|
-
{
|
9
|
-
"match": "[;#].*$",
|
10
|
-
"name": "comment.line"
|
11
|
-
},
|
12
|
-
{
|
13
|
-
"begin": "^\\s*[\\#%]\\s*if\\s+0\\b",
|
14
|
-
"end": "^\\s*[\\#%]\\s*endif\\b",
|
15
|
-
"name": "comment.preprocessor"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"begin": "/\\*",
|
19
|
-
"end": "\\*/",
|
20
|
-
"name": "comment.block"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"match": "(?i)\\b(dword|qword|tword|db|dw|dd|dq|dt|do|dy|resb|resw|resd|resq|rest|reso|resy|incbin|equ|times)\\b",
|
24
|
-
"name": "support.type.asm"
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"match": "\\.(data|bss|text)$",
|
28
|
-
"name": "string.section"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"begin": "[\"']",
|
32
|
-
"beginCaptures": {
|
33
|
-
"0": {
|
34
|
-
"name": "punctuation.definition.string.begin.asm"
|
35
|
-
}
|
36
|
-
},
|
37
|
-
"end": "[\"']",
|
38
|
-
"endCaptures": {
|
39
|
-
"0": {
|
40
|
-
"name": "punctuation.definition.string.end.asm"
|
41
|
-
}
|
42
|
-
},
|
43
|
-
"name": "string.quoted.asm",
|
44
|
-
"patterns": [
|
45
|
-
{
|
46
|
-
"include": "#string_escaped_char"
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"include": "#string_placeholder"
|
50
|
-
}
|
51
|
-
]
|
52
|
-
},
|
53
|
-
{
|
54
|
-
"begin": "'",
|
55
|
-
"beginCaptures": {
|
56
|
-
"0": {
|
57
|
-
"name": "punctuation.definition.string.begin.c"
|
58
|
-
}
|
59
|
-
},
|
60
|
-
"end": "'",
|
61
|
-
"endCaptures": {
|
62
|
-
"0": {
|
63
|
-
"name": "punctuation.definition.string.end.c"
|
64
|
-
}
|
65
|
-
},
|
66
|
-
"name": "string.quoted.single.c",
|
67
|
-
"patterns": [
|
68
|
-
{
|
69
|
-
"include": "#string_escaped_char"
|
70
|
-
}
|
71
|
-
]
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"begin": "^\\s*[#%]\\s*(error|warning)\\b",
|
75
|
-
"captures": {
|
76
|
-
"1": {
|
77
|
-
"name": "keyword.control.import.error.c"
|
78
|
-
}
|
79
|
-
},
|
80
|
-
"end": "$",
|
81
|
-
"name": "meta.preprocessor.diagnostic.c",
|
82
|
-
"patterns": [
|
83
|
-
{
|
84
|
-
"match": "(?>\\\\\\s*\\n)",
|
85
|
-
"name": "punctuation.separator.continuation.c"
|
86
|
-
}
|
87
|
-
]
|
88
|
-
},
|
89
|
-
{
|
90
|
-
"begin": "^\\s*[#%]\\s*(include|import)\\b\\s+",
|
91
|
-
"captures": {
|
92
|
-
"1": {
|
93
|
-
"name": "keyword.control.import.include.c"
|
94
|
-
}
|
95
|
-
},
|
96
|
-
"end": "(?=(?://|/\\*))|$",
|
97
|
-
"name": "meta.preprocessor.c.include",
|
98
|
-
"patterns": [
|
99
|
-
{
|
100
|
-
"match": "(?>\\\\\\s*\\n)",
|
101
|
-
"name": "punctuation.separator.continuation.c"
|
102
|
-
},
|
103
|
-
{
|
104
|
-
"begin": "\"",
|
105
|
-
"beginCaptures": {
|
106
|
-
"0": {
|
107
|
-
"name": "punctuation.definition.string.begin.c"
|
108
|
-
}
|
109
|
-
},
|
110
|
-
"end": "\"",
|
111
|
-
"endCaptures": {
|
112
|
-
"0": {
|
113
|
-
"name": "punctuation.definition.string.end.c"
|
114
|
-
}
|
115
|
-
},
|
116
|
-
"name": "string.quoted.double.include.c"
|
117
|
-
},
|
118
|
-
{
|
119
|
-
"begin": "<",
|
120
|
-
"beginCaptures": {
|
121
|
-
"0": {
|
122
|
-
"name": "punctuation.definition.string.begin.c"
|
123
|
-
}
|
124
|
-
},
|
125
|
-
"end": ">",
|
126
|
-
"endCaptures": {
|
127
|
-
"0": {
|
128
|
-
"name": "punctuation.definition.string.end.c"
|
129
|
-
}
|
130
|
-
},
|
131
|
-
"name": "string.quoted.other.lt-gt.include.c"
|
132
|
-
}
|
133
|
-
]
|
134
|
-
},
|
135
|
-
{
|
136
|
-
"begin": "^\\s*[%#]\\s*(define|defined|elif|else|if|ifdef|ifndef|line|pragma|undef|endif)\\b",
|
137
|
-
"captures": {
|
138
|
-
"1": {
|
139
|
-
"name": "keyword.control.import.c"
|
140
|
-
}
|
141
|
-
},
|
142
|
-
"end": "(?=(?://|/\\*))|$",
|
143
|
-
"name": "meta.preprocessor.c",
|
144
|
-
"patterns": [
|
145
|
-
{
|
146
|
-
"match": "(?>\\\\\\s*\\n)",
|
147
|
-
"name": "punctuation.separator.continuation.c"
|
148
|
-
}
|
149
|
-
]
|
150
|
-
},
|
151
|
-
{
|
152
|
-
"match": "\\b(aaa|aad|aam|aas|adc|add|and|arpl|bound|bsf|bsr|bswap|bt|btc|btr|bts|call|cbw|cdq|clc|cld|cli|clts|cmc|cmp|cmps|cmpxchg|cwd|cwde|daa|das|dec|div|enter|esc|hlt|idiv|imul|in|inc|ins|int|into|invd|invlpg|iret|iretd|ja|jae|jb|jbe|jc|jcxz|je|jecxz|jg|jge|jl|jle|jmp|jna|jnae|jnb|jnbe|jnc|jne|jng|jnge|jnl|jnle|jno|jnp|jns|jnz|jo|jp|jpe|jpo|js|jz|lahf|lar|lds|lea|leave|les|lfs|lgdt|lidt|lgs|lldt|lmsw|lock|lods|loop|loope|loopz|loopnz|loopne|lsl|lss|ltr|mov|movs|movsx|movzx|mul|near|neg|nop|not|or|out|outs|pop|popa|popad|popf|popfd|push|pusha|pushad|pushf|pushfd|rcl|rcr|rep|repe|repz|repne|repnz|ret|retf|rol|ror|sahf|sal|sar|sbb|scas|section|setae|setnb|setb|setnae|setbe|setna|sete|setz|setne|setnz|setl|setnge|setge|setng|setle|setng|setg|setnle|sets|setns|setc|setnc|seto|setno|setp|setpe|setnp|setpo|sgdt|sidt|shl|shld|shr|shrd|sldt|smsw|stc|std|sti|stos|str|sub|test|verr|verw|wait|fwait|wait|fwait|wbinvd|xchg|xlat|xlatb|xor)(l|w|b)?\\b",
|
153
|
-
"name": "keyword.mnemonic"
|
154
|
-
},
|
155
|
-
{
|
156
|
-
"match": "^\\s*\\.?\\w+:\\s*(?=$|;)",
|
157
|
-
"name": "entity.name.label"
|
158
|
-
},
|
159
|
-
{
|
160
|
-
"match": "\\$[0-9a-f]+\\b",
|
161
|
-
"name": "constant.numeric.literal"
|
162
|
-
},
|
163
|
-
{
|
164
|
-
"match": "\\b[0-9]+\\b",
|
165
|
-
"name": "constant.numeric.dec"
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"match": "\\b([0-9a-fA-F]+h?|0x[0-9a-fA-F]+)\\b",
|
169
|
-
"name": "constant.numeric.hex"
|
170
|
-
},
|
171
|
-
{
|
172
|
-
"match": "^\\.?(globl|global)\\b",
|
173
|
-
"name": "entity.directive"
|
174
|
-
},
|
175
|
-
{
|
176
|
-
"match": "\\b%?(ip|eip|eax|ebx|ecx|edx|edi|esi|ebp|esp|ax|bx|cx|dx|di|si|bp|sp|ah|al|bh|bl|ch|cl|dh|dl|ax|bx|cx|dx|cs|ds|ss|es|fs|gs|cr0|cr2|cr3|db0|db1|db2|db3|db6|db7|tr6|tr7|st)+\\b",
|
177
|
-
"name": "storage.register"
|
178
|
-
}
|
179
|
-
],
|
180
|
-
"scopeName": "source.asm.x86",
|
181
|
-
"uuid": "84DDB367-0875-4FF3-8047-D3FF2988B3C9"
|
182
|
-
}
|
@@ -1,132 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"fileTypes": [
|
3
|
-
"au3"
|
4
|
-
],
|
5
|
-
"foldingStartMarker": "/\\*\\*|\\{\\s*$",
|
6
|
-
"foldingStopMarker": "\\*\\*/|^\\s*\\}",
|
7
|
-
"keyEquivalent": "^~A",
|
8
|
-
"name": "AutoItv3",
|
9
|
-
"patterns": [
|
10
|
-
{
|
11
|
-
"match": "(?i:\\s*((\\${1})\\w*))(\\.\\w+)?",
|
12
|
-
"name": "variable.other.autoit"
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"match": "(?x:(?:0x\\h+)|(?:-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:e[+-]?\\d+)?))",
|
16
|
-
"name": "constant.numeric.autoit"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"comment": "Filename",
|
20
|
-
"match": "\\w+\\.\\w{3}",
|
21
|
-
"name": "entity.name.other.autoit"
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"match": "(?i:\\b(EndWith|With|ByRef|Return|For|to|Next|In|While|WEnd|ExitLoop|Enum|Step|Do|Until|If|Then|else|ElseIf|EndIf|Select|EndSelect|Case|Switch|EndSwitch|ContinueCase)\\b)",
|
25
|
-
"name": "keyword.control.autoit"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"match": "(?:\\b(Func|EndFunc)\\b)",
|
29
|
-
"name": "support.type.autoit"
|
30
|
-
},
|
31
|
-
{
|
32
|
-
"match": "(?i:\\s*#(define|AutoIt3Wrapper_Res_Fileversion|AutoIt3Wrapper_Res_Description|AutoIt3Wrapper_Res_Comment|Region|AutoIt3Wrapper_Icon|AutoIt3Wrapper_Outfile|EndRegion|include-once|include|NoAutoIt3Execute|NoTrayIcon|OnAutoItStartRegister|RequireAdmin))",
|
33
|
-
"name": "support.other.autoit"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"match": "\\s(=|\\+=|-=|\\*=|/=|&=)\\s",
|
37
|
-
"name": "keyword.operator.assignment.autoit"
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"match": "(\\+|-|\\*|/|&|\\^)",
|
41
|
-
"name": "keyword.operator.arithmetic.autoit"
|
42
|
-
},
|
43
|
-
{
|
44
|
-
"match": "(=|==|<>|>|>=|<|<=)",
|
45
|
-
"name": "keyword.operator.comparison.autoit"
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"match": "(?i:\\b(AND|OR|NOT))",
|
49
|
-
"name": "keyword.operator.logical.autoit"
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"match": "(?i:\\b(True|False)\\b)",
|
53
|
-
"name": "constant.boolean.autoit"
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"match": "(?i:\\s*(ReDim|Dim|Local|Global|Const))",
|
57
|
-
"name": "entity.name.declaration.autoit"
|
58
|
-
},
|
59
|
-
{
|
60
|
-
"match": "(?i:(\\s*@(AppDataCommonDir|AppDataDir|AutoItExe|AutoItPID|AutoItVersion|AutoItX64|COM_EventObj|CommonFilesDir|Compiled|ComputerName|ComSpec|CPUArch|CRLF|CR|DesktopCommonDir|DesktopDir|DesktopHeight|DesktopWidth|DesktopDepth|DesktopRefresh|DocumentsCommonDir|error|exitCode|exitMethod|extended|FavoritesCommonDir|FavoritesDir|GUI_CtrlId|GUI_CtrlHandle|GUI_DragId|GUI_DragFile|GUI_DropId|GUI_WinHandle|HomeDrive|HomePath|HomeShare|HOUR|IPAddress1|IPAddress2|IPAddress3|IPAddress4|KBLayout|LF|LogonDNSDomain|LogonDomain|LogonServer|MDAY|MIN|MON|MSEC|MUILang|MyDocumentsDir|NumParams|OSArch|OSBuild|OSLang|OSServicePack|OSType|OSVersion|ProgramFilesDir|ProgramsCommonDir|ProgramsDir|ScriptDir|ScriptFullPath|ScriptLineNumber|ScriptName|SEC|StartMenuCommonDir|StartMenuDir|StartupCommonDir|StartupDir|SW_DISABLE|SW_ENABLE|SW_HIDE|SW_LOCK|SW_MAXIMIZE|SW_MINIMIZE|SW_RESTORE|SW_SHOW|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWMINNOACTIVE|SW_SHOWNA|SW_SHOWNOACTIVATE|SW_SHOWNORMAL|SW_UNLOCK|SystemDir|TAB|TempDir|TRAY_ID|TrayIconFlashing|TrayIconVisible|UserProfileDir|UserName|WDAY|WindowsDir|WorkingDir|YDAY|YEAR))|Default)",
|
61
|
-
"name": "support.constant.autoit"
|
62
|
-
},
|
63
|
-
{
|
64
|
-
"match": "(?i:(\\b(Abs|ACos|AdlibRegister|AdlibUnRegister|Asc|AscW|ASin|Assign|ATan|AutoItSetOption|AutoItWinGetTitle|AutoItWinSetTitle|Beep|Binary|BinaryLen|BinaryMid|BinaryToString|BitAND|BitNOT|BitOR|BitRotate|BitShift|BitXOR|BlockInput|Break|Call|CDTray|Ceiling|Chr|ChrW|ClipGet|ClipPut|ConsoleRead|ConsoleWrite|ConsoleWriteError|ControlClick|ControlCommand|ControlDisable|ControlEnable|ControlFocus|ControlGetFocus|ControlGetHandle|ControlGetPos|ControlGetText|ControlHide|ControlListView|ControlMove|ControlSend|ControlSetText|ControlShow|ControlTreeView|Cos|Dec|DirCopy|DirCreate|DirGetSize|DirMove|DirRemove|DllCall|DllCallbackFree|DllCallbackGetPtr|DllCallbackRegister|DllClose|DllOpen|DllStructCreate|DllStructGetData|DllStructGetPtr|DllStructGetSize|DllStructSetData|DriveGetDrive|DriveGetFileSystem|DriveGetLabel|DriveGetSerial|DriveGetType|DriveMapAdd|DriveMapDel|DriveMapGet|DriveSetLabel|DriveSpaceFree|DriveSpaceTotal|DriveStatus|EnvGet|EnvSet|EnvUpdate|Eval|Execute|Exp|FileChangeDir|FileClose|FileCopy|FileCreateNTFSLink|FileCreateShortcut|FileDelete|FileExists|FileFindFirstFile|FileFindNextFile|FileFlush|FileGetAttrib|FileGetEncoding|FileGetLongName|FileGetPos|FileGetShortcut|FileGetShortName|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileOpen|FileOpenDialog|FileReadLine|FileRead|FileRecycle|FileRecycleEmpty|FileSaveDialog|FileSelectFolder|FileSetAttrib|FileSetPos|FileSetTime|FileWrite|FileWriteLine|Floor|FtpSetProxy|GUICreate|GUICtrlCreateAvi|GUICtrlCreateButton|GUICtrlCreateCheckbox|GUICtrlCreateCombo|GUICtrlCreateContextMenu|GUICtrlCreateDate|GUICtrlCreateDummy|GUICtrlCreateEdit|GUICtrlCreateGraphic|GUICtrlCreateGroup|GUICtrlCreateIcon|GUICtrlCreateInput|GUICtrlCreateLabel|GUICtrlCreateList|GUICtrlCreateListView|GUICtrlCreateListViewItem|GUICtrlCreateMenu|GUICtrlCreateMenuItem|GUICtrlCreateMonthCal|GUICtrlCreateObj|GUICtrlCreatePic|GUICtrlCreateProgress|GUICtrlCreateRadio|GUICtrlCreateSlider|GUICtrlCreateTab|GUICtrlCreateTabItem|GUICtrlCreateTreeView|GUICtrlCreateTreeViewItem|GUICtrlCreateUpdown|GUICtrlDelete|GUICtrlGetHandle|GUICtrlGetState|GUICtrlRead|GUICtrlRecvMsg|GUICtrlRegisterListViewSort|GUICtrlSendMsg|GUICtrlSendToDummy|GUICtrlSetBkColor|GUICtrlSetColor|GUICtrlSetCursor|GUICtrlSetData|GUICtrlSetDefBkColor|GUICtrlSetDefColor|GUICtrlSetFont|GUICtrlSetGraphic|GUICtrlSetImage|GUICtrlSetLimit|GUICtrlSetOnEvent|GUICtrlSetPos|GUICtrlSetResizing|GUICtrlSetState|GUICtrlSetStyle|GUICtrlSetTip|GUIDelete|GUIGetCursorInfo|GUIGetMsg|GUIGetStyle|GUIRegisterMsg|GUISetAccelerators|GUISetBkColor|GUISetCoord|GUISetCursor|GUISetFont|GUISetHelp|GUISetIcon|GUISetOnEvent|GUISetState|GUISetStyle|GUIStartGroup|GUISwitch|Hex|HotKeySet|HttpSetProxy|HttpSetUserAgent|HWnd|InetClose|InetGet|InetGetInfo|InetGetSize|InetRead|IniDelete|IniRead|IniReadSection|IniReadSectionNames|IniRenameSection|IniWrite|IniWriteSection|InputBox|Int|IsAdmin|IsArray|IsBinary|IsBool|IsDeclared|IsDllStruct|IsFloat|IsHWnd|IsInt|IsKeyword|IsNumber|IsObj|IsPtr|IsString|Log|MemGetStats|Mod|MouseClick|MouseClickDrag|MouseDown|MouseGetCursor|MouseGetPos|MouseMove|MouseUp|MouseWheel|MsgBox|Number|ObjCreate|ObjEvent|ObjGet|ObjName|OnAutoItExitRegister|OnAutoItExitUnRegister|Ping|PixelChecksum|PixelGetColor|PixelSearch|PluginClose|PluginOpen|ProcessClose|ProcessExists|ProcessGetStats|ProcessList|ProcessSetPriority|ProcessWait|ProcessWaitClose|ProgressOff|ProgressOn|ProgressSet|Ptr|Random|RegDelete|RegEnumKey|RegEnumVal|RegRead|RegWrite|Round|RunAs|RunAsWait|RunWait|Run|Send|SendKeepActive|SetError|SetExtended|ShellExecute|ShellExecuteWait|Shutdown|Sin|Sleep|SoundPlay|SoundSetWaveVolume|SplashImageOn|SplashOff|SplashTextOn|Sqrt|SRandom|StatusbarGetText|StderrRead|StdinWrite|StdioClose|StdoutRead|StringAddCR|StringCompare|StringFormat|StringFromASCIIArray|StringInStr|StringIsAlNum|StringIsAlpha|StringIsASCII|StringIsDigit|StringIsFloat|StringIsInt|StringIsLower|StringIsSpace|StringIsUpper|StringIsXDigit|StringLeft|StringLen|StringLower|StringMid|StringRegExp|StringRegExpReplace|StringReplace|StringRight|StringSplit|StringStripCR|StringStripWS|StringToASCIIArray|StringToBinary|StringTrimLeft|StringTrimRight|StringUpper|String|Tan|TCPAccept|TCPCloseSocket|TCPConnect|TCPListen|TCPNameToIP|TCPRecv|TCPSend|TCPShutdown,|UDPShutdown|Stops|TCP/UDP|services.|TCPStartup,|UDPStartup|Starts|TCP|or|UDP|services.|TimerDiff|TimerInit|ToolTip|TrayCreateItem|TrayCreateMenu|TrayGetMsg|TrayItemDelete|TrayItemGetHandle|TrayItemGetState|TrayItemGetText|TrayItemSetOnEvent|TrayItemSetState|TrayItemSetText|TraySetClick|TraySetIcon|TraySetOnEvent|TraySetPauseIcon|TraySetState|TraySetToolTip|TrayTip|UBound|UDPBind|UDPCloseSocket|UDPOpen|UDPRecv|UDPSend|VarGetType|WinActivate|WinActive|WinClose|WinExists|WinFlash|WinGetCaretPos|WinGetClassList|WinGetClientSize|WinGetHandle|WinGetPos|WinGetProcess|WinGetState|WinGetText|WinGetTitle|WinKill|WinList|WinMenuSelectItem|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinSetOnTop|WinSetState|WinSetTitle|WinSetTrans|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive))|Exit)\\b",
|
65
|
-
"name": "support.function.autoit"
|
66
|
-
},
|
67
|
-
{
|
68
|
-
"match": "[a-zA-Z_]+[\\w_]*(?=\\()",
|
69
|
-
"name": "entity.name.function.autoit"
|
70
|
-
},
|
71
|
-
{
|
72
|
-
"begin": "\"",
|
73
|
-
"end": "\"",
|
74
|
-
"name": "string.quoted.double.autoit",
|
75
|
-
"patterns": [
|
76
|
-
{
|
77
|
-
"match": "`",
|
78
|
-
"name": "constant.character.escape.autoit"
|
79
|
-
}
|
80
|
-
]
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"begin": "'",
|
84
|
-
"end": "'",
|
85
|
-
"name": "string.quoted.single.autoit",
|
86
|
-
"patterns": [
|
87
|
-
{
|
88
|
-
"match": "`",
|
89
|
-
"name": "constant.character.escape.autoit"
|
90
|
-
}
|
91
|
-
]
|
92
|
-
},
|
93
|
-
{
|
94
|
-
"captures": {
|
95
|
-
"1": {
|
96
|
-
"name": "punctuation.definition.comment.autoit"
|
97
|
-
}
|
98
|
-
},
|
99
|
-
"match": "(?:^[ \\t]+)?(;).*$\\n?",
|
100
|
-
"name": "comment.line.semi-colon.autoit"
|
101
|
-
},
|
102
|
-
{
|
103
|
-
"begin": "(?i:^#((comments-start|cs)).*$)",
|
104
|
-
"captures": {
|
105
|
-
"0": {
|
106
|
-
"name": "punctuation.definition.comment.autoit"
|
107
|
-
}
|
108
|
-
},
|
109
|
-
"comment": "multiline comments",
|
110
|
-
"end": "(?i:^#((comments-end)|(ce)).*$)",
|
111
|
-
"name": "comment.block.documentation.autoit"
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"match": ",",
|
115
|
-
"name": "punctuation.separator.function.autoit"
|
116
|
-
},
|
117
|
-
{
|
118
|
-
"match": "\\[|\\]",
|
119
|
-
"name": "punctuation.section.array.autoit"
|
120
|
-
},
|
121
|
-
{
|
122
|
-
"match": "\\(|\\)",
|
123
|
-
"name": "punctuation.section.function.autoit"
|
124
|
-
},
|
125
|
-
{
|
126
|
-
"match": "(?i:\\bStatic\\b)",
|
127
|
-
"name": "invalid.experimental.autoit"
|
128
|
-
}
|
129
|
-
],
|
130
|
-
"scopeName": "source.autoit.3",
|
131
|
-
"uuid": "BFA2F4A4-2BE6-4C88-BFA4-1A29F0EAB15B"
|
132
|
-
}
|