From a9d57938b2aaa9e00b0a7af82fc08ca5d69fd171 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Fri, 1 Nov 2024 16:47:53 +0100 Subject: [PATCH] .luacheckrc: add_hook is not undocumented It's a commonly used function so group it with the documented functions. --- .luacheckrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.luacheckrc b/.luacheckrc index 56f348ea02..84ae84e9bb 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -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 = {},