update noice plugin

This commit is contained in:
DefectingCat
2023-12-05 10:22:59 +08:00
parent 561aef1238
commit 51491857fb
2 changed files with 9 additions and 3 deletions

View File

@ -84,8 +84,8 @@ M.lspsaga = {
},
["gh"] = {
function()
vim.lsp.buf.hover()
--[[ require("pretty_hover").hover() ]]
--[[ vim.lsp.buf.hover() ]]
require("pretty_hover").hover()
end,
"󱙼 Hover lsp",
},

View File

@ -5,7 +5,7 @@ local plugins = {
"NvChad/nvcommunity",
{ import = "nvcommunity.git.diffview" },
{ import = "nvcommunity.git.lazygit" },
--[[ { import = "nvcommunity.lsp.prettyhover" }, ]]
{ import = "nvcommunity.lsp.prettyhover" },
},
-- LSP, formatter, linter
@ -309,6 +309,12 @@ local plugins = {
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true,
},
hover = {
enabled = false,
},
signature = {
enabled = false,
},
},
-- you can enable a preset for easier configuration
presets = {