nvim/lua/plugins/nvim_navbuddy.lua

34 lines
923 B
Lua
Raw Permalink 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",
"numToStr/Comment.nvim",
"nvim-telescope/telescope.nvim",
},
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 = "rounded",
2023-05-16 09:22:33 +01:00
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
},
},
},
}