From 0ba2ba3a70c8635716ef420289c3b93984aae9a5 Mon Sep 17 00:00:00 2001 From: Squibid Date: Mon, 26 Jun 2023 11:41:37 -0400 Subject: we weren't checking some of the conditions whoops... --- lua/mngr/menu.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lua') 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, {}) -- cgit v1.2.1