diff options
author | Niels Breuker <niels.breuker@hotmail.nl> | 2023-03-12 14:23:19 +0100 |
---|---|---|
committer | Niels Breuker <niels.breuker@hotmail.nl> | 2023-03-12 14:23:19 +0100 |
commit | c0cce2155974ddffea8897c861855a195e9cd071 (patch) | |
tree | e4c988f3da27e48134dd159932a89a0d89decc5e /Server/Plugins/APIDump/main_APIDump.lua | |
parent | Added small embedded devices to README (diff) | |
download | cuberite-c0cce2155974ddffea8897c861855a195e9cd071.tar cuberite-c0cce2155974ddffea8897c861855a195e9cd071.tar.gz cuberite-c0cce2155974ddffea8897c861855a195e9cd071.tar.bz2 cuberite-c0cce2155974ddffea8897c861855a195e9cd071.tar.lz cuberite-c0cce2155974ddffea8897c861855a195e9cd071.tar.xz cuberite-c0cce2155974ddffea8897c861855a195e9cd071.tar.zst cuberite-c0cce2155974ddffea8897c861855a195e9cd071.zip |
Diffstat (limited to 'Server/Plugins/APIDump/main_APIDump.lua')
-rw-r--r-- | Server/Plugins/APIDump/main_APIDump.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Server/Plugins/APIDump/main_APIDump.lua b/Server/Plugins/APIDump/main_APIDump.lua index 735a6ec05..7bd2c80be 100644 --- a/Server/Plugins/APIDump/main_APIDump.lua +++ b/Server/Plugins/APIDump/main_APIDump.lua @@ -1473,7 +1473,7 @@ end --- Returns the string with extra tabs and CR/LFs removed -local function CleanUpDescription(a_Desc) +function CleanUpDescription(a_Desc) -- Get rid of indent and newlines, normalize whitespace: local res = a_Desc:gsub("[\n\t]", "") res = a_Desc:gsub("%s%s+", " ") @@ -1858,6 +1858,9 @@ local function DumpApi() -- Dump all available API objects in format used by ZeroBraneStudio API descriptions: DumpAPIZBS(API) + -- Dump all available API objects in format used by VSCode API descriptions: + DumpAPIVSCode(API); + -- Export the API in a format used by LuaCheck DumpLuaCheck(API) |