@@ -58,6 +58,9 @@ exports.getValue = function (editor) {
58 return editor.getValue();
58 return editor.getValue();
61+exports.colorizeImpl = function (text) { return function (languageId) { return function (options) { return function (editor) {
62+ return editor.colorize(text, languageId, options);
61exports.setValue = function (value) { return function (editor) { return function () { return editor.setValue(value); }; }; };
64exports.setValue = function (value) { return function (editor) { return function () { return editor.setValue(value); }; }; };
62exports.defineThemeImpl = function (monacoInstance) { return function (name) { return function (theme) { return function () {
65exports.defineThemeImpl = function (monacoInstance) { return function (name) { return function (theme) { return function () {
63 return monacoInstance.editor.defineTheme(name, theme);
66 return monacoInstance.editor.defineTheme(name, theme);
@@ -91,84 +94,84 @@ exports.vsCodeTheme = function (bg) { return ({
93 foreground: "008e00",
96 foreground: "008e00",
94− token: "comment"
97+ token: "comment",
97 foreground: "7d4726",
100 foreground: "7d4726",
98− token: "meta.preprocessor"
101+ token: "meta.preprocessor",
101 foreground: "7d4726",
104 foreground: "7d4726",
102− token: "keyword.control.import"
105+ token: "keyword.control.import",
105 foreground: "df0002",
108 foreground: "df0002",
106− token: "string"
109+ token: "string",
109 foreground: "3a00dc",
112 foreground: "3a00dc",
110− token: "constant.numeric"
113+ token: "constant.numeric",
113 foreground: "c800a4",
116 foreground: "c800a4",
114− token: "constant.language"
117+ token: "constant.language",
117 foreground: "275a5e",
120 foreground: "275a5e",
118− token: "constant.character"
121+ token: "constant.character",
121 foreground: "275a5e",
124 foreground: "275a5e",
122− token: "constant.other"
125+ token: "constant.other",
125 foreground: "c800a4",
128 foreground: "c800a4",
126− token: "variable.language"
129+ token: "variable.language",
129 foreground: "c800a4",
132 foreground: "c800a4",
130− token: "variable.other"
133+ token: "variable.other",
133 foreground: "c800a4",
136 foreground: "c800a4",
134− token: "keyword"
137+ token: "keyword",
137 foreground: "c900a4",
140 foreground: "c900a4",
138− token: "storage"
141+ token: "storage",
141 foreground: "438288",
144 foreground: "438288",
142− token: "entity.name.class"
145+ token: "entity.name.class",
145 foreground: "790ead",
148 foreground: "790ead",
146− token: "entity.name.tag"
149+ token: "entity.name.tag",
149 foreground: "450084",
152 foreground: "450084",
150− token: "entity.other.attribute-name"
153+ token: "entity.other.attribute-name",
153 foreground: "450084",
156 foreground: "450084",
154− token: "support.function"
157+ token: "support.function",
157 foreground: "450084",
160 foreground: "450084",
158− token: "support.constant"
161+ token: "support.constant",
161 foreground: "790ead",
164 foreground: "790ead",
162− token: "support.type"
165+ token: "support.type",
165 foreground: "790ead",
168 foreground: "790ead",
166− token: "support.class"
169+ token: "support.class",
169 foreground: "790ead",
172 foreground: "790ead",
170− token: "support.other.variable"
173+ token: "support.other.variable",
173 colors: {
176 colors: {
174 "editor.foreground": "#000000",
177 "editor.foreground": "#000000",
@@ -176,8 +179,8 @@ exports.vsCodeTheme = function (bg) { return ({
176 "editor.selectionBackground": "#B5D5FF",
179 "editor.selectionBackground": "#B5D5FF",
177 "editor.lineHighlightBackground": "#00000012",
180 "editor.lineHighlightBackground": "#00000012",
178 "editorCursor.foreground": "#000000",
181 "editorCursor.foreground": "#000000",
179− "editorWhitespace.foreground": "#BFBFBF"
182+ "editorWhitespace.foreground": "#BFBFBF",
182exports.nightOwlTheme = function (bg) { return ({
185exports.nightOwlTheme = function (bg) { return ({
183 base: "vs-dark",
186 base: "vs-dark",
@@ -185,664 +188,664 @@ exports.nightOwlTheme = function (bg) { return ({
187 foreground: "637777",
190 foreground: "637777",
188− token: "comment"
191+ token: "comment",
191 foreground: "addb67",
194 foreground: "addb67",
192− token: "string"
195+ token: "string",
195 foreground: "ecc48d",
198 foreground: "ecc48d",
196− token: "vstring.quoted"
199+ token: "vstring.quoted",
199 foreground: "ecc48d",
202 foreground: "ecc48d",
200− token: "variable.other.readwrite.js"
203+ token: "variable.other.readwrite.js",
203 foreground: "5ca7e4",
206 foreground: "5ca7e4",
204− token: "string.regexp"
207+ token: "string.regexp",
207 foreground: "5ca7e4",
210 foreground: "5ca7e4",
208− token: "string.regexp keyword.other"
211+ token: "string.regexp keyword.other",
211 foreground: "5f7e97",
214 foreground: "5f7e97",
212− token: "meta.function punctuation.separator.comma"
215+ token: "meta.function punctuation.separator.comma",
215 foreground: "f78c6c",
218 foreground: "f78c6c",
216− token: "constant.numeric"
219+ token: "constant.numeric",
219 foreground: "f78c6c",
222 foreground: "f78c6c",
220− token: "constant.character.numeric"
223+ token: "constant.character.numeric",
223 foreground: "addb67",
226 foreground: "addb67",
224− token: "variable"
227+ token: "variable",
227 foreground: "c792ea",
230 foreground: "c792ea",
228− token: "keyword"
231+ token: "keyword",
231 foreground: "c792ea",
234 foreground: "c792ea",
232− token: "punctuation.accessor"
235+ token: "punctuation.accessor",
235 foreground: "c792ea",
238 foreground: "c792ea",
236− token: "storage"
239+ token: "storage",
239 foreground: "c792ea",
242 foreground: "c792ea",
240− token: "meta.var.expr"
243+ token: "meta.var.expr",
243 foreground: "c792ea",
246 foreground: "c792ea",
244− token: "meta.class meta.method.declaration meta.var.expr storage.type.jsm"
247+ token: "meta.class meta.method.declaration meta.var.expr storage.type.jsm",
247 foreground: "c792ea",
250 foreground: "c792ea",
248− token: "storage.type.property.js"
251+ token: "storage.type.property.js",
251 foreground: "c792ea",
254 foreground: "c792ea",
252− token: "storage.type.property.ts"
255+ token: "storage.type.property.ts",
255 foreground: "c792ea",
258 foreground: "c792ea",
256− token: "storage.type.property.tsx"
259+ token: "storage.type.property.tsx",
259 foreground: "82aaff",
262 foreground: "82aaff",
260− token: "storage.type"
263+ token: "storage.type",
263 foreground: "ffcb8b",
266 foreground: "ffcb8b",
264− token: "entity.name.class"
267+ token: "entity.name.class",
267 foreground: "ffcb8b",
270 foreground: "ffcb8b",
268− token: "meta.class entity.name.type.class"
271+ token: "meta.class entity.name.type.class",
271 foreground: "addb67",
274 foreground: "addb67",
272− token: "entity.other.inherited-class"
275+ token: "entity.other.inherited-class",
275 foreground: "82aaff",
278 foreground: "82aaff",
276− token: "entity.name.function"
279+ token: "entity.name.function",
279 foreground: "addb67",
282 foreground: "addb67",
280− token: "punctuation.definition.variable"
283+ token: "punctuation.definition.variable",
283 foreground: "d3423e",
286 foreground: "d3423e",
284− token: "punctuation.section.embedded"
287+ token: "punctuation.section.embedded",
287 foreground: "d6deeb",
290 foreground: "d6deeb",
288− token: "punctuation.terminator.expression"
291+ token: "punctuation.terminator.expression",
291 foreground: "d6deeb",
294 foreground: "d6deeb",
292− token: "punctuation.definition.arguments"
295+ token: "punctuation.definition.arguments",
295 foreground: "d6deeb",
298 foreground: "d6deeb",
296− token: "punctuation.definition.array"
299+ token: "punctuation.definition.array",
299 foreground: "d6deeb",
302 foreground: "d6deeb",
300− token: "punctuation.section.array"
303+ token: "punctuation.section.array",
303 foreground: "d6deeb",
306 foreground: "d6deeb",
304− token: "meta.array"
307+ token: "meta.array",
307 foreground: "d9f5dd",
310 foreground: "d9f5dd",
308− token: "punctuation.definition.list.begin"
311+ token: "punctuation.definition.list.begin",
311 foreground: "d9f5dd",
314 foreground: "d9f5dd",
312− token: "punctuation.definition.list.end"
315+ token: "punctuation.definition.list.end",
315 foreground: "d9f5dd",
318 foreground: "d9f5dd",
316− token: "punctuation.separator.arguments"
319+ token: "punctuation.separator.arguments",
319 foreground: "d9f5dd",
322 foreground: "d9f5dd",
320− token: "punctuation.definition.list"
323+ token: "punctuation.definition.list",
323 foreground: "d3423e",
326 foreground: "d3423e",
324− token: "string.template meta.template.expression"
327+ token: "string.template meta.template.expression",
327 foreground: "d6deeb",
330 foreground: "d6deeb",
328− token: "string.template punctuation.definition.string"
331+ token: "string.template punctuation.definition.string",
331 foreground: "c792ea",
334 foreground: "c792ea",
332 fontStyle: "italic",
335 fontStyle: "italic",
333− token: "italic"
336+ token: "italic",
336 foreground: "addb67",
339 foreground: "addb67",
337 fontStyle: "bold",
340 fontStyle: "bold",
338− token: "bold"
341+ token: "bold",
341 foreground: "82aaff",
344 foreground: "82aaff",
342− token: "constant.language"
345+ token: "constant.language",
345 foreground: "82aaff",
348 foreground: "82aaff",
346− token: "punctuation.definition.constant"
349+ token: "punctuation.definition.constant",
349 foreground: "82aaff",
352 foreground: "82aaff",
350− token: "variable.other.constant"
353+ token: "variable.other.constant",
353 foreground: "7fdbca",
356 foreground: "7fdbca",
354− token: "support.function.construct"
357+ token: "support.function.construct",
357 foreground: "7fdbca",
360 foreground: "7fdbca",
358− token: "keyword.other.new"
361+ token: "keyword.other.new",
361 foreground: "82aaff",
364 foreground: "82aaff",
362− token: "constant.character"
365+ token: "constant.character",
365 foreground: "82aaff",
368 foreground: "82aaff",
366− token: "constant.other"
369+ token: "constant.other",
369 foreground: "f78c6c",
372 foreground: "f78c6c",
370− token: "constant.character.escape"
373+ token: "constant.character.escape",
373 foreground: "addb67",
376 foreground: "addb67",
374− token: "entity.other.inherited-class"
377+ token: "entity.other.inherited-class",
377 foreground: "d7dbe0",
380 foreground: "d7dbe0",
378− token: "variable.parameter"
381+ token: "variable.parameter",
381 foreground: "7fdbca",
384 foreground: "7fdbca",
382− token: "entity.name.tag"
385+ token: "entity.name.tag",
385 foreground: "cc2996",
388 foreground: "cc2996",
386− token: "punctuation.definition.tag.html"
389+ token: "punctuation.definition.tag.html",
389 foreground: "cc2996",
392 foreground: "cc2996",
390− token: "punctuation.definition.tag.begin"
393+ token: "punctuation.definition.tag.begin",
393 foreground: "cc2996",
396 foreground: "cc2996",
394− token: "punctuation.definition.tag.end"
397+ token: "punctuation.definition.tag.end",
397 foreground: "addb67",
400 foreground: "addb67",
398− token: "entity.other.attribute-name"
401+ token: "entity.other.attribute-name",
401 foreground: "addb67",
404 foreground: "addb67",
402− token: "entity.name.tag.custom"
405+ token: "entity.name.tag.custom",
405 foreground: "82aaff",
408 foreground: "82aaff",
406− token: "support.function"
409+ token: "support.function",
409 foreground: "82aaff",
412 foreground: "82aaff",
410− token: "support.constant"
413+ token: "support.constant",
413 foreground: "7fdbca",
416 foreground: "7fdbca",
414− token: "upport.constant.meta.property-value"
417+ token: "upport.constant.meta.property-value",
417 foreground: "addb67",
420 foreground: "addb67",
418− token: "support.type"
421+ token: "support.type",
421 foreground: "addb67",
424 foreground: "addb67",
422− token: "support.class"
425+ token: "support.class",
425 foreground: "addb67",
428 foreground: "addb67",
426− token: "support.variable.dom"
429+ token: "support.variable.dom",
429 foreground: "7fdbca",
432 foreground: "7fdbca",
430− token: "support.constant"
433+ token: "support.constant",
433 foreground: "7fdbca",
436 foreground: "7fdbca",
434− token: "keyword.other.special-method"
437+ token: "keyword.other.special-method",
437 foreground: "7fdbca",
440 foreground: "7fdbca",
438− token: "keyword.other.new"
441+ token: "keyword.other.new",
441 foreground: "7fdbca",
444 foreground: "7fdbca",
442− token: "keyword.other.debugger"
445+ token: "keyword.other.debugger",
445 foreground: "7fdbca",
448 foreground: "7fdbca",
446− token: "keyword.control"
449+ token: "keyword.control",
449 foreground: "c792ea",
452 foreground: "c792ea",
450− token: "keyword.operator.comparison"
453+ token: "keyword.operator.comparison",
453 foreground: "c792ea",
456 foreground: "c792ea",
454− token: "keyword.control.flow.js"
457+ token: "keyword.control.flow.js",
457 foreground: "c792ea",
460 foreground: "c792ea",
458− token: "keyword.control.flow.ts"
461+ token: "keyword.control.flow.ts",
461 foreground: "c792ea",
464 foreground: "c792ea",
462− token: "keyword.control.flow.tsx"
465+ token: "keyword.control.flow.tsx",
465 foreground: "c792ea",
468 foreground: "c792ea",
466− token: "keyword.control.ruby"
469+ token: "keyword.control.ruby",
469 foreground: "c792ea",
472 foreground: "c792ea",
470− token: "keyword.control.module.ruby"
473+ token: "keyword.control.module.ruby",
473 foreground: "c792ea",
476 foreground: "c792ea",
474− token: "keyword.control.class.ruby"
477+ token: "keyword.control.class.ruby",
477 foreground: "c792ea",
480 foreground: "c792ea",
478− token: "keyword.control.def.ruby"
481+ token: "keyword.control.def.ruby",
481 foreground: "c792ea",
484 foreground: "c792ea",
482− token: "keyword.control.loop.js"
485+ token: "keyword.control.loop.js",
485 foreground: "c792ea",
488 foreground: "c792ea",
486− token: "keyword.control.loop.ts"
489+ token: "keyword.control.loop.ts",
489 foreground: "c792ea",
492 foreground: "c792ea",
490− token: "keyword.control.import.js"
493+ token: "keyword.control.import.js",
493 foreground: "c792ea",
496 foreground: "c792ea",
494− token: "keyword.control.import.ts"
497+ token: "keyword.control.import.ts",
497 foreground: "c792ea",
500 foreground: "c792ea",
498− token: "keyword.control.import.tsx"
501+ token: "keyword.control.import.tsx",
501 foreground: "c792ea",
504 foreground: "c792ea",
502− token: "keyword.control.from.js"
505+ token: "keyword.control.from.js",
505 foreground: "c792ea",
508 foreground: "c792ea",
506− token: "keyword.control.from.ts"
509+ token: "keyword.control.from.ts",
509 foreground: "c792ea",
512 foreground: "c792ea",
510− token: "keyword.control.from.tsx"
513+ token: "keyword.control.from.tsx",
513 foreground: "ffffff",
516 foreground: "ffffff",
514 background: "ff2c83",
517 background: "ff2c83",
515− token: "invalid"
518+ token: "invalid",
518 foreground: "ffffff",
521 foreground: "ffffff",
519 background: "d3423e",
522 background: "d3423e",
520− token: "invalid.deprecated"
523+ token: "invalid.deprecated",
523 foreground: "7fdbca",
526 foreground: "7fdbca",
524− token: "keyword.operator"
527+ token: "keyword.operator",
527 foreground: "c792ea",
530 foreground: "c792ea",
528− token: "keyword.operator.relational"
531+ token: "keyword.operator.relational",
531 foreground: "c792ea",
534 foreground: "c792ea",
532− token: "keyword.operator.assignement"
535+ token: "keyword.operator.assignement",
535 foreground: "c792ea",
538 foreground: "c792ea",
536− token: "keyword.operator.arithmetic"
539+ token: "keyword.operator.arithmetic",
539 foreground: "c792ea",
542 foreground: "c792ea",
540− token: "keyword.operator.bitwise"
543+ token: "keyword.operator.bitwise",
543 foreground: "c792ea",
546 foreground: "c792ea",
544− token: "keyword.operator.increment"
547+ token: "keyword.operator.increment",
547 foreground: "c792ea",
550 foreground: "c792ea",
548− token: "keyword.operator.ternary"
551+ token: "keyword.operator.ternary",
551 foreground: "637777",
554 foreground: "637777",
552− token: "comment.line.double-slash"
555+ token: "comment.line.double-slash",
555 foreground: "cdebf7",
558 foreground: "cdebf7",
556− token: "object"
559+ token: "object",
559 foreground: "ff5874",
562 foreground: "ff5874",
560− token: "constant.language.null"
563+ token: "constant.language.null",
563 foreground: "d6deeb",
566 foreground: "d6deeb",
564− token: "meta.brace"
567+ token: "meta.brace",
567 foreground: "c792ea",
570 foreground: "c792ea",
568− token: "meta.delimiter.period"
571+ token: "meta.delimiter.period",
571 foreground: "d9f5dd",
574 foreground: "d9f5dd",
572− token: "punctuation.definition.string"
575+ token: "punctuation.definition.string",
575 foreground: "ff5874",
578 foreground: "ff5874",
576− token: "constant.language.boolean"
579+ token: "constant.language.boolean",
579 foreground: "ffffff",
582 foreground: "ffffff",
580− token: "object.comma"
583+ token: "object.comma",
583 foreground: "7fdbca",
586 foreground: "7fdbca",
584− token: "variable.parameter.function"
587+ token: "variable.parameter.function",
587 foreground: "80cbc4",
590 foreground: "80cbc4",
588− token: "support.type.vendor.property-name"
591+ token: "support.type.vendor.property-name",
591 foreground: "80cbc4",
594 foreground: "80cbc4",
592− token: "support.constant.vendor.property-value"
595+ token: "support.constant.vendor.property-value",
595 foreground: "80cbc4",
598 foreground: "80cbc4",
596− token: "support.type.property-name"
599+ token: "support.type.property-name",
599 foreground: "80cbc4",
602 foreground: "80cbc4",
600− token: "meta.property-list entity.name.tag"
603+ token: "meta.property-list entity.name.tag",
603 foreground: "57eaf1",
606 foreground: "57eaf1",
604− token: "meta.property-list entity.name.tag.reference"
607+ token: "meta.property-list entity.name.tag.reference",
607 foreground: "f78c6c",
610 foreground: "f78c6c",
608− token: "constant.other.color.rgb-value punctuation.definition.constant"
611+ token: "constant.other.color.rgb-value punctuation.definition.constant",
611 foreground: "ffeb95",
614 foreground: "ffeb95",
612− token: "constant.other.color"
615+ token: "constant.other.color",
615 foreground: "ffeb95",
618 foreground: "ffeb95",
616− token: "keyword.other.unit"
619+ token: "keyword.other.unit",
619 foreground: "c792ea",
622 foreground: "c792ea",
620− token: "meta.selector"
623+ token: "meta.selector",
623 foreground: "fad430",
626 foreground: "fad430",
624− token: "entity.other.attribute-name.id"
627+ token: "entity.other.attribute-name.id",
627 foreground: "80cbc4",
630 foreground: "80cbc4",
628− token: "meta.property-name"
631+ token: "meta.property-name",
631 foreground: "c792ea",
634 foreground: "c792ea",
632− token: "entity.name.tag.doctype"
635+ token: "entity.name.tag.doctype",
635 foreground: "c792ea",
638 foreground: "c792ea",
636− token: "meta.tag.sgml.doctype"
639+ token: "meta.tag.sgml.doctype",
639 foreground: "d9f5dd",
642 foreground: "d9f5dd",
640− token: "punctuation.definition.parameters"
643+ token: "punctuation.definition.parameters",
643 foreground: "ecc48d",
646 foreground: "ecc48d",
644− token: "string.quoted"
647+ token: "string.quoted",
647 foreground: "ecc48d",
650 foreground: "ecc48d",
648− token: "string.quoted.double"
651+ token: "string.quoted.double",
651 foreground: "ecc48d",
654 foreground: "ecc48d",
652− token: "string.quoted.single"
655+ token: "string.quoted.single",
655 foreground: "addb67",
658 foreground: "addb67",
656− token: "support.constant.math"
659+ token: "support.constant.math",
659 foreground: "addb67",
662 foreground: "addb67",
660− token: "support.type.property-name.json"
663+ token: "support.type.property-name.json",
663 foreground: "addb67",
666 foreground: "addb67",
664− token: "support.constant.json"
667+ token: "support.constant.json",
667 foreground: "c789d6",
670 foreground: "c789d6",
668− token: "meta.structure.dictionary.value.json string.quoted.double"
671+ token: "meta.structure.dictionary.value.json string.quoted.double",
671 foreground: "80cbc4",
674 foreground: "80cbc4",
672− token: "string.quoted.double.json punctuation.definition.string.json"
675+ token: "string.quoted.double.json punctuation.definition.string.json",
675 foreground: "ff5874",
678 foreground: "ff5874",
676− token: "meta.structure.dictionary.json meta.structure.dictionary.value constant.language"
679+ token: "meta.structure.dictionary.json meta.structure.dictionary.value constant.language",
679 foreground: "d6deeb",
682 foreground: "d6deeb",
680− token: "variable.other.ruby"
683+ token: "variable.other.ruby",
683 foreground: "ecc48d",
686 foreground: "ecc48d",
684− token: "entity.name.type.class.ruby"
687+ token: "entity.name.type.class.ruby",
687 foreground: "ecc48d",
690 foreground: "ecc48d",
688− token: "keyword.control.class.ruby"
691+ token: "keyword.control.class.ruby",
691 foreground: "ecc48d",
694 foreground: "ecc48d",
692− token: "meta.class.ruby"
695+ token: "meta.class.ruby",
695 foreground: "7fdbca",
698 foreground: "7fdbca",
696− token: "constant.language.symbol.hashkey.ruby"
699+ token: "constant.language.symbol.hashkey.ruby",
699 foreground: "e0eddd",
702 foreground: "e0eddd",
700 background: "a57706",
703 background: "a57706",
701 fontStyle: "italic",
704 fontStyle: "italic",
702− token: "meta.diff"
705+ token: "meta.diff",
705 foreground: "e0eddd",
708 foreground: "e0eddd",
706 background: "a57706",
709 background: "a57706",
707 fontStyle: "italic",
710 fontStyle: "italic",
708− token: "meta.diff.header"
711+ token: "meta.diff.header",
711 foreground: "ef535090",
714 foreground: "ef535090",
712 fontStyle: "italic",
715 fontStyle: "italic",
713− token: "markup.deleted"
716+ token: "markup.deleted",
716 foreground: "a2bffc",
719 foreground: "a2bffc",
717 fontStyle: "italic",
720 fontStyle: "italic",
718− token: "markup.changed"
721+ token: "markup.changed",
721 foreground: "a2bffc",
724 foreground: "a2bffc",
722 fontStyle: "italic",
725 fontStyle: "italic",
723− token: "meta.diff.header.git"
726+ token: "meta.diff.header.git",
726 foreground: "a2bffc",
729 foreground: "a2bffc",
727 fontStyle: "italic",
730 fontStyle: "italic",
728− token: "meta.diff.header.from-file"
731+ token: "meta.diff.header.from-file",
731 foreground: "a2bffc",
734 foreground: "a2bffc",
732 fontStyle: "italic",
735 fontStyle: "italic",
733− token: "meta.diff.header.to-file"
736+ token: "meta.diff.header.to-file",
736 foreground: "219186",
739 foreground: "219186",
737 background: "eae3ca",
740 background: "eae3ca",
738− token: "markup.inserted"
741+ token: "markup.inserted",
741 foreground: "d3201f",
744 foreground: "d3201f",
742− token: "other.package.exclude"
745+ token: "other.package.exclude",
745 foreground: "d3201f",
748 foreground: "d3201f",
746− token: "other.remove"
749+ token: "other.remove",
749 foreground: "269186",
752 foreground: "269186",
750− token: "other.add"
753+ token: "other.add",
753 foreground: "ff5874",
756 foreground: "ff5874",
754− token: "constant.language.python"
757+ token: "constant.language.python",
757 foreground: "82aaff",
760 foreground: "82aaff",
758− token: "variable.parameter.function.python"
761+ token: "variable.parameter.function.python",
761 foreground: "82aaff",
764 foreground: "82aaff",
762− token: "meta.function-call.arguments.python"
765+ token: "meta.function-call.arguments.python",
765 foreground: "b2ccd6",
768 foreground: "b2ccd6",
766− token: "meta.function-call.python"
769+ token: "meta.function-call.python",
769 foreground: "b2ccd6",
772 foreground: "b2ccd6",
770− token: "meta.function-call.generic.python"
773+ token: "meta.function-call.generic.python",
773 foreground: "d6deeb",
776 foreground: "d6deeb",
774− token: "punctuation.python"
777+ token: "punctuation.python",
777 foreground: "addb67",
780 foreground: "addb67",
778− token: "entity.name.function.decorator.python"
781+ token: "entity.name.function.decorator.python",
781 foreground: "8eace3",
784 foreground: "8eace3",
782− token: "source.python variable.language.special"
785+ token: "source.python variable.language.special",
785 foreground: "82b1ff",
788 foreground: "82b1ff",
786− token: "markup.heading.markdown"
789+ token: "markup.heading.markdown",
789 foreground: "c792ea",
792 foreground: "c792ea",
790 fontStyle: "italic",
793 fontStyle: "italic",
791− token: "markup.italic.markdown"
794+ token: "markup.italic.markdown",
794 foreground: "addb67",
797 foreground: "addb67",
795 fontStyle: "bold",
798 fontStyle: "bold",
796− token: "markup.bold.markdown"
799+ token: "markup.bold.markdown",
799 foreground: "697098",
802 foreground: "697098",
800− token: "markup.quote.markdown"
803+ token: "markup.quote.markdown",
803 foreground: "80cbc4",
806 foreground: "80cbc4",
804− token: "markup.inline.raw.markdown"
807+ token: "markup.inline.raw.markdown",
807 foreground: "ff869a",
810 foreground: "ff869a",
808− token: "markup.underline.link.markdown"
811+ token: "markup.underline.link.markdown",
811 foreground: "ff869a",
814 foreground: "ff869a",
812− token: "markup.underline.link.image.markdown"
815+ token: "markup.underline.link.image.markdown",
815 foreground: "d6deeb",
818 foreground: "d6deeb",
816− token: "string.other.link.title.markdown"
819+ token: "string.other.link.title.markdown",
819 foreground: "d6deeb",
822 foreground: "d6deeb",
820− token: "string.other.link.description.markdown"
823+ token: "string.other.link.description.markdown",
823 foreground: "82b1ff",
826 foreground: "82b1ff",
824− token: "punctuation.definition.string.markdown"
827+ token: "punctuation.definition.string.markdown",
827 foreground: "82b1ff",
830 foreground: "82b1ff",
828− token: "punctuation.definition.string.begin.markdown"
831+ token: "punctuation.definition.string.begin.markdown",
831 foreground: "82b1ff",
834 foreground: "82b1ff",
832− token: "punctuation.definition.string.end.markdown"
835+ token: "punctuation.definition.string.end.markdown",
835 foreground: "82b1ff",
838 foreground: "82b1ff",
836− token: "meta.link.inline.markdown punctuation.definition.string"
839+ token: "meta.link.inline.markdown punctuation.definition.string",
839 foreground: "7fdbca",
842 foreground: "7fdbca",
840− token: "punctuation.definition.metadata.markdown"
843+ token: "punctuation.definition.metadata.markdown",
843 foreground: "82b1ff",
846 foreground: "82b1ff",
844− token: "beginning.punctuation.definition.list.markdown"
847+ token: "beginning.punctuation.definition.list.markdown",
847 colors: {
850 colors: {
848 "editor.foreground": "#d6deeb",
851 "editor.foreground": "#d6deeb",
@@ -853,8 +856,8 @@ exports.nightOwlTheme = function (bg) { return ({
853 "editorCursor.foreground": "#80a4c2",
856 "editorCursor.foreground": "#80a4c2",
854 "editorWhitespace.foreground": "#2e2040",
857 "editorWhitespace.foreground": "#2e2040",
855 "editorIndentGuide.background": "#5e81ce52",
858 "editorIndentGuide.background": "#5e81ce52",
856− "editor.selectionHighlightBorder": "#122d42"
859+ "editor.selectionHighlightBorder": "#122d42",
859exports.purescriptSyntax = {
862exports.purescriptSyntax = {
860 displayName: "Purescript",
863 displayName: "Purescript",
@@ -895,7 +898,7 @@ exports.purescriptSyntax = {
896 "foreign",
899 "foreign",
897 "forall",
900 "forall",
900 extraKeywords: [],
903 extraKeywords: [],
901 typeKeywords: [],
904 typeKeywords: [],
@@ -909,11 +912,11 @@ exports.purescriptSyntax = {
911 "((?:[A-Z]@idchars\\.)+)([a-z]@idchars)",
914 "((?:[A-Z]@idchars\\.)+)([a-z]@idchars)",
912− ["identifier.namespace", "identifier"]
915+ ["identifier.namespace", "identifier"],
915 "((?:[A-Z]@idchars\\.)+)([A-Z]@idchars)",
918 "((?:[A-Z]@idchars\\.)+)([A-Z]@idchars)",
916− ["identifier.namespace", "constructor"]
919+ ["identifier.namespace", "constructor"],
919 "[a-z]@idchars(?!\\.)",
922 "[a-z]@idchars(?!\\.)",
@@ -923,9 +926,9 @@ exports.purescriptSyntax = {
923 "@typeStart": { token: "keyword", next: "@type_type" },
926 "@typeStart": { token: "keyword", next: "@type_type" },
924 "@keywords": "keyword",
927 "@keywords": "keyword",
925 "@extraKeywords": "keyword",
928 "@extraKeywords": "keyword",
926− "@default": "identifier"
929+ "@default": "identifier",
930 ["[A-Z]@idchars", "type.identifier"],
933 ["[A-Z]@idchars", "type.identifier"],
931 ["_@idchars", "identifier.wildcard"],
934 ["_@idchars", "identifier.wildcard"],
@@ -940,9 +943,9 @@ exports.purescriptSyntax = {
941 "@keywords": "keyword.operator",
944 "@keywords": "keyword.operator",
942 "@extraKeywords": "keyword.operator",
945 "@extraKeywords": "keyword.operator",
943− "@default": "operator"
946+ "@default": "operator",
947 ["[0-9]+\\.[0-9]+([eE][\\-+]?[0-9]+)?", "number.float"],
950 ["[0-9]+\\.[0-9]+([eE][\\-+]?[0-9]+)?", "number.float"],
948 ["0[xX][0-9a-fA-F]+", "number.hex"],
951 ["0[xX][0-9a-fA-F]+", "number.hex"],
@@ -952,49 +955,49 @@ exports.purescriptSyntax = {
952 ["'[^\\\\']'", "string"],
955 ["'[^\\\\']'", "string"],
953 ["(')(@escapes)(')", ["string", "string.escape", "string"]],
956 ["(')(@escapes)(')", ["string", "string.escape", "string"]],
954 ["'", "string.invalid"],
957 ["'", "string.invalid"],
955− ["^[ ]*#.*", "namespace"]
958+ ["^[ ]*#.*", "namespace"],
957 whitespace: [
960 whitespace: [
958 ["[ \\r\\n]+", ""],
961 ["[ \\r\\n]+", ""],
959 ["{-", "comment", "@comment"],
962 ["{-", "comment", "@comment"],
960− ["--.*$", "comment"]
963+ ["--.*$", "comment"],
962 comment: [
965 comment: [
963 ["[^\\{\\-]+", "comment"],
966 ["[^\\{\\-]+", "comment"],
964 ["{-", "comment", "@push"],
967 ["{-", "comment", "@push"],
965 ["-}", "comment", "@pop"],
968 ["-}", "comment", "@pop"],
966− ["[\\{\\-]", "comment"]
969+ ["[\\{\\-]", "comment"],
968 string: [
971 string: [
969 ['[^\\\\"]+', "string"],
972 ['[^\\\\"]+', "string"],
970 ["@escapes", "string.escape"],
973 ["@escapes", "string.escape"],
971 ["\\\\.", "string.escape.invalid"],
974 ["\\\\.", "string.escape.invalid"],
972− ['"', { token: "string.quote", bracket: "@close", next: "@pop" }]
975+ ['"', { token: "string.quote", bracket: "@close", next: "@pop" }],
974 type_type: [
977 type_type: [
975 ["\\=", "keyword"],
978 ["\\=", "keyword"],
976 ["^\\s*(?!\\-\\-|\\{\\-)[^\\s]", { token: "@rematch", next: "@pop" }],
979 ["^\\s*(?!\\-\\-|\\{\\-)[^\\s]", { token: "@rematch", next: "@pop" }],
977− { include: "@type" }
980+ { include: "@type" },
979 type_data: [
982 type_data: [
980 ["([=|])(\\s*)([A-Z]@idchars)", ["keyword.operator", "", "constructor"]],
983 ["([=|])(\\s*)([A-Z]@idchars)", ["keyword.operator", "", "constructor"]],
981 ["^\\s*$", { token: "", next: "@pop" }],
984 ["^\\s*$", { token: "", next: "@pop" }],
982− { include: "@type" }
985+ { include: "@type" },
984 type_line: [
987 type_line: [
985 ["^\\s*(?!\\-\\-|\\{\\-)[_a-z]", { token: "@rematch", next: "@pop" }],
988 ["^\\s*(?!\\-\\-|\\{\\-)[_a-z]", { token: "@rematch", next: "@pop" }],
986 ["[^=]*=", { token: "@rematch", next: "@pop" }],
989 ["[^=]*=", { token: "@rematch", next: "@pop" }],
987− { include: "@type" }
990+ { include: "@type" },
990 ["[(\\[]", { token: "@brackets.type" }, "@type_nested"],
993 ["[(\\[]", { token: "@brackets.type" }, "@type_nested"],
991− { include: "@type_content" }
994+ { include: "@type_content" },
993 type_nested: [
996 type_nested: [
994 ["[)\\]]", { token: "@brackets.type" }, "@pop"],
997 ["[)\\]]", { token: "@brackets.type" }, "@pop"],
995 ["[(\\[]", { token: "@brackets.type" }, "@push"],
998 ["[(\\[]", { token: "@brackets.type" }, "@push"],
996 [",", "delimiter.type"],
999 [",", "delimiter.type"],
997− { include: "@type_content" }
1000+ { include: "@type_content" },
999 type_content: [
1002 type_content: [
1000 { include: "@whitespace" },
1003 { include: "@whitespace" },
@@ -1002,7 +1005,7 @@ exports.purescriptSyntax = {
1002 ["_@idchars", "type.identifier.typevar"],
1005 ["_@idchars", "type.identifier.typevar"],
1004 "((?:[A-Z]@idchars\\.)*)([A-Z]@idchars)",
1007 "((?:[A-Z]@idchars\\.)*)([A-Z]@idchars)",
1005− ["type.identifier.namespace", "type.identifier"]
1008+ ["type.identifier.namespace", "type.identifier"],
1008 "((?:[A-Z]@idchars\\.)*)([a-z]@idchars)",
1011 "((?:[A-Z]@idchars\\.)*)([a-z]@idchars)",
@@ -1010,12 +1013,12 @@ exports.purescriptSyntax = {
1010 cases: {
1013 cases: {
1011 "@typeKeywords": ["type.identifier.namespace", "type.keyword"],
1014 "@typeKeywords": ["type.identifier.namespace", "type.keyword"],
1012 "@keywords": { token: "@rematch", next: "@pop" },
1015 "@keywords": { token: "@rematch", next: "@pop" },
1013− "@default": ["type.identifier.namespace", "type.identifier"]
1016+ "@default": ["type.identifier.namespace", "type.identifier"],
1017 ["::|->|[\\.:|]", "type.operator"],
1020 ["::|->|[\\.:|]", "type.operator"],
1018− ["[\\s\\S]", "@rematch", "@pop"]
1021+ ["[\\s\\S]", "@rematch", "@pop"],