More second command to Ctx

This commit is contained in:
Aleksey Kladov 2019-12-30 14:53:43 +01:00
parent e53ccb6e99
commit 29e86c0c72
4 changed files with 14 additions and 11 deletions

View file

@ -1,8 +1,8 @@
import * as vscode from 'vscode';
import { Ctx } from '../ctx';
import { Ctx, Cmd } from '../ctx';
// Shows status of rust-analyzer (for debugging)
export function analyzerStatus(ctx: Ctx) {
export function analyzerStatus(ctx: Ctx): Cmd {
let poller: NodeJS.Timer | null = null;
const tdcp = new TextDocumentContentProvider(ctx);