nvim/lua/plugins/nvim_navbuddy.lua

28 lines
817 B
Lua
Raw Normal View History

2023-05-16 09:22:33 +01:00
return {
"SmiteshP/nvim-navbuddy",
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 = {
leaf = "󰅀 ",
leaf_selected = "󰄼 ",
branch = "󰅂 ",
2023-05-16 09:22:33 +01:00
},
},
},
}