.config/nvim/lua/kamu/plugins/noice.lua hinzugefügt
This commit is contained in:
26
.config/nvim/lua/kamu/plugins/noice.lua
Normal file
26
.config/nvim/lua/kamu/plugins/noice.lua
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
return {
|
||||||
|
"folke/noice.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
|
opts = {
|
||||||
|
},
|
||||||
|
dependencies = {
|
||||||
|
"rcarriga/nvim-notify",
|
||||||
|
"MunifTanjim/nui.nvim",
|
||||||
|
},
|
||||||
|
config = function(_, opts)
|
||||||
|
require("noice").setup(opts)
|
||||||
|
|
||||||
|
require("notify").setup({
|
||||||
|
background_colour = "#000000",
|
||||||
|
level = 2,
|
||||||
|
minimum_width = 50,
|
||||||
|
render = "compact",
|
||||||
|
time_formats = {
|
||||||
|
notification = "%T",
|
||||||
|
notification_history = "%FT%T"
|
||||||
|
},
|
||||||
|
timeout = 5000,
|
||||||
|
top_down = true
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user