From a38451be40ca571e9c55656b19ea8926d5f4524b Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 19 Apr 2026 17:37:03 +0200 Subject: fix(excmd): nlua_call_excmd require() failure is a "lua_error" Although `nlua_call_excmd` is semantically for implementing Ex-commands, the `require()` should never fail, so that's a "Lua error". But if the call itself fails (the later `semsg` call), that's an "Ex cmd" error. --- scripts/linterrcodes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/linterrcodes.lua b/scripts/linterrcodes.lua index e6767fbeba..ed2ca92b6c 100644 --- a/scripts/linterrcodes.lua +++ b/scripts/linterrcodes.lua @@ -48,7 +48,7 @@ local dup_allowed = { E509 = 2, E5101 = 2, E5102 = 2, - E5108 = 6, + E5108 = 5, E5111 = 2, E513 = 2, E521 = 2, -- cgit v1.3-3-g829e