refactor(nvim): properly set up nvim-notify w/ noice
This commit is contained in:
parent
76374b1363
commit
f91c28f16a
@ -1,6 +1,6 @@
|
|||||||
require('notify').setup({
|
require("notify").setup({
|
||||||
-- Animation style (see below for details)
|
-- Animation style (see below for details)
|
||||||
stages = 'fade_in_slide_out',
|
stages = "fade_in_slide_out",
|
||||||
|
|
||||||
-- Function called when a new window is opened, use for changing win settings/config
|
-- Function called when a new window is opened, use for changing win settings/config
|
||||||
on_open = nil,
|
on_open = nil,
|
||||||
@ -9,26 +9,26 @@ require('notify').setup({
|
|||||||
on_close = nil,
|
on_close = nil,
|
||||||
|
|
||||||
-- Render function for notifications. See notify-render()
|
-- Render function for notifications. See notify-render()
|
||||||
render = 'default',
|
render = "default",
|
||||||
|
|
||||||
-- Default timeout for notifications
|
-- Default timeout for notifications
|
||||||
timeout = 5000,
|
timeout = 5000,
|
||||||
|
|
||||||
-- For stages that change opacity this is treated as the highlight behind the window
|
-- For stages that change opacity this is treated as the highlight behind the window
|
||||||
-- Set this to either a highlight group, an RGB hex value e.g. "#000000" or a function returning an RGB code for dynamic values
|
-- Set this to either a highlight group, an RGB hex value e.g. "#000000" or a function returning an RGB code for dynamic values
|
||||||
background_colour = '#000000',
|
background_colour = "#000000",
|
||||||
|
|
||||||
-- Minimum width for notification windows
|
-- Minimum width for notification windows
|
||||||
minimum_width = 50,
|
minimum_width = 50,
|
||||||
|
|
||||||
-- Icons for the different levels
|
-- Icons for the different levels
|
||||||
icons = {
|
icons = {
|
||||||
ERROR = '',
|
ERROR = "",
|
||||||
WARN = '',
|
WARN = "",
|
||||||
INFO = '',
|
INFO = "",
|
||||||
DEBUG = '',
|
DEBUG = "",
|
||||||
TRACE = '✎',
|
TRACE = "✎",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.notify = require('notify')
|
-- vim.notify = require('notify')
|
||||||
|
Loading…
Reference in New Issue
Block a user