about summary refs log tree commit diff
path: root/editors/code/src/commands.ts
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2023-03-26 08:39:28 +0200
committerLukas Wirth <lukastw97@gmail.com>2023-03-26 09:33:41 +0200
commitee02213e65b1fd9c5e331ffe4a1ebd1e2ebab9c8 (patch)
tree31ea6d4215d51ffe5b70ddb3166b8aabb87b2976 /editors/code/src/commands.ts
parent27c076a36744f7f8be3b950891cbc0350dc29f6e (diff)
downloadrust-ee02213e65b1fd9c5e331ffe4a1ebd1e2ebab9c8.tar.gz
rust-ee02213e65b1fd9c5e331ffe4a1ebd1e2ebab9c8.zip
Handle proc macro fetching via OpQueue
Diffstat (limited to 'editors/code/src/commands.ts')
-rw-r--r--editors/code/src/commands.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts
index 8ce3466ed44..486127d005a 100644
--- a/editors/code/src/commands.ts
+++ b/editors/code/src/commands.ts
@@ -749,8 +749,8 @@ export function reloadWorkspace(ctx: CtxInit): Cmd {
     return async () => ctx.client.sendRequest(ra.reloadWorkspace);
 }
 
-export function reloadProcMacros(ctx: CtxInit): Cmd {
-    return async () => ctx.client.sendRequest(ra.reloadProcMacros);
+export function rebuildProcMacros(ctx: CtxInit): Cmd {
+    return async () => ctx.client.sendRequest(ra.rebuildProcMacros);
 }
 
 export function addProject(ctx: CtxInit): Cmd {