mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
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:
@@ -88,6 +88,7 @@ local API_TYPES = {
|
||||
LuaRef = 'function',
|
||||
Dictionary = 'table<string,any>',
|
||||
Float = 'number',
|
||||
HLGroupID = 'number|string',
|
||||
void = '',
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user