As far as the documentation specifies, lush.nvim is only required for the configuration of the colorscheme.
Docs:
"Set to 1 to enable compatibility mode for all colorschemes. Enabled in Vim.
To enable/disable compatibility mode for a specific theme, set the variable
g:{theme}_compat to 0 or 1, e.g. let g:zenbones_compat = 1."
Problem
The variables names appear to be discolored when not using lush. In light mode (see images) the text becomes almost black, in dark mode it becomes almost white. Changing terminal (alacritty) colors seems to have no effect on this issue.
This is problematic for my own use case, as I try to avoid adding unused dependencies.
This would be the code snippet required for regular lush usage (using lazy.nvim package manager):
{ "zenbones-theme/zenbones.nvim", dependencies = "rktjmp/lush.nvim", lazy = false, priority = 1000, config = function() vim.cmd.colorscheme("zenbones") end, },
On the other hand, this would be required if not using lush to avoid errors:
{ "zenbones-theme/zenbones.nvim", lazy = false, priority = 1000, config = function() vim.g.zenbones_compat = 1 vim.cmd.colorscheme("zenbones") end, },
With Lush
Without lush

As far as the documentation specifies, lush.nvim is only required for the configuration of the colorscheme.
Docs:
"Set to
1to enable compatibility mode for all colorschemes. Enabled in Vim.To enable/disable compatibility mode for a specific theme, set the variable
g:{theme}_compatto0or1, e.g.let g:zenbones_compat = 1."Problem
The variables names appear to be discolored when not using lush. In light mode (see images) the text becomes almost black, in dark mode it becomes almost white. Changing terminal (alacritty) colors seems to have no effect on this issue.
This is problematic for my own use case, as I try to avoid adding unused dependencies.
This would be the code snippet required for regular lush usage (using lazy.nvim package manager):
{ "zenbones-theme/zenbones.nvim", dependencies = "rktjmp/lush.nvim", lazy = false, priority = 1000, config = function() vim.cmd.colorscheme("zenbones") end, },On the other hand, this would be required if not using lush to avoid errors:
{ "zenbones-theme/zenbones.nvim", lazy = false, priority = 1000, config = function() vim.g.zenbones_compat = 1 vim.cmd.colorscheme("zenbones") end, },With Lush
Without lush