.luacheckrc: add_hook is not undocumented

It's a commonly used function so group it with the documented functions.
This commit is contained in:
Guido Cella 2024-11-01 16:47:53 +01:00 committed by Avi Halachmi
parent 5dc4047415
commit a9d57938b2
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,7 @@ local mp_globals = {
commandv = {},
command_native = {},
command_native_async = {},
add_hook = {},
abort_async_command = {},
del_property = {},
get_property = {},
@ -53,7 +54,6 @@ local mp_globals = {
},
-- Not documented
-- TODO: Document or remove them
add_hook = {},
disable_key_bindings = {},
enable_key_bindings = {},
find_config_file = {},