File tree Expand file tree Collapse file tree 3 files changed +94
-0
lines changed
tests/test-sources/plugins/colorschemes Expand file tree Collapse file tree 3 files changed +94
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ lib ,
3
+ ...
4
+ } :
5
+ lib . nixvim . plugins . mkNeovimPlugin {
6
+ name = "github-theme" ;
7
+ packPathName = "github-nvim-theme" ;
8
+ package = "github-nvim-theme" ;
9
+ isColorscheme = true ;
10
+
11
+ maintainers = [ lib . maintainers . GaetanLepage ] ;
12
+
13
+ settingsExample = {
14
+ options = {
15
+ transparent = true ;
16
+ dim_inactive = true ;
17
+ styles = {
18
+ comments = "italic" ;
19
+ keywords = "bold" ;
20
+ } ;
21
+ } ;
22
+ } ;
23
+ }
Original file line number Diff line number Diff line change 9
9
./colorschemes/dracula-nvim.nix
10
10
./colorschemes/dracula.nix
11
11
./colorschemes/everforest.nix
12
+ ./colorschemes/github-theme.nix
12
13
./colorschemes/gruvbox.nix
13
14
./colorschemes/kanagawa.nix
14
15
./colorschemes/melange.nix
Original file line number Diff line number Diff line change
1
+ {
2
+ empty = {
3
+ colorscheme = "github_dark" ;
4
+ colorschemes . github-theme . enable = true ;
5
+ } ;
6
+
7
+ defaults = {
8
+ colorscheme = "github_dark" ;
9
+ colorschemes . github-theme = {
10
+ enable = true ;
11
+
12
+ settings = {
13
+ options = {
14
+ compile_path . __raw = "vim.fn.stdpath('cache') .. '/github-theme'" ;
15
+ compile_file_suffix = "_compiled" ;
16
+ hide_end_of_buffer = true ;
17
+ hide_nc_statusline = true ;
18
+ transparent = false ;
19
+ terminal_colors = true ;
20
+ dim_inactive = false ;
21
+ module_default = true ;
22
+ styles = {
23
+ comments = "NONE" ;
24
+ functions = "NONE" ;
25
+ keywords = "NONE" ;
26
+ variables = "NONE" ;
27
+ conditionals = "NONE" ;
28
+ constants = "NONE" ;
29
+ numbers = "NONE" ;
30
+ operators = "NONE" ;
31
+ strings = "NONE" ;
32
+ types = "NONE" ;
33
+ } ;
34
+ inverse = {
35
+ match_paren = false ;
36
+ visual = false ;
37
+ search = false ;
38
+ } ;
39
+ darken = {
40
+ floats = true ;
41
+ sidebars = {
42
+ enable = true ;
43
+ list = [ ] ;
44
+ } ;
45
+ } ;
46
+ modules = [ ] ;
47
+ } ;
48
+ palettes = [ ] ;
49
+ specs = [ ] ;
50
+ groups = [ ] ;
51
+ } ;
52
+ } ;
53
+ } ;
54
+
55
+ example = {
56
+ colorscheme = "github_light" ;
57
+ colorschemes . github-theme = {
58
+ enable = true ;
59
+
60
+ settings = {
61
+ transparent = true ;
62
+ dim_inactive = true ;
63
+ styles = {
64
+ comments = "italic" ;
65
+ keywords = "bold" ;
66
+ } ;
67
+ } ;
68
+ } ;
69
+ } ;
70
+ }
You can’t perform that action at this time.
0 commit comments