├── Preferences
├── Folding.tmPreferences
├── Symbol List.tmPreferences
├── Comments.tmPreferences
├── Typing Pairs.tmPreferences
└── Indent.tmPreferences
├── info.plist
├── README.mdown
└── Syntaxes
└── TOML.tmLanguage
/Preferences/Folding.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Folding
7 | scope
8 | source.toml
9 | settings
10 |
11 | foldingIndentedBlockIgnore
12 | ^(?!\s*\[[^\[\]]*\])
13 | foldingIndentedBlockStart
14 | ^\s*\[[^\[\]]*\]
15 |
16 | uuid
17 | EF7208F3-37FE-48A7-A399-483A053AC519
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Preferences/Symbol List.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Symbol List
7 | scope
8 | meta.group.toml
9 | settings
10 |
11 | showInSymbolList
12 | 1
13 | symbolTransformation
14 |
15 | s/\[|\]//g;
16 |
17 |
18 | uuid
19 | 73D9E9DB-B037-4FEB-BB0C-99F5C55454C2
20 |
21 |
22 |
--------------------------------------------------------------------------------
/info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | contactEmailRot13
6 | zfurrgf@juvgrsnyyf.bet
7 | contactName
8 | Michael Sheets
9 | description
10 | Tom's Obvious, Minimal Language: A minimal configuration file format that's easy to read due to obvious semantics.
11 | name
12 | TOML
13 | uuid
14 | 13A041AB-28AA-4170-8DCE-912B90E11C35
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Preferences/Comments.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Comments
7 | scope
8 | source.toml
9 | settings
10 |
11 | shellVariables
12 |
13 |
14 | name
15 | TM_COMMENT_START
16 | value
17 | #
18 |
19 |
20 |
21 | uuid
22 | 57E002AF-9FB0-4EEF-A7E9-D966AF048D2C
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Preferences/Typing Pairs.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Typing Pairs
7 | scope
8 | source.toml
9 | settings
10 |
11 | smartTypingPairs
12 |
13 |
14 | "
15 | "
16 |
17 |
18 | [
19 | ]
20 |
21 |
22 |
23 | uuid
24 | 11D23FEA-93F7-40C9-A996-EF6CF370D090
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Preferences/Indent.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Indent
7 | scope
8 | source.toml
9 | settings
10 |
11 | decreaseIndentPattern
12 | ^\s*[\]]
13 | disableIndentCorrections
14 |
15 | increaseIndentPattern
16 | \[\s*(#.*)?$
17 | indentOnPaste
18 | simple
19 |
20 | uuid
21 | D71CCB5E-824F-4CCC-9C95-E380ABEBAD59
22 |
23 |
24 |
--------------------------------------------------------------------------------
/README.mdown:
--------------------------------------------------------------------------------
1 | # Installation
2 |
3 | You can install this bundle in TextMate by opening the preferences and going to the bundles tab. After installation it will be automatically updated for you.
4 |
5 | # General
6 |
7 | * [Bundle Styleguide](http://kb.textmate.org/bundle_styleguide) — _before you make changes_
8 | * [Commit Styleguide](http://kb.textmate.org/commit_styleguide) — _before you send a pull request_
9 | * [Writing Bug Reports](http://kb.textmate.org/writing_bug_reports) — _before you report an issue_
10 |
11 | # License
12 |
13 | If not otherwise specified (see below), files in this repository fall under the following license:
14 |
15 | Permission to copy, use, modify, sell and distribute this
16 | software is granted. This software is provided "as is" without
17 | express or implied warranty, and with no claim as to its
18 | suitability for any purpose.
19 |
20 | An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar. For example “tidy” is accompanied by “tidy-license.txt”.
--------------------------------------------------------------------------------
/Syntaxes/TOML.tmLanguage:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | fileTypes
6 |
7 | toml
8 |
9 | keyEquivalent
10 | ^~T
11 | name
12 | TOML
13 | patterns
14 |
15 |
16 | include
17 | #comments
18 |
19 |
20 | include
21 | #groups
22 |
23 |
24 | include
25 | #key_pair
26 |
27 |
28 | include
29 | #invalid
30 |
31 |
32 | repository
33 |
34 | comments
35 |
36 | begin
37 | (^[ \t]+)?(?=#)
38 | beginCaptures
39 |
40 | 1
41 |
42 | name
43 | punctuation.whitespace.comment.leading.toml
44 |
45 |
46 | end
47 | (?!\G)
48 | patterns
49 |
50 |
51 | begin
52 | #
53 | beginCaptures
54 |
55 | 0
56 |
57 | name
58 | punctuation.definition.comment.toml
59 |
60 |
61 | end
62 | \n
63 | name
64 | comment.line.number-sign.toml
65 |
66 |
67 |
68 | groups
69 |
70 | patterns
71 |
72 |
73 | captures
74 |
75 | 1
76 |
77 | name
78 | punctuation.definition.section.begin.toml
79 |
80 | 2
81 |
82 | patterns
83 |
84 |
85 | match
86 | [^\s.]+
87 | name
88 | entity.name.section.toml
89 |
90 |
91 |
92 | 3
93 |
94 | name
95 | punctuation.definition.section.begin.toml
96 |
97 |
98 | match
99 | ^\s*(\[)([^\[\]]*)(\])
100 | name
101 | meta.group.toml
102 |
103 |
104 | captures
105 |
106 | 1
107 |
108 | name
109 | punctuation.definition.section.begin.toml
110 |
111 | 2
112 |
113 | patterns
114 |
115 |
116 | match
117 | [^\s.]+
118 | name
119 | entity.name.section.toml
120 |
121 |
122 |
123 | 3
124 |
125 | name
126 | punctuation.definition.section.begin.toml
127 |
128 |
129 | match
130 | ^\s*(\[\[)([^\[\]]*)(\]\])
131 | name
132 | meta.group.double.toml
133 |
134 |
135 |
136 | invalid
137 |
138 | match
139 | \S+(\s*(?=\S))?
140 | name
141 | invalid.illegal.not-allowed-here.toml
142 |
143 | key_pair
144 |
145 | begin
146 | (\S+)\s*(=)\s*
147 | captures
148 |
149 | 1
150 |
151 | name
152 | support.constant.toml
153 |
154 | 2
155 |
156 | name
157 | punctuation.separator.key-value.toml
158 |
159 |
160 | end
161 | (?<=\S)(?<!=)|$
162 | patterns
163 |
164 |
165 | include
166 | #primatives
167 |
168 |
169 |
170 | primatives
171 |
172 | patterns
173 |
174 |
175 | begin
176 | \G"""
177 | beginCaptures
178 |
179 | 0
180 |
181 | name
182 | punctuation.definition.string.begin.toml
183 |
184 |
185 | end
186 | """
187 | endCaptures
188 |
189 | 0
190 |
191 | name
192 | punctuation.definition.string.end.toml
193 |
194 |
195 | name
196 | string.quoted.triple.double.toml
197 | patterns
198 |
199 |
200 | match
201 | \\([tnr"\\]|x\h\h)
202 | name
203 | constant.character.escape.toml
204 |
205 |
206 |
207 |
208 | begin
209 | \G"
210 | beginCaptures
211 |
212 | 0
213 |
214 | name
215 | punctuation.definition.string.begin.toml
216 |
217 |
218 | end
219 | "
220 | endCaptures
221 |
222 | 0
223 |
224 | name
225 | punctuation.definition.string.end.toml
226 |
227 |
228 | name
229 | string.quoted.double.toml
230 | patterns
231 |
232 |
233 | match
234 | \\([tnr"\\]|x\h\h)
235 | name
236 | constant.character.escape.toml
237 |
238 |
239 |
240 |
241 | begin
242 | \G'''
243 | beginCaptures
244 |
245 | 0
246 |
247 | name
248 | punctuation.definition.string.begin.toml
249 |
250 |
251 | end
252 | '''
253 | endCaptures
254 |
255 | 0
256 |
257 | name
258 | punctuation.definition.string.end.toml
259 |
260 |
261 | name
262 | string.quoted.triple.single.toml
263 |
264 |
265 | begin
266 | \G'
267 | beginCaptures
268 |
269 | 0
270 |
271 | name
272 | punctuation.definition.string.begin.toml
273 |
274 |
275 | end
276 | '
277 | endCaptures
278 |
279 | 0
280 |
281 | name
282 | punctuation.definition.string.end.toml
283 |
284 |
285 | name
286 | string.quoted.single.toml
287 |
288 |
289 | match
290 | \G(?x)
291 | [0-9]{4}
292 | -
293 | (0[1-9]|1[012])
294 | -
295 | (?!00|3[2-9])[0-3][0-9]
296 | [Tt]
297 | (?!2[5-9])[0-2][0-9]
298 | :
299 | [0-5][0-9]
300 | :
301 | (?!6[1-9])[0-6][0-9]
302 | (\.[0-9]+)?
303 | (
304 | Z
305 | | [+-](?!2[5-9])[0-2][0-9]:[0-5][0-9]
306 | )
307 |
308 | name
309 | constant.other.date.toml
310 |
311 |
312 | match
313 | \G(true|false)
314 | name
315 | constant.language.boolean.toml
316 |
317 |
318 | match
319 | \G[+-]?[0-9]+\.[0-9]+([eE][+-]?(0|[1-9][0-9]*))?
320 | name
321 | constant.numeric.float.toml
322 |
323 |
324 | match
325 | \G[+-]?(0|[1-9][0-9]*)([eE][+-]?(0|[1-9][0-9]*))?
326 | name
327 | constant.numeric.integer.toml
328 |
329 |
330 | begin
331 | \G\[
332 | beginCaptures
333 |
334 | 0
335 |
336 | name
337 | punctuation.definition.array.begin.toml
338 |
339 |
340 | end
341 | \]
342 | endCaptures
343 |
344 | 0
345 |
346 | name
347 | punctuation.definition.array.end.toml
348 |
349 |
350 | name
351 | meta.array.toml
352 | patterns
353 |
354 |
355 | begin
356 | (?="|-?[0-9]|true|false|\[)
357 | end
358 | ,|(?=])
359 | endCaptures
360 |
361 | 0
362 |
363 | name
364 | punctuation.separator.array.toml
365 |
366 |
367 | patterns
368 |
369 |
370 | include
371 | #primatives
372 |
373 |
374 | include
375 | #comments
376 |
377 |
378 | include
379 | #invalid
380 |
381 |
382 |
383 |
384 | include
385 | #comments
386 |
387 |
388 | include
389 | #invalid
390 |
391 |
392 |
393 |
394 |
395 |
396 | scopeName
397 | source.toml
398 | uuid
399 | 7DEF2EDB-5BB7-4DD2-9E78-3541A26B7923
400 |
401 |
402 |
--------------------------------------------------------------------------------