vscode: gracefully handle cancellation errors

This commit is contained in:
Veetaha 2020-02-22 20:58:00 +02:00
parent 838ad6bcfb
commit 4cee7cddc8
4 changed files with 60 additions and 44 deletions

View file

@ -3,7 +3,8 @@ import * as lc from 'vscode-languageclient';
import { ColorTheme, TextMateRuleSettings } from './color_theme';
import { Ctx, sendRequestWithRetry } from './ctx';
import { Ctx } from './ctx';
import { sendRequestWithRetry } from './util';
export function activateHighlighting(ctx: Ctx) {
const highlighter = new Highlighter(ctx);