refactor: move LuaLS meta to a subdirectory (#6530)

This commit is contained in:
nerix
2025-10-08 15:56:01 +02:00
committed by GitHub
parent 4abf8c59f7
commit 4be0e13883
4 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ import re
from typing import Optional
BOILERPLATE = """
---@meta Chatterino2
---@meta _
-- This file is automatically generated from src/controllers/plugins/LuaAPI.hpp by the scripts/make_luals_meta.py script
-- This file is intended to be used with LuaLS (https://luals.github.io/).
@@ -54,7 +54,7 @@ c2 = {}
repo_root = Path(__file__).parent.parent
lua_api_file = repo_root / "src" / "controllers" / "plugins" / "LuaAPI.hpp"
lua_meta = repo_root / "docs" / "plugin-meta.lua"
lua_meta = repo_root / "docs" / "lua-meta" / "globals.lua"
print("Writing to", lua_meta.relative_to(repo_root))