diff --git a/lua/keymap/keymapper.lua b/lua/keymap/keymapper.lua index b0fa5c96b2..28bfd0b3b1 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 @@ -215,7 +215,7 @@ function GetKeyActions() end for k,v in debugKeyActions 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