2023-05-11 09:01:21 +01:00
|
|
|
return {
|
|
|
|
"SmiteshP/nvim-navbuddy",
|
|
|
|
dependencies = { "SmiteshP/nvim-navic", "MunifTanjim/nui.nvim" },
|
|
|
|
cmd = { "Navbuddy" },
|
|
|
|
init = function() vim.keymap.set("n", "<leader>na", "<cmd>Navbuddy<cr>") end,
|
|
|
|
config = true,
|
2023-05-11 10:44:22 +01:00
|
|
|
opts = {
|
|
|
|
icons = require "ui.navic_icons",
|
2023-05-11 18:03:39 +01:00
|
|
|
window = {
|
|
|
|
border = "none",
|
|
|
|
size = "80%",
|
|
|
|
sections = {
|
|
|
|
left = { border = "rounded" },
|
|
|
|
mid = { border = "rounded" },
|
2023-05-11 21:46:07 +01:00
|
|
|
right = { border = "rounded", preview = "leaf" },
|
2023-05-11 18:03:39 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
node_markers = {
|
|
|
|
enabled = true,
|
|
|
|
icons = {
|
|
|
|
leaf = " ",
|
|
|
|
leaf_selected = " → ",
|
|
|
|
branch = " ",
|
|
|
|
},
|
|
|
|
},
|
2023-05-11 10:44:22 +01:00
|
|
|
},
|
2023-05-11 09:01:21 +01:00
|
|
|
}
|