From 225ef6dea24a0e8766fdfd677fb98a15095fa7e5 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 26 Feb 2020 16:03:30 +0100 Subject: Config to switch to semantic tokens --- editors/code/src/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'editors/code/src/main.ts') diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index 424ff1ac3..ecf53cf77 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts @@ -89,7 +89,9 @@ export async function activate(context: vscode.ExtensionContext) { activateStatusDisplay(ctx); - activateHighlighting(ctx); + if (!ctx.config.highlightingSemanticTokens) { + activateHighlighting(ctx); + } activateInlayHints(ctx); } -- cgit v1.2.3