From c6535538f8717a8f6134020a5bee65341cf8280f Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Mon, 28 Sep 2026 14:19:42 +0100 Subject: fix(lua): enable param-type-mismatch diagnostic Problem: Argument type mismatches are excluded from EmmyLua checks. Solution: Correct runtime annotations and calls, document local checker workarounds, and enable the diagnostic. AI-assisted --- runtime/lua/nvim/zip.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/lua/nvim/zip.lua') diff --git a/runtime/lua/nvim/zip.lua b/runtime/lua/nvim/zip.lua index b6ee634ab7..c319c6a269 100644 --- a/runtime/lua/nvim/zip.lua +++ b/runtime/lua/nvim/zip.lua @@ -238,6 +238,7 @@ local function extract_with_password(command, source, path, dir) buffered = '' vim.fn.chansend(job, sent .. '\r') end + --- @cast exited -? if exited ~= 0 then return unzip_error(exited, '') -- cgit