Files
nvim/lua/plugins/ui/noice.lua

48 lines
1.1 KiB
Lua

return {
"folke/noice.nvim",
event = "VeryLazy",
config = function()
vim.notify = require("notify").setup({
background_colour = "#000000",
render = "compact",
stages = "slide",
})
require("noice").setup({
messages = {
enabled = true,
view = "mini",
view_error = "notify", -- view for errors
view_warn = "notify", -- view for warnings
view_history = "messages", -- view for :messages
view_search = "virtualtext", -- view for search count messages. Set to `false` to disable
},
notify = {
enabled = true,
view = "notify",
},
hover = {
enabled = false,
},
lsp = {
hover = {
enabled = false,
},
signature = {
enabled = false,
},
},
presets = {
long_message_to_split = true, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help
},
})
end,
dependencies = {
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
"MunifTanjim/nui.nvim",
"rcarriga/nvim-notify",
},
}