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
+ {
2
+ lib ,
3
+ ...
4
+ } :
5
+ lib . nixvim . plugins . mkNeovimPlugin {
6
+ name = "solarized-osaka" ;
7
+ isColorscheme = true ;
8
+ packPathName = "solarized-osaka.nvim" ;
9
+ package = "solarized-osaka-nvim" ;
10
+ colorscheme = "solarized-osaka" ;
11
+
12
+ maintainers = [ lib . maintainers . GaetanLepage ] ;
13
+
14
+ settingsExample = {
15
+ transparent = false ;
16
+ styles = {
17
+ comments . italic = true ;
18
+ keywords . italic = false ;
19
+ floats = "transparent" ;
20
+ } ;
21
+ } ;
22
+ }
Original file line number Diff line number Diff line change 25
25
./colorschemes/palette.nix
26
26
./colorschemes/poimandres.nix
27
27
./colorschemes/rose-pine.nix
28
+ ./colorschemes/solarized-osaka.nix
28
29
./colorschemes/tokyonight.nix
29
30
./colorschemes/vscode.nix
30
31
Original file line number Diff line number Diff line change
1
+ { lib , ... } :
2
+ {
3
+ empty = {
4
+ colorschemes . solarized-osaka . enable = true ;
5
+ } ;
6
+
7
+ defaults = {
8
+ colorschemes . solarized-osaka = {
9
+ enable = true ;
10
+
11
+ settings = {
12
+ transparent = true ;
13
+ terminal_colors = true ;
14
+ styles = {
15
+ comments . italic = true ;
16
+ keywords . italic = true ;
17
+ functions = { } ;
18
+ variables = { } ;
19
+ sidebars = "dark" ;
20
+ floats = "dark" ;
21
+ } ;
22
+ sidebars = [
23
+ "qf"
24
+ "help"
25
+ ] ;
26
+ day_brightness = 0.3 ;
27
+ hide_inactive_statusline = false ;
28
+ dim_inactive = false ;
29
+ lualine_bold = false ;
30
+ on_colors = lib . nixvim . mkRaw "function(colors) end" ;
31
+ on_highlights = lib . nixvim . mkRaw "function(highlights, colors) end" ;
32
+ } ;
33
+ } ;
34
+ } ;
35
+
36
+ example = {
37
+ colorschemes . solarized-osaka = {
38
+ enable = true ;
39
+
40
+ settings = {
41
+ transparent = false ;
42
+ styles = {
43
+ comments . italic = true ;
44
+ keywords . italic = false ;
45
+ floats = "transparent" ;
46
+ } ;
47
+ } ;
48
+ } ;
49
+ } ;
50
+ }
You can’t perform that action at this time.
0 commit comments