From 284dca7dafc7274fad6c0ffe2c4aa90d9f29652b Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Tue, 16 Jul 2024 11:05:07 +0200 Subject: [PATCH] Add x and o mode tables to the is_single_keymap_table function --- home/.config/nvim/lua/utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.config/nvim/lua/utils.lua b/home/.config/nvim/lua/utils.lua index 8ece6c9..52bd416 100644 --- a/home/.config/nvim/lua/utils.lua +++ b/home/.config/nvim/lua/utils.lua @@ -2,7 +2,7 @@ local M = {} local function is_single_keymap_table(map_table) assert(map_table) - return map_table.n or map_table.t or map_table.i or map_table.v + return map_table.n or map_table.t or map_table.i or map_table.v or map_table.x or map_table.o end function M.create_user_event_cb(event_name, function_callback, augroup)