chore: some random updates

This commit is contained in:
Mariano Z. 2025-02-04 21:00:06 -03:00
parent c52e7a518e
commit 74529c72d8
Signed by: marianozunino
GPG key ID: 4C73BAD25156DACE
6 changed files with 54 additions and 56 deletions

View file

@ -1,20 +1,15 @@
local M = {
"SmiteshP/nvim-navic",
"nvimdev/lspsaga.nvim",
}
M.config = function()
require("nvim-navic").setup({
icons = icons.kind,
highlight = true,
lsp = {
auto_attach = true,
require("lspsaga").setup({
lightbulb = {
enable = false,
},
click = true,
separator = " " .. icons.ui.ChevronRight .. " ",
depth_limit = 0,
depth_limit_indicator = "..",
})
vim.o.winbar = "%{%v:lua.require'nvim-navic'.get_location()%}"
nmap("K", "<cmd>Lspsaga hover_doc<cr>")
nmap("pd", "<cmd>Lspsaga peek_definition<cr>")
end
return M