aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/highlighting.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/highlighting.ts')
-rw-r--r--editors/code/src/highlighting.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/highlighting.ts b/editors/code/src/highlighting.ts
index ced78adc1..0f9271de2 100644
--- a/editors/code/src/highlighting.ts
+++ b/editors/code/src/highlighting.ts
@@ -12,7 +12,7 @@ export function activateHighlighting(ctx: Ctx) {
12 vscode.window.onDidChangeActiveTextEditor( 12 vscode.window.onDidChangeActiveTextEditor(
13 async (editor: vscode.TextEditor | undefined) => { 13 async (editor: vscode.TextEditor | undefined) => {
14 if (!editor || editor.document.languageId !== 'rust') return; 14 if (!editor || editor.document.languageId !== 'rust') return;
15 if (!Server.config.highlightingOn) return; 15 if (!ctx.config.highlightingOn) return;
16 16
17 const params: lc.TextDocumentIdentifier = { 17 const params: lc.TextDocumentIdentifier = {
18 uri: editor.document.uri.toString(), 18 uri: editor.document.uri.toString(),