42 lines
1.0 KiB
Lua
42 lines
1.0 KiB
Lua
vim.pack.add({
|
|
{ src = "https://github.com/folke/noice.nvim", name = "noice" },
|
|
{ src = "https://github.com/MunifTanjim/nui.nvim", name = "nui" },
|
|
{ src = "https://github.com/rcarriga/nvim-notify", name = "notify" },
|
|
})
|
|
|
|
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
|
|
},
|
|
})
|