2023-05-16 09:22:33 +01:00
|
|
|
return {
|
|
|
|
"SmiteshP/nvim-navbuddy",
|
2023-05-31 16:47:30 +01:00
|
|
|
cond = not vim.g.vscode,
|
2023-05-16 12:34:56 +01:00
|
|
|
dependencies = { "SmiteshP/nvim-navic", "MunifTanjim/nui.nvim", "neovim/nvim-lspconfig" },
|
2023-05-16 09:22:33 +01:00
|
|
|
cmd = { "Navbuddy" },
|
|
|
|
init = function() vim.keymap.set("n", "<leader>na", "<cmd>Navbuddy<cr>") end,
|
|
|
|
config = true,
|
|
|
|
opts = {
|
|
|
|
icons = require "ui.navic_icons",
|
|
|
|
window = {
|
|
|
|
border = "none",
|
|
|
|
size = "80%",
|
|
|
|
sections = {
|
|
|
|
left = { border = "rounded" },
|
|
|
|
mid = { border = "rounded" },
|
|
|
|
right = { border = "rounded", preview = "leaf" },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
node_markers = {
|
|
|
|
enabled = true,
|
|
|
|
icons = {
|
2023-05-18 10:16:40 +01:00
|
|
|
leaf = " ",
|
|
|
|
leaf_selected = " ",
|
|
|
|
branch = " ",
|
2023-05-16 09:22:33 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|