vscode: yet another refactor commit

This commit is contained in:
Veetaha 2020-02-05 00:13:46 +02:00
parent c9e1aab880
commit b89b22e43e
7 changed files with 30 additions and 35 deletions

View file

@ -7,7 +7,7 @@ import { Cmd, Ctx } from '../ctx';
async function handleKeypress(ctx: Ctx) {
const editor = ctx.activeRustEditor;
const client = ctx.client;
if (!editor) return false;
if (!editor || !client) return false;
const request: lc.TextDocumentPositionParams = {