diff options
author | Squibid <me@zacharyscheiman.com> | 2023-06-26 11:41:37 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-06-26 11:41:37 -0400 |
commit | 0ba2ba3a70c8635716ef420289c3b93984aae9a5 (patch) | |
tree | 719fe130b93b5b91fd48fc2b834e7cd98e5efe95 /lua/mngr | |
parent | ffd3920402952e183e79b0736c775aa4926f0bec (diff) | |
download | nvim-0ba2ba3a70c8635716ef420289c3b93984aae9a5.tar.gz nvim-0ba2ba3a70c8635716ef420289c3b93984aae9a5.tar.bz2 nvim-0ba2ba3a70c8635716ef420289c3b93984aae9a5.zip |
we weren't checking some of the conditions
whoops...
Diffstat (limited to 'lua/mngr')
-rw-r--r-- | lua/mngr/menu.lua | 14 |
1 files 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', '<C-m>', configmenu, {}) +vim.keymap.set('n', '<leader>m', configmenu, {}) |