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 * as expandMacro from './expand_macro'; import * as inlayHints from './inlay_hints'; import * as parentModule from './parent_module'; import * as runnables from './runnables'; import * as syntaxTree from './syntaxTree'; function collectGarbage(ctx: Ctx): Cmd { return async () => { ctx.client.sendRequest('rust-analyzer/collectGarbage', null) } } export { analyzerStatus, expandMacro, joinLines, matchingBrace, parentModule, runnables, syntaxTree, onEnter, inlayHints, collectGarbage };