mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-29 06:23:25 +00:00
31 lines
789 B
TypeScript
31 lines
789 B
TypeScript
import { Ctx, Cmd } from '../ctx';
|
|
|
|
import { analyzerStatus } from './analyzer_status';
|
|
import { matchingBrace } from './matching_brace';
|
|
import { joinLines } from './join_lines';
|
|
import { onEnter } from './on_enter';
|
|
import { parentModule } from './parent_module';
|
|
import { syntaxTree } from './syntax_tree';
|
|
import { expandMacro } from './expand_macro';
|
|
import * as inlayHints from './inlay_hints';
|
|
import { run, runSingle } from './runnables';
|
|
|
|
function collectGarbage(ctx: Ctx): Cmd {
|
|
return async () => {
|
|
ctx.client.sendRequest<null>('rust-analyzer/collectGarbage', null);
|
|
};
|
|
}
|
|
|
|
export {
|
|
analyzerStatus,
|
|
expandMacro,
|
|
joinLines,
|
|
matchingBrace,
|
|
parentModule,
|
|
syntaxTree,
|
|
onEnter,
|
|
inlayHints,
|
|
collectGarbage,
|
|
run,
|
|
runSingle
|
|
};
|