feat(notify): change animation

This commit is contained in:
Matt Leong 2021-12-29 10:48:43 -08:00
parent 36a077f787
commit 3be2d316fc
2 changed files with 3 additions and 1 deletions

View file

@ -40,7 +40,7 @@ return packer.startup(function()
config = function()
require('cosmic.plugins.notify')
end,
event = 'ColorScheme',
after = config.theme,
disable = vim.tbl_contains(user_plugins.disable, 'notify'),
})

View file

@ -10,6 +10,8 @@ require('notify').setup(utils.merge({
DEBUG = icons.debug,
TRACE = icons.trace,
},
stages = 'slide',
background_colour = require('cosmic.theme.colors').bg,
}, config.notify or {}))
vim.notify = require('notify')