aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/highlighting.ts
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-02-22 18:58:00 +0000
committerVeetaha <[email protected]>2020-02-23 13:49:09 +0000
commit4cee7cddc84aa3769d5d3e87e5745f4c981bca28 (patch)
treef8b98268925cf01e2cc74a9e12fac81a460c1eff /editors/code/src/highlighting.ts
parent838ad6bcfb2a82c030e18d019b8a06752f0fc828 (diff)
vscode: gracefully handle cancellation errors
Diffstat (limited to 'editors/code/src/highlighting.ts')
-rw-r--r--editors/code/src/highlighting.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/code/src/highlighting.ts b/editors/code/src/highlighting.ts
index b34e49c17..77b4a1a68 100644
--- a/editors/code/src/highlighting.ts
+++ b/editors/code/src/highlighting.ts
@@ -3,7 +3,8 @@ import * as lc from 'vscode-languageclient';
3 3
4import { ColorTheme, TextMateRuleSettings } from './color_theme'; 4import { ColorTheme, TextMateRuleSettings } from './color_theme';
5 5
6import { Ctx, sendRequestWithRetry } from './ctx'; 6import { Ctx } from './ctx';
7import { sendRequestWithRetry } from './util';
7 8
8export function activateHighlighting(ctx: Ctx) { 9export function activateHighlighting(ctx: Ctx) {
9 const highlighter = new Highlighter(ctx); 10 const highlighter = new Highlighter(ctx);