Skip to content

Discoloration of variable names upon zenbones_compat = 1 #230

@Starvinio

Description

@Starvinio

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

Image

Without lush

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions