aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-02-04 22:13:46 +0000
committerVeetaha <[email protected]>2020-02-04 22:13:46 +0000
commitb89b22e43eb7e821674e0022f4061442b9e29394 (patch)
tree05ca0a665569aad393bd6c83cc9bcb0933d5085f /editors/code/src/commands
parentc9e1aab8803264a40023aa09600b0a8fab8e00ff (diff)
vscode: yet another refactor commit
Diffstat (limited to 'editors/code/src/commands')
-rw-r--r--editors/code/src/commands/on_enter.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands/on_enter.ts b/editors/code/src/commands/on_enter.ts
index c636234da..25eaebcbe 100644
--- a/editors/code/src/commands/on_enter.ts
+++ b/editors/code/src/commands/on_enter.ts
@@ -7,7 +7,7 @@ import { Cmd, Ctx } from '../ctx';
7async function handleKeypress(ctx: Ctx) { 7async function handleKeypress(ctx: Ctx) {
8 const editor = ctx.activeRustEditor; 8 const editor = ctx.activeRustEditor;
9 const client = ctx.client; 9 const client = ctx.client;
10 if (!editor) return false; 10
11 if (!editor || !client) return false; 11 if (!editor || !client) return false;
12 12
13 const request: lc.TextDocumentPositionParams = { 13 const request: lc.TextDocumentPositionParams = {