Added Lspsaga plugin, replaced original hover with lspsaga's hover_doc
command
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
return {
|
||||||
|
"nvimdev/lspsaga.nvim",
|
||||||
|
enabled = true,
|
||||||
|
dependencies = {
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
"nvim-tree/nvim-web-devicons",
|
||||||
|
},
|
||||||
|
config = function ()
|
||||||
|
require("lspsaga").setup({
|
||||||
|
lightbulb = { enable = false },
|
||||||
|
})
|
||||||
|
|
||||||
|
vim.lsp.buf.hover = function ()
|
||||||
|
vim.cmd("Lspsaga hover_doc")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user