From c171a697cbee36c4f36535e14f1407909733ca4b Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Tue, 15 Sep 2026 14:14:21 +0100 Subject: fix(lua): add missing param annotations (#41911) --- runtime/lua/vim/diagnostic/_shared.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'runtime/lua/vim/diagnostic/_shared.lua') diff --git a/runtime/lua/vim/diagnostic/_shared.lua b/runtime/lua/vim/diagnostic/_shared.lua index 2e504d5d68..6eef6657bb 100644 --- a/runtime/lua/vim/diagnostic/_shared.lua +++ b/runtime/lua/vim/diagnostic/_shared.lua @@ -129,7 +129,9 @@ function M.diagnostic_cmp(a, b, primary_key, reverse, col_fn) b_val = b[primary_key] --[[@as integer]] end - local cmp = function(x, y) + --- @param x integer + --- @param y integer + local function cmp(x, y) if reverse then return x > y end -- cgit