From ba09631876b22ef7fbd4ce55135203e26ca25dc0 Mon Sep 17 00:00:00 2001 From: Squibid Date: Mon, 26 Jun 2023 11:41:37 -0400 Subject: [PATCH] we weren't checking some of the conditions whoops... --- lua/mngr/menu.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lua/mngr/menu.lua b/lua/mngr/menu.lua index 9300de2..68a6670 100644 --- a/lua/mngr/menu.lua +++ b/lua/mngr/menu.lua @@ -35,14 +35,14 @@ local function configmenu() if package.loaded['mason'] then require('mason.api.command').MasonUpdate() end - if choice == 'update config' then - require('mngr.updates') - end - if choice == 'show keybinds' then - require('telescope.builtin').keymaps() - end + end + if choice == 'update config' then + require('mngr.updates') + end + if choice == 'show keybinds' then + require('telescope.builtin').keymaps() end end) end -vim.keymap.set('n', '', configmenu, {}) +vim.keymap.set('n', 'm', configmenu, {})