mirror of
https://github.com/marianozunino/nvim.git
synced 2025-06-28 18:43:50 -03:00
chore: some random updates
This commit is contained in:
parent
c52e7a518e
commit
74529c72d8
6 changed files with 54 additions and 56 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue