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/vim/iter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/lua/vim/iter.lua') diff --git a/runtime/lua/vim/iter.lua b/runtime/lua/vim/iter.lua index 681c019c52..056a3fb438 100644 --- a/runtime/lua/vim/iter.lua +++ b/runtime/lua/vim/iter.lua @@ -134,7 +134,7 @@ end --- Flattens a single array-like table. Errors if it attempts to flatten a --- dict-like table ---- @param t table table which should be flattened +--- @param t any value which should be flattened --- @param max_depth integer depth to which the table should be flattened --- @param depth integer current iteration depth --- @param result table output table that contains flattened result -- cgit