aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/commands/index.ts')
-rw-r--r--editors/code/src/commands/index.ts18
1 files changed, 9 insertions, 9 deletions
diff --git a/editors/code/src/commands/index.ts b/editors/code/src/commands/index.ts
index 9d9b9c575..8f91b3b7d 100644
--- a/editors/code/src/commands/index.ts
+++ b/editors/code/src/commands/index.ts
@@ -1,23 +1,23 @@
1import { Ctx, Cmd } from '../ctx' 1import { Ctx, Cmd } from '../ctx';
2 2
3import { analyzerStatus } from './analyzer_status'; 3import { analyzerStatus } from './analyzer_status';
4import { matchingBrace } from './matching_brace'; 4import { matchingBrace } from './matching_brace';
5import * as applySourceChange from './apply_source_change'; 5import { joinLines } from './join_lines';
6import { onEnter } from './on_enter';
7import { parentModule } from './parent_module';
8import { syntaxTree } from './syntax_tree';
6import * as expandMacro from './expand_macro'; 9import * as expandMacro from './expand_macro';
7import * as inlayHints from './inlay_hints'; 10import * as inlayHints from './inlay_hints';
8import * as joinLines from './join_lines';
9import * as onEnter from './on_enter';
10import * as parentModule from './parent_module';
11import * as runnables from './runnables'; 11import * as runnables from './runnables';
12import * as syntaxTree from './syntaxTree';
13 12
14function collectGarbage(ctx: Ctx): Cmd { 13function collectGarbage(ctx: Ctx): Cmd {
15 return async () => { ctx.client.sendRequest<null>('rust-analyzer/collectGarbage', null) } 14 return async () => {
15 ctx.client.sendRequest<null>('rust-analyzer/collectGarbage', null);
16 };
16} 17}
17 18
18export { 19export {
19 analyzerStatus, 20 analyzerStatus,
20 applySourceChange,
21 expandMacro, 21 expandMacro,
22 joinLines, 22 joinLines,
23 matchingBrace, 23 matchingBrace,
@@ -26,5 +26,5 @@ export {
26 syntaxTree, 26 syntaxTree,
27 onEnter, 27 onEnter,
28 inlayHints, 28 inlayHints,
29 collectGarbage 29 collectGarbage,
30}; 30};