File tree Expand file tree Collapse file tree 3 files changed +73
-0
lines changed
tests/test-sources/plugins/colorschemes Expand file tree Collapse file tree 3 files changed +73
-0
lines changed Original file line number Diff line number Diff line change
1
+ { lib , ... } :
2
+ lib . nixvim . plugins . mkNeovimPlugin {
3
+ name = "gruvbox-baby" ;
4
+ maintainers = [ lib . maintainers . saygo-png ] ;
5
+ isColorscheme = true ;
6
+
7
+ # Despite being a lua plugin, it's configured via globals without a setup function.
8
+ callSetup = false ;
9
+ hasLuaConfig = false ;
10
+
11
+ settingsExample = {
12
+ function_style = "NONE" ;
13
+ keyword_style = "italic" ;
14
+ highlights = {
15
+ Normal = {
16
+ fg = "#123123" ;
17
+ bg = "NONE" ;
18
+ style = "underline" ;
19
+ } ;
20
+ } ;
21
+ telescope_theme = 1 ;
22
+ transparent_mode = 1 ;
23
+ } ;
24
+
25
+ extraConfig = cfg : {
26
+ globals = lib . nixvim . applyPrefixToAttrs "gruvbox_baby_" cfg . settings ;
27
+ } ;
28
+ }
Original file line number Diff line number Diff line change 12
12
./colorschemes/everforest.nix
13
13
./colorschemes/github-theme.nix
14
14
./colorschemes/gruvbox.nix
15
+ ./colorschemes/gruvbox-baby.nix
15
16
./colorschemes/gruvbox-material.nix
16
17
./colorschemes/kanagawa.nix
17
18
./colorschemes/kanagawa-paper.nix
Original file line number Diff line number Diff line change
1
+ _ : {
2
+ empty = {
3
+ colorschemes . gruvbox-baby . enable = true ;
4
+ } ;
5
+
6
+ defaults = {
7
+ colorschemes . gruvbox-baby = {
8
+ enable = true ;
9
+
10
+ settings = {
11
+ background_color = "medium" ;
12
+ transparent_mode = 0 ;
13
+ comment_style = "italic" ;
14
+ keyword_style = "italic" ;
15
+ string_style = "nocombine" ;
16
+ function_style = "bold" ;
17
+ variable_style = "NONE" ;
18
+ highlights = { } ;
19
+ color_overrides = { } ;
20
+ use_original_palette = 0 ;
21
+ } ;
22
+ } ;
23
+ } ;
24
+
25
+ example = {
26
+ colorschemes . gruvbox-baby = {
27
+ enable = true ;
28
+
29
+ settings = {
30
+ function_style = "NONE" ;
31
+ keyword_style = "italic" ;
32
+ highlights = {
33
+ Normal = {
34
+ fg = "#123123" ;
35
+ bg = "NONE" ;
36
+ style = "underline" ;
37
+ } ;
38
+ } ;
39
+ telescope_theme = 1 ;
40
+ transparent_mode = 1 ;
41
+ } ;
42
+ } ;
43
+ } ;
44
+ }
You can’t perform that action at this time.
0 commit comments