aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorEkaterina Babshukova <[email protected]>2019-07-18 16:49:32 +0100
committerEkaterina Babshukova <[email protected]>2019-07-18 16:52:50 +0100
commit4abe03879bbd11536fbb51b30342cdad74317025 (patch)
tree33266be000ef9aabe1049916d9772af70a4249b5 /editors/code
parenta15a278308047b160e5805dbb554a1949fcb0228 (diff)
highlight mutable variables differently
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json9
-rw-r--r--editors/code/src/highlighting.ts1
2 files changed, 10 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 052f0b3b3..86076753b 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -433,6 +433,15 @@
433 } 433 }
434 }, 434 },
435 { 435 {
436 "id": "ralsp.variable.mut",
437 "description": "Color for mutable variables",
438 "defaults": {
439 "dark": "#4e65c9",
440 "light": "#263199",
441 "highContrast": "#4e65c9"
442 }
443 },
444 {
436 "id": "ralsp.module", 445 "id": "ralsp.module",
437 "description": "Color for modules", 446 "description": "Color for modules",
438 "defaults": { 447 "defaults": {
diff --git a/editors/code/src/highlighting.ts b/editors/code/src/highlighting.ts
index 52a0bd4bb..f3ed66365 100644
--- a/editors/code/src/highlighting.ts
+++ b/editors/code/src/highlighting.ts
@@ -56,6 +56,7 @@ export class Highlighter {
56 colorContrib('literal'), 56 colorContrib('literal'),
57 colorContrib('macro'), 57 colorContrib('macro'),
58 colorContrib('variable'), 58 colorContrib('variable'),
59 colorContrib('variable.mut'),
59 colorContrib('field'), 60 colorContrib('field'),
60 colorContrib('module') 61 colorContrib('module')
61 ]; 62 ];