nvim/lua/plugins/lsp/extras/context.lua

20 lines
395 B
Lua

local M = {
"SmiteshP/nvim-navic",
}
M.config = function()
require("nvim-navic").setup({
icons = icons.kind,
highlight = true,
lsp = {
auto_attach = true,
},
click = true,
separator = " " .. icons.ui.ChevronRight .. " ",
depth_limit = 0,
depth_limit_indicator = "..",
})
vim.o.winbar = "%{%v:lua.require'nvim-navic'.get_location()%}"
end
return M