diff options
author | Aleksey Kladov <[email protected]> | 2019-12-30 14:50:15 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-12-30 18:07:59 +0000 |
commit | 83d2527880d86653ce00940c65620319b36afcff (patch) | |
tree | 1c20ffd305fe661b1aab9d1e0b0bbc7e05ec389c /editors/code/src/main.ts | |
parent | b42d3ee3cc22aaa892d15c4ba2219a3bc53907a1 (diff) |
Move joinLines to the new Ctx
Diffstat (limited to 'editors/code/src/main.ts')
-rw-r--r-- | editors/code/src/main.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index a4149a059..95beb2d8f 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts | |||
@@ -18,6 +18,7 @@ export async function activate(context: vscode.ExtensionContext) { | |||
18 | ctx.registerCommand('analyzerStatus', commands.analyzerStatus); | 18 | ctx.registerCommand('analyzerStatus', commands.analyzerStatus); |
19 | ctx.registerCommand('collectGarbage', commands.collectGarbage); | 19 | ctx.registerCommand('collectGarbage', commands.collectGarbage); |
20 | ctx.registerCommand('matchingBrace', commands.matchingBrace); | 20 | ctx.registerCommand('matchingBrace', commands.matchingBrace); |
21 | ctx.registerCommand('joinLines', commands.joinLines); | ||
21 | 22 | ||
22 | function disposeOnDeactivation(disposable: vscode.Disposable) { | 23 | function disposeOnDeactivation(disposable: vscode.Disposable) { |
23 | context.subscriptions.push(disposable); | 24 | context.subscriptions.push(disposable); |
@@ -56,7 +57,6 @@ export async function activate(context: vscode.ExtensionContext) { | |||
56 | } | 57 | } |
57 | 58 | ||
58 | // Commands are requests from vscode to the language server | 59 | // Commands are requests from vscode to the language server |
59 | registerCommand('rust-analyzer.joinLines', commands.joinLines.handle); | ||
60 | registerCommand('rust-analyzer.parentModule', commands.parentModule.handle); | 60 | registerCommand('rust-analyzer.parentModule', commands.parentModule.handle); |
61 | registerCommand('rust-analyzer.run', commands.runnables.handle); | 61 | registerCommand('rust-analyzer.run', commands.runnables.handle); |
62 | // Unlike the above this does not send requests to the language server | 62 | // Unlike the above this does not send requests to the language server |