nvim/lua/plugins/navbuddy.lua

16 lines
430 B
Lua
Raw Normal View History

2023-05-18 11:48:52 +02:00
return {
'SmiteshP/nvim-navbuddy',
dependencies = {
'neovim/nvim-lspconfig',
'SmiteshP/nvim-navic',
'MunifTanjim/nui.nvim',
},
config = function()
require('nvim-navbuddy').setup { lsp = { auto_attach = true } }
-- Plugins
vim.keymap.set('n', '<leader>nb', ':Navbuddy<CR>', { desc = '[N]av[b]uddy' })
vim.keymap.set('n', '<leader>nt', ':NvimTreeToggle<CR>', { desc = '[N]vim[T]ree' })
end,
}