From e904a746d30f3223c5738300275e67efb5080c9e Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Fri, 19 Sep 2025 00:30:20 -0400 Subject: [PATCH] fix --- spec/test_panel_spec.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/spec/test_panel_spec.lua b/spec/test_panel_spec.lua index 351be9c..48557d7 100644 --- a/spec/test_panel_spec.lua +++ b/spec/test_panel_spec.lua @@ -144,8 +144,12 @@ describe('cp test panel', function() return end end, - __index = cmd_table, - __newindex = cmd_table, + __index = function(_, key) + return cmd_table[key] + end, + __newindex = function(_, key, value) + cmd_table[key] = value + end, }) vim.keymap = { set = function() end,