From 2616549f882cc4c65ba3f53dd0c1e1f89e23382b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Fri, 14 Feb 2025 20:41:14 +0300 Subject: [PATCH] disable lua server diagnostics in twnapi.lua --- apps/twnlua/docgen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/twnlua/docgen.py b/apps/twnlua/docgen.py index 1f65487..752c747 100755 --- a/apps/twnlua/docgen.py +++ b/apps/twnlua/docgen.py @@ -29,6 +29,7 @@ def to_lua_type_annot(typedesc): return "unknown" # raise BaseException("Unhandled type for annotation: %s" % typedesc) +print("---@diagnostic disable") print("error(\"townengine lua api file is not supposed to be imported!\")") type_annotations = {}