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
@@ -1,4 +1,4 @@
---@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/).
+2 -2
View File
@@ -113,7 +113,7 @@ runtime.
## LuaLS type definitions
Type definitions for LuaLS are available in
[the `/plugin-meta.lua` file](./plugin-meta.lua). These are generated from [the C++
[the `/lua-meta` directory](./lua-meta). These are generated from [the C++
headers](../src/controllers/plugins/LuaAPI.hpp) of Chatterino using [a
script](../scripts/make_luals_meta.py).
@@ -607,7 +607,7 @@ c2.register_command("/testing", function(ctx)
end)
```
The full range of options can be found in the typing files ([LuaLS](./plugin-meta.lua), [TypeScript](./chatterino.d.ts)).
The full range of options can be found in the typing files ([LuaLS](./lua-meta/globals.lua), [TypeScript](./chatterino.d.ts)).
#### `LinkType` enum