mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
vscode: yet another refactor commit
This commit is contained in:
parent
c9e1aab880
commit
b89b22e43e
7 changed files with 30 additions and 35 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue