Not sure if this is the intended behavior here, but I expected the colors set via on_colors option would override the corresponding color globally, however it's not applied for lualine. Please see the following example:
-- ~/.config/nvim/lua/plugins/solarized.lua
return {
'maxmx03/solarized.nvim',
enabled = true,
lazy = false,
priority = 1000,
opts = {
on_colors = function()
-- setting to red just for exemplification purpose
return { blue = '#BD3613' }
end,
},
config = function(_, opts)
require('solarized').setup(opts)
vim.cmd.colorscheme 'solarized'
require('lualine').setup {
options = {
theme = require('lualine.themes.solarized')
}
}
end
}
This change would replace everything that was normally blue originally with #BD3613 with the exception of the lualine which still shows the 'old blue' #268BD2

Not sure if this is the intended behavior here, but I expected the colors set via
on_colorsoption would override the corresponding color globally, however it's not applied for lualine. Please see the following example:This change would replace everything that was normally blue originally with
#BD3613with the exception of the lualine which still shows the 'old blue'#268BD2