From 548c457c8d62260c6cab3df2e9cdc3ed5d35b1be Mon Sep 17 00:00:00 2001 From: Uveso Date: Tue, 5 Nov 2024 01:06:42 +0100 Subject: [PATCH] fix nil error in key check Resolved nil error in key check; added missing comparison for action. --- lua/keymap/keymapper.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/keymap/keymapper.lua b/lua/keymap/keymapper.lua index b0fa5c96b2..a4c8806a92 100644 --- a/lua/keymap/keymapper.lua +++ b/lua/keymap/keymapper.lua @@ -207,7 +207,7 @@ function GetKeyActions() local debugKeyActions = import("/lua/keymap/debugkeyactions.lua").debugKeyActions for k,v in keyActions do - if ret[k] and ret[k] != v.action then + if ret[k] and ret[k].action != v.action then WARN(string.format("Overwriting user key action: %s -> %s", k, ret[k].action)) end