mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
36 lines
621 B
Lua
36 lines
621 B
Lua
|
local M = {
|
||
|
"SmiteshP/nvim-navic",
|
||
|
event = "VeryLazy",
|
||
|
dependencies = {
|
||
|
"LunarVim/breadcrumbs.nvim",
|
||
|
opts = {},
|
||
|
config = true,
|
||
|
},
|
||
|
}
|
||
|
|
||
|
function M.config()
|
||
|
local icons = require("pcode.user.icons").kind
|
||
|
for key, value in pairs(icons) do
|
||
|
icons[key] = value .. " "
|
||
|
end
|
||
|
require("nvim-navic").setup({
|
||
|
icons = icons,
|
||
|
lsp = {
|
||
|
auto_attach = false,
|
||
|
preference = nil,
|
||
|
},
|
||
|
highlight = false,
|
||
|
separator = " > ",
|
||
|
depth_limit = 0,
|
||
|
depth_limit_indicator = "..",
|
||
|
safe_output = true,
|
||
|
lazy_update_context = false,
|
||
|
click = false,
|
||
|
format_text = function(text)
|
||
|
return text
|
||
|
end,
|
||
|
})
|
||
|
end
|
||
|
|
||
|
return M
|