nvim/lua/plugins/noice.lua

35 lines
923 B
Lua
Raw Normal View History

2023-05-16 09:22:33 +01:00
return {
"folke/noice.nvim",
cond = not vim.g.vscode,
2023-05-17 17:06:16 +01:00
event = { "VeryLazy" },
2023-05-16 09:22:33 +01:00
dependencies = {
"MunifTanjim/nui.nvim",
"rcarriga/nvim-notify",
"stevearc/dressing.nvim",
2023-05-16 09:22:33 +01:00
},
config = true,
opts = {
presets = {
bottom_search = true,
command_palette = true,
long_message_to_split = true,
inc_rename = false,
lsp_doc_border = true,
},
2023-05-16 09:22:33 +01:00
lsp = {
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true,
},
},
views = {
mini = {
position = { row = -2 },
border = { style = "rounded" },
win_options = { winblend = 0 },
},
},
},
}