Broken, remove lua

This commit is contained in:
Krzosa Karol
2025-12-21 08:51:53 +01:00
parent 266378154a
commit 56b8b09f35
10 changed files with 129 additions and 698 deletions

View File

@@ -12,8 +12,6 @@
#endif
#define MINICORO_IMPL
#include "external/minicoro.h"
#define LUA_USE_LONGJMP
#include "external/luaunity.c"
#include "render/generated_font.cpp"
#include "render/font.cpp"
@@ -23,10 +21,8 @@
#include "view.h"
#include "window.h"
#include "text_editor.h"
#include "lua.h"
#include "globals.cpp"
#include "lua.cpp"
#include "buffer.cpp"
#include "view.cpp"
#include "window.cpp"
@@ -39,13 +35,9 @@
#include "event.cpp"
#include "parser.cpp"
#include "commands.cpp"
#include "lua_api.cpp"
#include "commands_clipboard.cpp"
#include "generated_config.cpp"
#include "draw.cpp"
#include "coroutines.cpp"
#include "test/tests.cpp"
@@ -511,8 +503,6 @@ void Update(Event event) {
CommandWindowUpdate();
UpdateProcesses();
CoUpdate(&event);
ReloadLuaConfigs();
CallLuaOnUpdate(&event);
GarbageCollect();
For(IterateInReverse(&order)) {
@@ -744,7 +734,6 @@ int main(int argc, char **argv)
}
ReportConsolef("WorkDir = %S", WorkDir);
InitLuaConfig();
if (Testing) InitTests();
#if OS_WINDOWS
CoAdd(Windows_SetupVCVarsall);