mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-10 21:11:25 +02:00
colorschemes/gruvbox-baby: init
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
parent
98307977fe
commit
a96854d3ea
3 changed files with 73 additions and 0 deletions
28
plugins/colorschemes/gruvbox-baby.nix
Normal file
28
plugins/colorschemes/gruvbox-baby.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ 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;
|
||||
hasLuaConfig = 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