29 lines
823 B
Lua
29 lines
823 B
Lua
return {
|
|
{
|
|
"folke/noice.nvim",
|
|
event = "VeryLazy",
|
|
opts = {
|
|
lsp = {
|
|
override = {
|
|
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
|
["vim.lsp.util.stylize_markdown"] = true,
|
|
["cmp.entry.get_documentation"] = true,
|
|
},
|
|
hover = {
|
|
enabled = true,
|
|
silent = true, -- set to true to not show a message if hover is not available
|
|
view = nil, -- when nil, use defaults from documentation
|
|
---@type NoiceViewOptions
|
|
opts = {}, -- merged with defaults from documentation
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"folke/zen-mode.nvim",
|
|
config = function()
|
|
require("zen-mode").setup {}
|
|
vim.api.nvim_set_keymap('n', '<Space>wz', ':ZenMode<CR>', { noremap = true, silent = true })
|
|
end
|
|
}
|
|
}
|