From 4abe03879bbd11536fbb51b30342cdad74317025 Mon Sep 17 00:00:00 2001 From: Ekaterina Babshukova Date: Thu, 18 Jul 2019 18:49:32 +0300 Subject: highlight mutable variables differently --- editors/code/package.json | 9 +++++++++ editors/code/src/highlighting.ts | 1 + 2 files changed, 10 insertions(+) (limited to 'editors') 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 @@ -432,6 +432,15 @@ "highContrast": "#4EC9B0" } }, + { + "id": "ralsp.variable.mut", + "description": "Color for mutable variables", + "defaults": { + "dark": "#4e65c9", + "light": "#263199", + "highContrast": "#4e65c9" + } + }, { "id": "ralsp.module", "description": "Color for modules", 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 { colorContrib('literal'), colorContrib('macro'), colorContrib('variable'), + colorContrib('variable.mut'), colorContrib('field'), colorContrib('module') ]; -- cgit v1.2.3