Closed nshern closed 1 month ago
Can you try passing gui = ''
?
Alternatively, it's easy to use the neovim API too https://github.com/mcchrish/zenbones.nvim/issues/135#issuecomment-1817608263
This is how I solved it:
return {
'mcchrish/zenbones.nvim',
dependencies = 'rktjmp/lush.nvim',
config = function()
vim.cmd.colorscheme 'zenbones'
vim.cmd [[
augroup MyColorSchemeTweaks
autocmd!
autocmd ColorScheme zenbones lua MyZenbonesTweaks()
augroup END
]]
function MyZenbonesTweaks()
if vim.o.background == 'light' then
vim.api.nvim_set_hl(0, 'Constant', { fg = '#556570' })
vim.api.nvim_set_hl(0, 'Number', { fg = '#2c363c' })
else
vim.api.nvim_set_hl(0, 'Constant', { fg = '#868C91' })
vim.api.nvim_set_hl(0, 'Number', { fg = '#B4BDC3' })
end
end
-- Trigger the tweaks immediately in case the colorscheme is already set
MyZenbonesTweaks()
end,
}
I am using the Zenbones theme and I am trying to make it so that strings are not italic. Given this documentation
Should this
.config/nvim/lua/zenbones.lua/
not work?Nothing is happening currently.