refactor(api): give "hl_group" more accurate _meta type

These can either be number or string in lua, so we can specify this
directly as "number|string".
This commit is contained in:
bfredl
2024-01-22 08:49:45 +01:00
parent 646fdf1073
commit d66ed4ea46
5 changed files with 16 additions and 15 deletions

View File

@@ -88,6 +88,7 @@ local API_TYPES = {
LuaRef = 'function',
Dictionary = 'table<string,any>',
Float = 'number',
HLGroupID = 'number|string',
void = '',
}