we weren't checking some of the conditions
whoops...
This commit is contained in:
parent
ffd3920402
commit
0ba2ba3a70
1 changed files with 7 additions and 7 deletions
|
|
@ -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, {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue