better stats

This commit is contained in:
Aleksey Kladov 2019-01-25 16:10:34 +03:00
parent 021e691997
commit 8d68b76ba0
3 changed files with 109 additions and 11 deletions

View file

@ -45,7 +45,10 @@ export function activate(context: vscode.ExtensionContext) {
}
// Commands are requests from vscode to the language server
registerCommand('ra-lsp.analyzerStatus', commands.analyzerStatus.handle);
registerCommand(
'ra-lsp.analyzerStatus',
commands.analyzerStatus.makeCommand(context)
);
registerCommand('ra-lsp.syntaxTree', commands.syntaxTree.handle);
registerCommand('ra-lsp.extendSelection', commands.extendSelection.handle);
registerCommand('ra-lsp.matchingBrace', commands.matchingBrace.handle);