fix(themes): gruvbox notify warning
This commit is contained in:
parent
461d5c9f12
commit
4796732c93
3 changed files with 8 additions and 1 deletions
|
@ -17,4 +17,9 @@ if vim.tbl_isempty(colors) then
|
|||
return false
|
||||
end
|
||||
|
||||
colors.notify_bg = 'Normal'
|
||||
if config.theme == 'gruvbox.nvim' then
|
||||
colors.notify_bg = colors.bg
|
||||
end
|
||||
|
||||
return colors
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
local cosmic_modules = {
|
||||
'cosmic.compiled',
|
||||
'cosmic.disabled',
|
||||
'cosmic.pluginsInit',
|
||||
'cosmic.commands',
|
||||
|
@ -16,6 +15,7 @@ for _, mod in ipairs(cosmic_modules) do
|
|||
end
|
||||
|
||||
local user_config_modules = {
|
||||
'cosmic.compiled',
|
||||
'cosmic.config.editor',
|
||||
'cosmic.config.mappings',
|
||||
}
|
||||
|
|
|
@ -65,6 +65,7 @@ return packer.startup(function()
|
|||
'ellisonleao/gruvbox.nvim',
|
||||
requires = { 'rktjmp/lush.nvim' },
|
||||
config = function()
|
||||
-- todo: does nothing
|
||||
vim.o.background = 'dark'
|
||||
vim.cmd('colorscheme gruvbox')
|
||||
end,
|
||||
|
@ -93,6 +94,7 @@ return packer.startup(function()
|
|||
DEBUG = icons.debug,
|
||||
TRACE = icons.trace,
|
||||
},
|
||||
background_colour = require('cosmic.core.theme.colors').notify_bg,
|
||||
})
|
||||
vim.notify = require('notify')
|
||||
end,
|
||||
|
|
Loading…
Add table
Reference in a new issue