neovim-dots/lua/plugins/ui.lua

30 lines
823 B
Lua
Raw Permalink Normal View History

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
},
},
},
},
2024-07-14 02:33:18 -07:00
{
"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
}
}