aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands/server_version.ts
blob: 3a982a418a5e3dd39e4cb85aca85d601eac1524e (plain)
1
2
3
4
5
6
7
8
9
import * as vscode from 'vscode';
import { ServerVersion } from '../installation/server';
import { Cmd } from '../ctx';

export function serverVersion(): Cmd {
    return () => {
        vscode.window.showInformationMessage('rust-analyzer version : ' + ServerVersion);
    };
}