Skip to content
Snippets Groups Projects
Commit 7f55b479 authored by fesily's avatar fesily
Browse files

add lua.reloadFFIMeta

parent 86fa56a4
No related branches found
No related tags found
No related merge requests found
......@@ -76,6 +76,12 @@ function registerCustomCommands(context: ExtensionContext) {
arguments: [output.toString()],
});
}));
context.subscriptions.push(Commands.registerCommand('lua.reloadFFIMeta', async () => {
defaultClient.client.sendRequest(ExecuteCommandRequest.type, {
command: 'lua.reloadFFIMeta',
})
}))
}
/** Creates a new {@link LuaClient} and starts it. */
......
......@@ -46,6 +46,10 @@ return {
command = "lua.exportDocument",
title = "%command.exportDocument%",
},
{
command = "lua.reloadFFIMeta",
title = "%command.reloadFFIMeta%",
},
},
menus = {
["editor/context"] = {
......@@ -59,6 +63,11 @@ return {
command = "lua.addon_manager.open",
group = "z_commands",
},
{
when = "resourceLangId == lua",
command = "lua.reloadFFIMeta",
group = "z_commands"
},
}
},
configuration = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment