Skip to content

Commit

Permalink
fix nil error in key check
Browse files Browse the repository at this point in the history
Resolved nil error in key check; added missing comparison for action.
  • Loading branch information
Uveso committed Nov 11, 2024
1 parent 13511e2 commit 6f8c67c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/keymap/keymapper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6f8c67c

Please sign in to comment.