File tree 1 file changed +3
-18
lines changed
contrib/Julia.tmbundle/Syntaxes
1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change 7
7
<dict >
8
8
<key >fileTypes </key >
9
9
<array >
10
- <string >j </string >
11
10
<string >jl </string >
12
- <string >jul </string >
13
- <string >julia </string >
14
11
</array >
15
12
<key >firstLineMatch </key >
16
- <string >^#!/usr/bin/env\s+julia \s*$ </string >
13
+ <string >^#!.*\bjulia \s*$ </string >
17
14
<key >foldingStartMarker </key >
18
15
<string >^\s*(?:if|while|for|begin|function|macro|module|baremodule|type|immutable|let)\b(?!.*\bend\b).*$ </string >
19
16
<key >foldingStopMarker </key >
164
161
<array >
165
162
<dict >
166
163
<key >match </key >
167
- <string >\b(?:function|type|immutable|macro|quote|abstract|bitstype|Base|Main|Core| typealias|module|baremodule|new)\b </string >
164
+ <string >\b(?:function|type|immutable|macro|quote|abstract|bitstype|typealias|module|baremodule|new)\b </string >
168
165
<key >name </key >
169
166
<string >keyword.other.julia </string >
170
167
</dict >
186
183
<key >name </key >
187
184
<string >variable.macro.julia </string >
188
185
</dict >
189
- <dict >
190
- <key >match </key >
191
- <string >\b(true|false|nothing|NA)\b </string >
192
- <key >name </key >
193
- <string >constant.language.julia </string >
194
- </dict >
195
186
</array >
196
187
</dict >
197
188
<key >number </key >
200
191
<array >
201
192
<dict >
202
193
<key >match </key >
203
- <string >((\b0(x|X)[0-9a-fA-F]*)|((\b[0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]*)?(im)?|\bInf(32)?\b|\bNaN(32)?\b|\be \b|\bpi \b) </string >
194
+ <string >((\b0(x|X)[0-9a-fA-F]*)|((\b[0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]*)?(im)?|\bInf(32)?\b|\bNaN(32)?\b|\btrue \b|\bfalse \b) </string >
204
195
<key >name </key >
205
196
<string >constant.numeric.julia </string >
206
197
</dict >
532
523
<key >name </key >
533
524
<string >meta.type.julia </string >
534
525
</dict >
535
- <dict >
536
- <key >match </key >
537
- <string >\b(Int8|Int16|Int32|Int64|Int128|Uint8|Uint16|Uint32|Uint64|Uint128|Float32|Float64|Bool|Char|Int|Uint|Void|Any)\b </string >
538
- <key >name </key >
539
- <string >support.other.bit-types.julia </string >
540
- </dict >
541
526
<dict >
542
527
<key >captures </key >
543
528
<dict >
You can’t perform that action at this time.
0 commit comments