diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-04-19 17:37:03 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2026-04-20 02:31:09 +0200 |
| commit | a38451be40ca571e9c55656b19ea8926d5f4524b (patch) | |
| tree | 356541812ac11bebb8547bcc4018b46679571749 /scripts | |
| parent | 919a1099510a6998bd7edeaaa0522719687242b7 (diff) | |
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.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/linterrcodes.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
