mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-05 18:45:22 +02:00
Merge 9706de8578
into a16c89c175
This commit is contained in:
commit
df0f92da32
3 changed files with 72 additions and 0 deletions
27
plugins/colorschemes/gruvbox-baby.nix
Normal file
27
plugins/colorschemes/gruvbox-baby.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "gruvbox-baby";
|
||||
maintainers = [ lib.maintainers.saygo-png ];
|
||||
isColorscheme = true;
|
||||
|
||||
# Despite being a lua plugin, it's configured via globals without a setup function.
|
||||
callSetup = false;
|
||||
|
||||
settingsExample = {
|
||||
function_style = "NONE";
|
||||
keyword_style = "italic";
|
||||
highlights = {
|
||||
Normal = {
|
||||
fg = "#123123";
|
||||
bg = "NONE";
|
||||
style = "underline";
|
||||
};
|
||||
};
|
||||
telescope_theme = 1;
|
||||
transparent_mode = 1;
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
globals = lib.nixvim.applyPrefixToAttrs "gruvbox_baby_" cfg.settings;
|
||||
};
|
||||
}
|
|
@ -12,6 +12,7 @@
|
|||
./colorschemes/everforest.nix
|
||||
./colorschemes/github-theme.nix
|
||||
./colorschemes/gruvbox.nix
|
||||
./colorschemes/gruvbox-baby.nix
|
||||
./colorschemes/gruvbox-material.nix
|
||||
./colorschemes/kanagawa.nix
|
||||
./colorschemes/kanagawa-paper.nix
|
||||
|
|
44
tests/test-sources/plugins/colorschemes/gruvbox-baby.nix
Normal file
44
tests/test-sources/plugins/colorschemes/gruvbox-baby.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
_: {
|
||||
empty = {
|
||||
colorschemes.gruvbox-baby.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
colorschemes.gruvbox-baby = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
background_color = "medium";
|
||||
transparent_mode = 0;
|
||||
comment_style = "italic";
|
||||
keyword_style = "italic";
|
||||
string_style = "nocombine";
|
||||
function_style = "bold";
|
||||
variable_style = "NONE";
|
||||
highlights = { };
|
||||
color_overrides = { };
|
||||
use_original_palette = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
colorschemes.gruvbox-baby = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
function_style = "NONE";
|
||||
keyword_style = "italic";
|
||||
highlights = {
|
||||
Normal = {
|
||||
fg = "#123123";
|
||||
bg = "NONE";
|
||||
style = "underline";
|
||||
};
|
||||
};
|
||||
telescope_theme = 1;
|
||||
transparent_mode = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue