Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lualine: match theme with nvim colorscheme #64

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MarcelCoding
Copy link
Member

No description provided.

@MarcelCoding MarcelCoding changed the title rust-analyzer: enabele all features lualine: match theme with nvim colorscheme Oct 13, 2024
@MarcelCoding MarcelCoding force-pushed the lualine-theme branch 3 times, most recently from 4381009 to 748c7a9 Compare October 14, 2024 12:44
@@ -9,6 +9,11 @@
./telescope.nix
];

assertions = [{
assertion = !config.programs.nixvim.colorschemes.kanagawa.enable && config.programs.nixvim.plugins.lualine.settings.options.theme == "kanagawa";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
assertion = !config.programs.nixvim.colorschemes.kanagawa.enable && config.programs.nixvim.plugins.lualine.settings.options.theme == "kanagawa";
assertion = !config.programs.nixvim.colorschemes.${config.programs.nixvim.plugins.lualine.settings.options.theme}.enable;

or probably

Suggested change
assertion = !config.programs.nixvim.colorschemes.kanagawa.enable && config.programs.nixvim.plugins.lualine.settings.options.theme == "kanagawa";
assertion = !config.colorschemes.${config.plugins.lualine.settings.options.theme}.enable;

@@ -9,6 +9,11 @@
./telescope.nix
];

assertions = [{
assertion = !config.programs.nixvim.colorschemes.kanagawa.enable && config.programs.nixvim.plugins.lualine.settings.options.theme == "kanagawa";
message = "NixVim `colorschemes.kanagawa.enable` is disabled but `plugins.lualine.settings.options.theme` is set to `kanagawa`.";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
message = "NixVim `colorschemes.kanagawa.enable` is disabled but `plugins.lualine.settings.options.theme` is set to `kanagawa`.";
message = "NixVim `plugins.lualine.settings.options.theme` uses the `${config.programs.nixvim.plugins.lualine.settings.options.theme}` theme which is not enabled.";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants