diff options
author | jgmdev <jgmdev@gmail.com> | 2022-11-02 22:34:19 -0400 |
---|---|---|
committer | jgmdev <jgmdev@gmail.com> | 2022-11-02 22:34:37 -0400 |
commit | 4137cad6b7205fc599388e295c1ae0852be6b346 (patch) | |
tree | 43efa50f7e582f8f08ea445421353bdfc4930a65 /plugins | |
parent | 94f7c8b33371e49d6f026f5be6a41acd73ad9c6b (diff) | |
download | lite-xl-plugins-4137cad6b7205fc599388e295c1ae0852be6b346.tar.gz lite-xl-plugins-4137cad6b7205fc599388e295c1ae0852be6b346.zip |
macmodkeys: added missing params
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/macmodkeys.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/macmodkeys.lua b/plugins/macmodkeys.lua index e4656b9..d8e1202 100644 --- a/plugins/macmodkeys.lua +++ b/plugins/macmodkeys.lua @@ -9,11 +9,11 @@ local function remap_key(k) :gsub("option", "alt") end -function keymap.on_key_pressed(k) - return on_key_pressed(remap_key(k)) +function keymap.on_key_pressed(k, ...) + return on_key_pressed(remap_key(k), ...) end -function keymap.on_key_released(k) - return on_key_released(remap_key(k)) +function keymap.on_key_released(k, ...) + return on_key_released(remap_key(k), ...) end |