feat(plugins): add breadcrumbs, navic and dropbar

This commit is contained in:
2025-09-16 21:26:37 +04:00
parent 1350be9290
commit 43bf103431

View File

@@ -5,6 +5,9 @@ return {
{ {
'nvim-telescope/telescope-ui-select.nvim' 'nvim-telescope/telescope-ui-select.nvim'
}, },
{
"LunarVim/breadcrumbs.nvim",
},
{ {
"akinsho/bufferline.nvim", "akinsho/bufferline.nvim",
}, },
@@ -26,6 +29,9 @@ return {
{ {
'kevinhwang91/promise-async', 'kevinhwang91/promise-async',
}, },
{
"SmiteshP/nvim-navic",
},
{ {
'theHamsta/nvim-dap-virtual-text', 'theHamsta/nvim-dap-virtual-text',
}, },
@@ -108,6 +114,19 @@ return {
require("dapui").setup() require("dapui").setup()
end end
}, },
{
'Bekaboo/dropbar.nvim',
dependencies = {
'nvim-telescope/telescope-fzf-native.nvim',
build = 'make'
},
config = function()
local dropbar_api = require('dropbar.api')
vim.keymap.set('n', '<Leader>;', dropbar_api.pick, { desc = 'Pick symbols in winbar' })
vim.keymap.set('n', '[;', dropbar_api.goto_context_start, { desc = 'Go to start of current context' })
vim.keymap.set('n', '];', dropbar_api.select_next_context, { desc = 'Select next context' })
end
},
{ {
"hrsh7th/nvim-cmp", "hrsh7th/nvim-cmp",
event = "InsertEnter", event = "InsertEnter",