feat(plugins): load nvim-notify after colorscheme has loaded (#37)
This commit is contained in:
parent
8be0efad1f
commit
36a077f787
3 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ return packer.startup(function()
|
|||
config = function()
|
||||
require('cosmic.plugins.notify')
|
||||
end,
|
||||
after = config.theme,
|
||||
event = 'ColorScheme',
|
||||
disable = vim.tbl_contains(user_plugins.disable, 'notify'),
|
||||
})
|
||||
|
||||
|
|
|
@ -10,6 +10,6 @@ require('notify').setup(utils.merge({
|
|||
DEBUG = icons.debug,
|
||||
TRACE = icons.trace,
|
||||
},
|
||||
background_colour = require('cosmic.theme.colors').notify_bg,
|
||||
background_colour = require('cosmic.theme.colors').bg,
|
||||
}, config.notify or {}))
|
||||
vim.notify = require('notify')
|
||||
|
|
|
@ -63,7 +63,7 @@ function M.init(use, config)
|
|||
requires = { 'rktjmp/lush.nvim' },
|
||||
config = function()
|
||||
vim.o.background = 'dark'
|
||||
vim.cmd('color gruvbox')
|
||||
vim.cmd('colorscheme gruvbox')
|
||||
end,
|
||||
disable = config.theme ~= 'gruvbox',
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue