From c10e36fc016cb265026a772571ce0a405df2ab71 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Tue, 26 Aug 2025 15:31:16 +0200 Subject: refactor(lua): consistent use of local aliases --- src/gen/gen_api_dispatch.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gen/gen_api_dispatch.lua') diff --git a/src/gen/gen_api_dispatch.lua b/src/gen/gen_api_dispatch.lua index 933d4d0ef0..e27d322f5a 100644 --- a/src/gen/gen_api_dispatch.lua +++ b/src/gen/gen_api_dispatch.lua @@ -421,7 +421,7 @@ for _, k in ipairs(keysets) do local function typename(type) if type == 'HLGroupID' then return 'kObjectTypeInteger' - elseif not type or vim.startswith(type, 'Union') then + elseif not type or startswith(type, 'Union') then return 'kObjectTypeNil' elseif type == 'StringArray' then return 'kUnpackTypeStringArray' -- cgit