Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix nil error in key check #6510

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix nil error in key check
Resolved nil error in key check; added missing comparison for action.
  • Loading branch information
Uveso committed Dec 8, 2024
commit 995a9ce9c2ef7ea54c0a3bda85fe56193395f8e1
2 changes: 1 addition & 1 deletion lua/keymap/keymapper.lua
Original file line number Diff line number Diff line change
@@ -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