Grammalecte  Check-in [558ac4bb27]

Overview
Comment:[misc] SublimeText syntax rules update
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | misc | rg
Files: files | file ages | folders
SHA3-256: 558ac4bb27c849eb1537ffe5fb861e10ae85bd5c816a7d6e14cae239a0b55d94
User & Date: olr on 2018-06-12 09:04:06
Other Links: branch diff | manifest | tags
Context
2018-06-12
09:08
[misc] SublimeText syntax rules update check-in: 06e51c6eba user: olr tags: misc, rg
09:04
[misc] SublimeText syntax rules update check-in: 558ac4bb27 user: olr tags: misc, rg
2018-06-11
18:20
[misc] SublimeText syntax rules update check-in: cac524f6db user: olr tags: misc, rg
Changes

Modified misc/grammalecte.sublime-syntax from [04f493455e] to [cd1072ee1f].

106
107
108
109
110
111
112
113

114


115
116

117


118
119

120



121





122
123
124
125
126
127
128
106
107
108
109
110
111
112

113
114
115
116
117

118
119
120
121
122

123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140







-
+

+
+

-
+

+
+

-
+

+
+
+

+
+
+
+
+







      scope: keyword.textprocessor
      captures:
        1: keyword.textprocessor.group
    - match: '=>>'
      scope: keyword.disambiguator

    # Tokens
    - match: '>\w+'
    - match: '(>)\w+'
      scope: string.lemma
      captures:
        1: keyword.valid

    - match: '~(?!(?:\d+(?::\d+|)|)>>)[^\s]+'
    - match: '(~)(?!(?:\d+(?::\d+|)|)>>)[^\s]+'
      scope: string.regex
      captures:
        1: keyword.valid

    - match: '@[^@][^\s]+'
    - match: '(@)([^@][^\s¬]+)'
      scope: string.morph
      captures:
        1: keyword.valid
        2: string.morph.pattern

    - match: '(¬)(\S+)'
      scope: string.morph
      captures:
        1: keyword.invalid
        2: string.morph.antipattern  

    # Escaped chars
    - match: '\\(?:\d+|w|d|b|n|s|t)'
      scope: constant.character.escape

    # URL
    - match: '\| ?https?://[\w./%?&=#+-]+'

Modified misc/grammalecte.tmTheme from [8458a575c8] to [2b48e41d1f].

289
290
291
292
293
294
295































296
297
298
299
300
301
302
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+







			<key>settings</key>
			<dict>
				<key>foreground</key>
				<string>#A0A0A0</string>
			</dict>
		</dict>

		<dict>
			<key>name</key>
			<string>Keyword Valid</string>
			<key>scope</key>
			<string>keyword.valid</string>
			<key>settings</key>
			<dict>
				<key>fontStyle</key>
				<string>bold</string>
				<key>foreground</key>
				<string>hsl(150, 100%, 80%)</string>
				<key>background</key>
				<string>hsl(150, 100%, 20%)</string>
			</dict>
		</dict>
		<dict>
			<key>name</key>
			<string>Keyword Invalid</string>
			<key>scope</key>
			<string>keyword.invalid</string>
			<key>settings</key>
			<dict>
				<key>fontStyle</key>
				<string>bold</string>
				<key>foreground</key>
				<string>hsl(0, 100%, 80%)</string>
				<key>background</key>
				<string>hsl(0, 100%, 20%)</string>
			</dict>
		</dict>

		<dict>
			<key>name</key>
			<string>Rule options</string>
			<key>scope</key>
			<string>rule.options</string>
			<key>settings</key>
			<dict>
373
374
375
376
377
378
379
380

381
382

383
384
385
386
387
388
389
390
391
392
393

394
395

396
397
398
399
400

401
402

403
404
405













406

407
408

409
410
411
412
413
414
415
404
405
406
407
408
409
410

411
412

413
414
415
416
417
418
419
420
421
422
423

424
425

426
427
428
429
430

431
432

433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449

450
451

452
453
454
455
456
457
458
459







-
+

-
+










-
+

-
+




-
+

-
+



+
+
+
+
+
+
+
+
+
+
+
+
+
-
+

-
+







			<key>name</key>
			<string>String lemma</string>
			<key>scope</key>
			<string>string.lemma</string>
			<key>settings</key>
			<dict>
				<key>foreground</key>
				<string>#FF3030</string>
				<string>hsl(210, 100%, 80%)</string>
				<key>background</key>
				<string>#402020</string>
				<string>hsl(210, 100%, 15%)</string>
			</dict>
		</dict>
		<dict>
			<key>name</key>
			<string>String regex</string>
			<key>scope</key>
			<string>string.regex</string>
			<key>settings</key>
			<dict>
				<key>foreground</key>
				<string>#30FF30</string>
				<string>hsl(60, 100%, 80%)</string>
				<key>background</key>
				<string>#204020</string>
				<string>hsl(60, 100%, 10%)</string>
			</dict>
		</dict>
		<dict>
			<key>name</key>
			<string>String morph</string>
			<string>String morph pattern</string>
			<key>scope</key>
			<string>string.morph</string>
			<string>string.morph.pattern</string>
			<key>settings</key>
			<dict>
				<key>foreground</key>
				<string>hsl(150, 80%, 90%)</string>
				<key>background</key>
				<string>hsl(150, 80%, 10%)</string>
			</dict>
		</dict>
		<dict>
			<key>name</key>
			<string>String morph antipattern</string>
			<key>scope</key>
			<string>string.morph.antipattern</string>
			<key>settings</key>
			<dict>
				<key>foreground</key>
				<string>#8080FF</string>
				<string>hsl(0, 80%, 90%)</string>
				<key>background</key>
				<string>#202080</string>
				<string>hsl(0, 80%, 10%)</string>
			</dict>
		</dict>


		<dict>
			<key>name</key>
			<string>JavaScript Dollar</string>