aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/nvim/zip.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2026-09-28 14:19:42 +0100
committerLewis Russell <lewis6991@gmail.com>2026-09-28 14:43:14 +0100
commitc6535538f8717a8f6134020a5bee65341cf8280f (patch)
treea3c7512c9b98a571744d49ca6ff7f8c6568d373e /runtime/lua/nvim/zip.lua
parentb597af006fbb7c94c03ea9e7fa13cab7394b0501 (diff)
downloadrneovim-c6535538f8717a8f6134020a5bee65341cf8280f.tar.gz
rneovim-c6535538f8717a8f6134020a5bee65341cf8280f.tar.bz2
rneovim-c6535538f8717a8f6134020a5bee65341cf8280f.zip
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
Diffstat (limited to 'runtime/lua/nvim/zip.lua')
-rw-r--r--runtime/lua/nvim/zip.lua1
1 files changed, 1 insertions, 0 deletions
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, '')