diff options
Diffstat (limited to '.vim/pack/default')
6 files changed, 1829 insertions, 0 deletions
diff --git a/.vim/pack/default/start/gruvbox/autoload/airline/themes/gruvbox.vim b/.vim/pack/default/start/gruvbox/autoload/airline/themes/gruvbox.vim new file mode 100644 index 0000000..6862a81 --- /dev/null +++ b/.vim/pack/default/start/gruvbox/autoload/airline/themes/gruvbox.vim | |||
@@ -0,0 +1,79 @@ | |||
1 | " ----------------------------------------------------------------------------- | ||
2 | " File: gruvbox.vim | ||
3 | " Description: Retro groove color scheme for Airline | ||
4 | " Author: morhetz <morhetz@gmail.com> | ||
5 | " Source: https://github.com/morhetz/gruvbox | ||
6 | " Last Modified: 12 Aug 2017 | ||
7 | " ----------------------------------------------------------------------------- | ||
8 | |||
9 | let g:airline#themes#gruvbox#palette = {} | ||
10 | |||
11 | function! airline#themes#gruvbox#refresh() | ||
12 | |||
13 | let M0 = airline#themes#get_highlight('Identifier') | ||
14 | let accents_group = airline#themes#get_highlight('Special') | ||
15 | let modified_group = [M0[0], '', M0[2], '', ''] | ||
16 | let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Question', 'fg']) | ||
17 | let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) | ||
18 | |||
19 | let s:N1 = airline#themes#get_highlight2(['Normal', 'bg'], ['StatusLineNC', 'bg']) | ||
20 | let s:N2 = airline#themes#get_highlight2(['StatusLineNC', 'bg'], ['Pmenu', 'bg']) | ||
21 | let s:N3 = airline#themes#get_highlight2(['StatusLineNC', 'bg'], ['CursorLine', 'bg']) | ||
22 | let g:airline#themes#gruvbox#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) | ||
23 | let g:airline#themes#gruvbox#palette.normal_modified = { 'airline_c': modified_group } | ||
24 | let g:airline#themes#gruvbox#palette.normal.airline_warning = warning_group | ||
25 | let g:airline#themes#gruvbox#palette.normal_modified.airline_warning = warning_group | ||
26 | let g:airline#themes#gruvbox#palette.normal.airline_error = error_group | ||
27 | let g:airline#themes#gruvbox#palette.normal_modified.airline_error = error_group | ||
28 | |||
29 | let s:I1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Identifier', 'fg']) | ||
30 | let s:I2 = s:N2 | ||
31 | let s:I3 = airline#themes#get_highlight2(['Normal', 'fg'], ['Pmenu', 'bg']) | ||
32 | let g:airline#themes#gruvbox#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) | ||
33 | let g:airline#themes#gruvbox#palette.insert_modified = g:airline#themes#gruvbox#palette.normal_modified | ||
34 | let g:airline#themes#gruvbox#palette.insert.airline_warning = g:airline#themes#gruvbox#palette.normal.airline_warning | ||
35 | let g:airline#themes#gruvbox#palette.insert_modified.airline_warning = g:airline#themes#gruvbox#palette.normal_modified.airline_warning | ||
36 | let g:airline#themes#gruvbox#palette.insert.airline_error = g:airline#themes#gruvbox#palette.normal.airline_error | ||
37 | let g:airline#themes#gruvbox#palette.insert_modified.airline_error = g:airline#themes#gruvbox#palette.normal_modified.airline_error | ||
38 | |||
39 | let s:R1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) | ||
40 | let s:R2 = s:I2 | ||
41 | let s:R3 = s:I3 | ||
42 | let g:airline#themes#gruvbox#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) | ||
43 | let g:airline#themes#gruvbox#palette.replace_modified = g:airline#themes#gruvbox#palette.normal_modified | ||
44 | let g:airline#themes#gruvbox#palette.replace.airline_warning = g:airline#themes#gruvbox#palette.normal.airline_warning | ||
45 | let g:airline#themes#gruvbox#palette.replace_modified.airline_warning = g:airline#themes#gruvbox#palette.normal_modified.airline_warning | ||
46 | let g:airline#themes#gruvbox#palette.replace.airline_error = g:airline#themes#gruvbox#palette.normal.airline_error | ||
47 | let g:airline#themes#gruvbox#palette.replace_modified.airline_error = g:airline#themes#gruvbox#palette.normal_modified.airline_error | ||
48 | |||
49 | let s:V1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Question', 'fg']) | ||
50 | let s:V2 = s:N2 | ||
51 | let s:V3 = airline#themes#get_highlight2(['Normal', 'bg'], ['TabLine', 'fg']) | ||
52 | let g:airline#themes#gruvbox#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) | ||
53 | let g:airline#themes#gruvbox#palette.visual_modified = { 'airline_c': [ s:V3[0], '', s:V3[2], '', '' ] } | ||
54 | let g:airline#themes#gruvbox#palette.visual.airline_warning = g:airline#themes#gruvbox#palette.normal.airline_warning | ||
55 | let g:airline#themes#gruvbox#palette.visual_modified.airline_warning = g:airline#themes#gruvbox#palette.normal_modified.airline_warning | ||
56 | let g:airline#themes#gruvbox#palette.visual.airline_error = g:airline#themes#gruvbox#palette.normal.airline_error | ||
57 | let g:airline#themes#gruvbox#palette.visual_modified.airline_error = g:airline#themes#gruvbox#palette.normal_modified.airline_error | ||
58 | |||
59 | let s:IA = airline#themes#get_highlight2(['TabLine', 'fg'], ['CursorLine', 'bg']) | ||
60 | let g:airline#themes#gruvbox#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA) | ||
61 | let g:airline#themes#gruvbox#palette.inactive_modified = { 'airline_c': modified_group } | ||
62 | |||
63 | let g:airline#themes#gruvbox#palette.accents = { 'red': accents_group } | ||
64 | |||
65 | let s:TF = airline#themes#get_highlight2(['Normal', 'bg'], ['Normal', 'bg']) | ||
66 | let g:airline#themes#gruvbox#palette.tabline = { | ||
67 | \ 'airline_tab': s:N2, | ||
68 | \ 'airline_tabsel': s:N1, | ||
69 | \ 'airline_tabtype': s:V1, | ||
70 | \ 'airline_tabfill': s:TF, | ||
71 | \ 'airline_tabhid': s:IA, | ||
72 | \ 'airline_tabmod': s:I1 | ||
73 | \ } | ||
74 | |||
75 | endfunction | ||
76 | |||
77 | call airline#themes#gruvbox#refresh() | ||
78 | |||
79 | " vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker: | ||
diff --git a/.vim/pack/default/start/gruvbox/autoload/gruvbox.vim b/.vim/pack/default/start/gruvbox/autoload/gruvbox.vim new file mode 100644 index 0000000..44bec6e --- /dev/null +++ b/.vim/pack/default/start/gruvbox/autoload/gruvbox.vim | |||
@@ -0,0 +1,41 @@ | |||
1 | " ----------------------------------------------------------------------------- | ||
2 | " File: gruvbox.vim | ||
3 | " Description: Retro groove color scheme for Vim | ||
4 | " Author: morhetz <morhetz@gmail.com> | ||
5 | " Source: https://github.com/morhetz/gruvbox | ||
6 | " Last Modified: 09 Apr 2014 | ||
7 | " ----------------------------------------------------------------------------- | ||
8 | |||
9 | function! gruvbox#invert_signs_toggle() | ||
10 | if g:gruvbox_invert_signs == 0 | ||
11 | let g:gruvbox_invert_signs=1 | ||
12 | else | ||
13 | let g:gruvbox_invert_signs=0 | ||
14 | endif | ||
15 | |||
16 | colorscheme gruvbox | ||
17 | endfunction | ||
18 | |||
19 | " Search Highlighting {{{ | ||
20 | |||
21 | function! gruvbox#hls_show() | ||
22 | set hlsearch | ||
23 | call GruvboxHlsShowCursor() | ||
24 | endfunction | ||
25 | |||
26 | function! gruvbox#hls_hide() | ||
27 | set nohlsearch | ||
28 | call GruvboxHlsHideCursor() | ||
29 | endfunction | ||
30 | |||
31 | function! gruvbox#hls_toggle() | ||
32 | if &hlsearch | ||
33 | call gruvbox#hls_hide() | ||
34 | else | ||
35 | call gruvbox#hls_show() | ||
36 | endif | ||
37 | endfunction | ||
38 | |||
39 | " }}} | ||
40 | |||
41 | " vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker: | ||
diff --git a/.vim/pack/default/start/gruvbox/autoload/lightline/colorscheme/gruvbox.vim b/.vim/pack/default/start/gruvbox/autoload/lightline/colorscheme/gruvbox.vim new file mode 100644 index 0000000..4730c09 --- /dev/null +++ b/.vim/pack/default/start/gruvbox/autoload/lightline/colorscheme/gruvbox.vim | |||
@@ -0,0 +1,57 @@ | |||
1 | " ----------------------------------------------------------------------------- | ||
2 | " File: gruvbox.vim | ||
3 | " Description: Gruvbox colorscheme for Lightline (itchyny/lightline.vim) | ||
4 | " Author: gmoe <me@griffinmoe.com> | ||
5 | " Source: https://github.com/morhetz/gruvbox | ||
6 | " Last Modified: 20 Sep 2017 | ||
7 | " ----------------------------------------------------------------------------- | ||
8 | |||
9 | function! s:getGruvColor(group) | ||
10 | let guiColor = synIDattr(hlID(a:group), "fg", "gui") | ||
11 | let termColor = synIDattr(hlID(a:group), "fg", "cterm") | ||
12 | return [ guiColor, termColor ] | ||
13 | endfunction | ||
14 | |||
15 | if exists('g:lightline') | ||
16 | |||
17 | let s:bg0 = s:getGruvColor('GruvboxBg0') | ||
18 | let s:bg1 = s:getGruvColor('GruvboxBg1') | ||
19 | let s:bg2 = s:getGruvColor('GruvboxBg2') | ||
20 | let s:bg4 = s:getGruvColor('GruvboxBg4') | ||
21 | let s:fg1 = s:getGruvColor('GruvboxFg1') | ||
22 | let s:fg4 = s:getGruvColor('GruvboxFg4') | ||
23 | |||
24 | let s:yellow = s:getGruvColor('GruvboxYellow') | ||
25 | let s:blue = s:getGruvColor('GruvboxBlue') | ||
26 | let s:aqua = s:getGruvColor('GruvboxAqua') | ||
27 | let s:orange = s:getGruvColor('GruvboxOrange') | ||
28 | let s:green = s:getGruvColor('GruvboxGreen') | ||
29 | |||
30 | let s:p = {'normal':{}, 'inactive':{}, 'insert':{}, 'replace':{}, 'visual':{}, 'tabline':{}, 'terminal':{}} | ||
31 | let s:p.normal.left = [ [ s:bg0, s:fg4, 'bold' ], [ s:fg4, s:bg2 ] ] | ||
32 | let s:p.normal.right = [ [ s:bg0, s:fg4 ], [ s:fg4, s:bg2 ] ] | ||
33 | let s:p.normal.middle = [ [ s:fg4, s:bg1 ] ] | ||
34 | let s:p.inactive.right = [ [ s:bg4, s:bg1 ], [ s:bg4, s:bg1 ] ] | ||
35 | let s:p.inactive.left = [ [ s:bg4, s:bg1 ], [ s:bg4, s:bg1 ] ] | ||
36 | let s:p.inactive.middle = [ [ s:bg4, s:bg1 ] ] | ||
37 | let s:p.insert.left = [ [ s:bg0, s:blue, 'bold' ], [ s:fg1, s:bg2 ] ] | ||
38 | let s:p.insert.right = [ [ s:bg0, s:blue ], [ s:fg1, s:bg2 ] ] | ||
39 | let s:p.insert.middle = [ [ s:fg4, s:bg2 ] ] | ||
40 | let s:p.terminal.left = [ [ s:bg0, s:green, 'bold' ], [ s:fg1, s:bg2 ] ] | ||
41 | let s:p.terminal.right = [ [ s:bg0, s:green ], [ s:fg1, s:bg2 ] ] | ||
42 | let s:p.terminal.middle = [ [ s:fg4, s:bg2 ] ] | ||
43 | let s:p.replace.left = [ [ s:bg0, s:aqua, 'bold' ], [ s:fg1, s:bg2 ] ] | ||
44 | let s:p.replace.right = [ [ s:bg0, s:aqua ], [ s:fg1, s:bg2 ] ] | ||
45 | let s:p.replace.middle = [ [ s:fg4, s:bg2 ] ] | ||
46 | let s:p.visual.left = [ [ s:bg0, s:orange, 'bold' ], [ s:bg0, s:bg4 ] ] | ||
47 | let s:p.visual.right = [ [ s:bg0, s:orange ], [ s:bg0, s:bg4 ] ] | ||
48 | let s:p.visual.middle = [ [ s:fg4, s:bg1 ] ] | ||
49 | let s:p.tabline.left = [ [ s:fg4, s:bg2 ] ] | ||
50 | let s:p.tabline.tabsel = [ [ s:bg0, s:fg4 ] ] | ||
51 | let s:p.tabline.middle = [ [ s:bg0, s:bg0 ] ] | ||
52 | let s:p.tabline.right = [ [ s:bg0, s:orange ] ] | ||
53 | let s:p.normal.error = [ [ s:bg0, s:orange ] ] | ||
54 | let s:p.normal.warning = [ [ s:bg2, s:yellow ] ] | ||
55 | |||
56 | let g:lightline#colorscheme#gruvbox#palette = lightline#colorscheme#flatten(s:p) | ||
57 | endif | ||
diff --git a/.vim/pack/default/start/gruvbox/colors/gruvbox.vim b/.vim/pack/default/start/gruvbox/colors/gruvbox.vim new file mode 100644 index 0000000..66246fb --- /dev/null +++ b/.vim/pack/default/start/gruvbox/colors/gruvbox.vim | |||
@@ -0,0 +1,1418 @@ | |||
1 | " ----------------------------------------------------------------------------- | ||
2 | " File: gruvbox.vim | ||
3 | " Description: Retro groove color scheme for Vim | ||
4 | " Author: morhetz <morhetz@gmail.com> | ||
5 | " Source: https://github.com/morhetz/gruvbox | ||
6 | " Last Modified: 12 Aug 2017 | ||
7 | " ----------------------------------------------------------------------------- | ||
8 | |||
9 | " Supporting code ------------------------------------------------------------- | ||
10 | " Initialisation: {{{ | ||
11 | |||
12 | if version > 580 | ||
13 | hi clear | ||
14 | if exists("syntax_on") | ||
15 | syntax reset | ||
16 | endif | ||
17 | endif | ||
18 | |||
19 | let g:colors_name='gruvbox' | ||
20 | |||
21 | if !(has('termguicolors') && &termguicolors) && !has('gui_running') && &t_Co != 256 | ||
22 | finish | ||
23 | endif | ||
24 | |||
25 | " }}} | ||
26 | " Global Settings: {{{ | ||
27 | |||
28 | if !exists('g:gruvbox_bold') | ||
29 | let g:gruvbox_bold=1 | ||
30 | endif | ||
31 | if !exists('g:gruvbox_italic') | ||
32 | if has('gui_running') || $TERM_ITALICS == 'true' | ||
33 | let g:gruvbox_italic=1 | ||
34 | else | ||
35 | let g:gruvbox_italic=0 | ||
36 | endif | ||
37 | endif | ||
38 | if !exists('g:gruvbox_undercurl') | ||
39 | let g:gruvbox_undercurl=1 | ||
40 | endif | ||
41 | if !exists('g:gruvbox_underline') | ||
42 | let g:gruvbox_underline=1 | ||
43 | endif | ||
44 | if !exists('g:gruvbox_inverse') | ||
45 | let g:gruvbox_inverse=1 | ||
46 | endif | ||
47 | |||
48 | if !exists('g:gruvbox_guisp_fallback') || index(['fg', 'bg'], g:gruvbox_guisp_fallback) == -1 | ||
49 | let g:gruvbox_guisp_fallback='NONE' | ||
50 | endif | ||
51 | |||
52 | if !exists('g:gruvbox_improved_strings') | ||
53 | let g:gruvbox_improved_strings=0 | ||
54 | endif | ||
55 | |||
56 | if !exists('g:gruvbox_improved_warnings') | ||
57 | let g:gruvbox_improved_warnings=0 | ||
58 | endif | ||
59 | |||
60 | if !exists('g:gruvbox_termcolors') | ||
61 | let g:gruvbox_termcolors=256 | ||
62 | endif | ||
63 | |||
64 | if !exists('g:gruvbox_invert_indent_guides') | ||
65 | let g:gruvbox_invert_indent_guides=0 | ||
66 | endif | ||
67 | |||
68 | if exists('g:gruvbox_contrast') | ||
69 | echo 'g:gruvbox_contrast is deprecated; use g:gruvbox_contrast_light and g:gruvbox_contrast_dark instead' | ||
70 | endif | ||
71 | |||
72 | if !exists('g:gruvbox_contrast_dark') | ||
73 | let g:gruvbox_contrast_dark='medium' | ||
74 | endif | ||
75 | |||
76 | if !exists('g:gruvbox_contrast_light') | ||
77 | let g:gruvbox_contrast_light='medium' | ||
78 | endif | ||
79 | |||
80 | let s:is_dark=(&background == 'dark') | ||
81 | |||
82 | " }}} | ||
83 | " Palette: {{{ | ||
84 | |||
85 | " setup palette dictionary | ||
86 | let s:gb = {} | ||
87 | |||
88 | " fill it with absolute colors | ||
89 | let s:gb.dark0_hard = ['#1d2021', 234] " 29-32-33 | ||
90 | let s:gb.dark0 = ['#282828', 235] " 40-40-40 | ||
91 | let s:gb.dark0_soft = ['#32302f', 236] " 50-48-47 | ||
92 | let s:gb.dark1 = ['#3c3836', 237] " 60-56-54 | ||
93 | let s:gb.dark2 = ['#504945', 239] " 80-73-69 | ||
94 | let s:gb.dark3 = ['#665c54', 241] " 102-92-84 | ||
95 | let s:gb.dark4 = ['#7c6f64', 243] " 124-111-100 | ||
96 | let s:gb.dark4_256 = ['#7c6f64', 243] " 124-111-100 | ||
97 | |||
98 | let s:gb.gray_245 = ['#928374', 245] " 146-131-116 | ||
99 | let s:gb.gray_244 = ['#928374', 244] " 146-131-116 | ||
100 | |||
101 | let s:gb.light0_hard = ['#f9f5d7', 230] " 249-245-215 | ||
102 | let s:gb.light0 = ['#fbf1c7', 229] " 253-244-193 | ||
103 | let s:gb.light0_soft = ['#f2e5bc', 228] " 242-229-188 | ||
104 | let s:gb.light1 = ['#ebdbb2', 223] " 235-219-178 | ||
105 | let s:gb.light2 = ['#d5c4a1', 250] " 213-196-161 | ||
106 | let s:gb.light3 = ['#bdae93', 248] " 189-174-147 | ||
107 | let s:gb.light4 = ['#a89984', 246] " 168-153-132 | ||
108 | let s:gb.light4_256 = ['#a89984', 246] " 168-153-132 | ||
109 | |||
110 | let s:gb.bright_red = ['#fb4934', 167] " 251-73-52 | ||
111 | let s:gb.bright_green = ['#b8bb26', 142] " 184-187-38 | ||
112 | let s:gb.bright_yellow = ['#fabd2f', 214] " 250-189-47 | ||
113 | let s:gb.bright_blue = ['#83a598', 109] " 131-165-152 | ||
114 | let s:gb.bright_purple = ['#d3869b', 175] " 211-134-155 | ||
115 | let s:gb.bright_aqua = ['#8ec07c', 108] " 142-192-124 | ||
116 | let s:gb.bright_orange = ['#fe8019', 208] " 254-128-25 | ||
117 | |||
118 | let s:gb.neutral_red = ['#cc241d', 124] " 204-36-29 | ||
119 | let s:gb.neutral_green = ['#98971a', 106] " 152-151-26 | ||
120 | let s:gb.neutral_yellow = ['#d79921', 172] " 215-153-33 | ||
121 | let s:gb.neutral_blue = ['#458588', 66] " 69-133-136 | ||
122 | let s:gb.neutral_purple = ['#b16286', 132] " 177-98-134 | ||
123 | let s:gb.neutral_aqua = ['#689d6a', 72] " 104-157-106 | ||
124 | let s:gb.neutral_orange = ['#d65d0e', 166] " 214-93-14 | ||
125 | |||
126 | let s:gb.faded_red = ['#9d0006', 88] " 157-0-6 | ||
127 | let s:gb.faded_green = ['#79740e', 100] " 121-116-14 | ||
128 | let s:gb.faded_yellow = ['#b57614', 136] " 181-118-20 | ||
129 | let s:gb.faded_blue = ['#076678', 24] " 7-102-120 | ||
130 | let s:gb.faded_purple = ['#8f3f71', 96] " 143-63-113 | ||
131 | let s:gb.faded_aqua = ['#427b58', 66] " 66-123-88 | ||
132 | let s:gb.faded_orange = ['#af3a03', 130] " 175-58-3 | ||
133 | |||
134 | " }}} | ||
135 | " Setup Emphasis: {{{ | ||
136 | |||
137 | let s:bold = 'bold,' | ||
138 | if g:gruvbox_bold == 0 | ||
139 | let s:bold = '' | ||
140 | endif | ||
141 | |||
142 | let s:italic = 'italic,' | ||
143 | if g:gruvbox_italic == 0 | ||
144 | let s:italic = '' | ||
145 | endif | ||
146 | |||
147 | let s:underline = 'underline,' | ||
148 | if g:gruvbox_underline == 0 | ||
149 | let s:underline = '' | ||
150 | endif | ||
151 | |||
152 | let s:undercurl = 'undercurl,' | ||
153 | if g:gruvbox_undercurl == 0 | ||
154 | let s:undercurl = '' | ||
155 | endif | ||
156 | |||
157 | let s:inverse = 'inverse,' | ||
158 | if g:gruvbox_inverse == 0 | ||
159 | let s:inverse = '' | ||
160 | endif | ||
161 | |||
162 | " }}} | ||
163 | " Setup Colors: {{{ | ||
164 | |||
165 | let s:vim_bg = ['bg', 'bg'] | ||
166 | let s:vim_fg = ['fg', 'fg'] | ||
167 | let s:none = ['NONE', 'NONE'] | ||
168 | |||
169 | " determine relative colors | ||
170 | if s:is_dark | ||
171 | let s:bg0 = s:gb.dark0 | ||
172 | if g:gruvbox_contrast_dark == 'soft' | ||
173 | let s:bg0 = s:gb.dark0_soft | ||
174 | elseif g:gruvbox_contrast_dark == 'hard' | ||
175 | let s:bg0 = s:gb.dark0_hard | ||
176 | endif | ||
177 | |||
178 | let s:bg1 = s:gb.dark1 | ||
179 | let s:bg2 = s:gb.dark2 | ||
180 | let s:bg3 = s:gb.dark3 | ||
181 | let s:bg4 = s:gb.dark4 | ||
182 | |||
183 | let s:gray = s:gb.gray_245 | ||
184 | |||
185 | let s:fg0 = s:gb.light0 | ||
186 | let s:fg1 = s:gb.light1 | ||
187 | let s:fg2 = s:gb.light2 | ||
188 | let s:fg3 = s:gb.light3 | ||
189 | let s:fg4 = s:gb.light4 | ||
190 | |||
191 | let s:fg4_256 = s:gb.light4_256 | ||
192 | |||
193 | let s:red = s:gb.bright_red | ||
194 | let s:green = s:gb.bright_green | ||
195 | let s:yellow = s:gb.bright_yellow | ||
196 | let s:blue = s:gb.bright_blue | ||
197 | let s:purple = s:gb.bright_purple | ||
198 | let s:aqua = s:gb.bright_aqua | ||
199 | let s:orange = s:gb.bright_orange | ||
200 | else | ||
201 | let s:bg0 = s:gb.light0 | ||
202 | if g:gruvbox_contrast_light == 'soft' | ||
203 | let s:bg0 = s:gb.light0_soft | ||
204 | elseif g:gruvbox_contrast_light == 'hard' | ||
205 | let s:bg0 = s:gb.light0_hard | ||
206 | endif | ||
207 | |||
208 | let s:bg1 = s:gb.light1 | ||
209 | let s:bg2 = s:gb.light2 | ||
210 | let s:bg3 = s:gb.light3 | ||
211 | let s:bg4 = s:gb.light4 | ||
212 | |||
213 | let s:gray = s:gb.gray_244 | ||
214 | |||
215 | let s:fg0 = s:gb.dark0 | ||
216 | let s:fg1 = s:gb.dark1 | ||
217 | let s:fg2 = s:gb.dark2 | ||
218 | let s:fg3 = s:gb.dark3 | ||
219 | let s:fg4 = s:gb.dark4 | ||
220 | |||
221 | let s:fg4_256 = s:gb.dark4_256 | ||
222 | |||
223 | let s:red = s:gb.faded_red | ||
224 | let s:green = s:gb.faded_green | ||
225 | let s:yellow = s:gb.faded_yellow | ||
226 | let s:blue = s:gb.faded_blue | ||
227 | let s:purple = s:gb.faded_purple | ||
228 | let s:aqua = s:gb.faded_aqua | ||
229 | let s:orange = s:gb.faded_orange | ||
230 | endif | ||
231 | |||
232 | " reset to 16 colors fallback | ||
233 | if g:gruvbox_termcolors == 16 | ||
234 | let s:bg0[1] = 0 | ||
235 | let s:fg4[1] = 7 | ||
236 | let s:gray[1] = 8 | ||
237 | let s:red[1] = 9 | ||
238 | let s:green[1] = 10 | ||
239 | let s:yellow[1] = 11 | ||
240 | let s:blue[1] = 12 | ||
241 | let s:purple[1] = 13 | ||
242 | let s:aqua[1] = 14 | ||
243 | let s:fg1[1] = 15 | ||
244 | endif | ||
245 | |||
246 | " save current relative colors back to palette dictionary | ||
247 | let s:gb.bg0 = s:bg0 | ||
248 | let s:gb.bg1 = s:bg1 | ||
249 | let s:gb.bg2 = s:bg2 | ||
250 | let s:gb.bg3 = s:bg3 | ||
251 | let s:gb.bg4 = s:bg4 | ||
252 | |||
253 | let s:gb.gray = s:gray | ||
254 | |||
255 | let s:gb.fg0 = s:fg0 | ||
256 | let s:gb.fg1 = s:fg1 | ||
257 | let s:gb.fg2 = s:fg2 | ||
258 | let s:gb.fg3 = s:fg3 | ||
259 | let s:gb.fg4 = s:fg4 | ||
260 | |||
261 | let s:gb.fg4_256 = s:fg4_256 | ||
262 | |||
263 | let s:gb.red = s:red | ||
264 | let s:gb.green = s:green | ||
265 | let s:gb.yellow = s:yellow | ||
266 | let s:gb.blue = s:blue | ||
267 | let s:gb.purple = s:purple | ||
268 | let s:gb.aqua = s:aqua | ||
269 | let s:gb.orange = s:orange | ||
270 | |||
271 | " }}} | ||
272 | " Setup Terminal Colors For Neovim: {{{ | ||
273 | |||
274 | if has('nvim') | ||
275 | let g:terminal_color_0 = s:bg0[0] | ||
276 | let g:terminal_color_8 = s:gray[0] | ||
277 | |||
278 | let g:terminal_color_1 = s:gb.neutral_red[0] | ||
279 | let g:terminal_color_9 = s:red[0] | ||
280 | |||
281 | let g:terminal_color_2 = s:gb.neutral_green[0] | ||
282 | let g:terminal_color_10 = s:green[0] | ||
283 | |||
284 | let g:terminal_color_3 = s:gb.neutral_yellow[0] | ||
285 | let g:terminal_color_11 = s:yellow[0] | ||
286 | |||
287 | let g:terminal_color_4 = s:gb.neutral_blue[0] | ||
288 | let g:terminal_color_12 = s:blue[0] | ||
289 | |||
290 | let g:terminal_color_5 = s:gb.neutral_purple[0] | ||
291 | let g:terminal_color_13 = s:purple[0] | ||
292 | |||
293 | let g:terminal_color_6 = s:gb.neutral_aqua[0] | ||
294 | let g:terminal_color_14 = s:aqua[0] | ||
295 | |||
296 | let g:terminal_color_7 = s:fg4[0] | ||
297 | let g:terminal_color_15 = s:fg1[0] | ||
298 | endif | ||
299 | |||
300 | " }}} | ||
301 | " Overload Setting: {{{ | ||
302 | |||
303 | let s:hls_cursor = s:orange | ||
304 | if exists('g:gruvbox_hls_cursor') | ||
305 | let s:hls_cursor = get(s:gb, g:gruvbox_hls_cursor) | ||
306 | endif | ||
307 | |||
308 | let s:number_column = s:none | ||
309 | if exists('g:gruvbox_number_column') | ||
310 | let s:number_column = get(s:gb, g:gruvbox_number_column) | ||
311 | endif | ||
312 | |||
313 | let s:sign_column = s:bg1 | ||
314 | |||
315 | if exists('g:gitgutter_override_sign_column_highlight') && | ||
316 | \ g:gitgutter_override_sign_column_highlight == 1 | ||
317 | let s:sign_column = s:number_column | ||
318 | else | ||
319 | let g:gitgutter_override_sign_column_highlight = 0 | ||
320 | |||
321 | if exists('g:gruvbox_sign_column') | ||
322 | let s:sign_column = get(s:gb, g:gruvbox_sign_column) | ||
323 | endif | ||
324 | endif | ||
325 | |||
326 | let s:color_column = s:bg1 | ||
327 | if exists('g:gruvbox_color_column') | ||
328 | let s:color_column = get(s:gb, g:gruvbox_color_column) | ||
329 | endif | ||
330 | |||
331 | let s:vert_split = s:bg0 | ||
332 | if exists('g:gruvbox_vert_split') | ||
333 | let s:vert_split = get(s:gb, g:gruvbox_vert_split) | ||
334 | endif | ||
335 | |||
336 | let s:invert_signs = '' | ||
337 | if exists('g:gruvbox_invert_signs') | ||
338 | if g:gruvbox_invert_signs == 1 | ||
339 | let s:invert_signs = s:inverse | ||
340 | endif | ||
341 | endif | ||
342 | |||
343 | let s:invert_selection = s:inverse | ||
344 | if exists('g:gruvbox_invert_selection') | ||
345 | if g:gruvbox_invert_selection == 0 | ||
346 | let s:invert_selection = '' | ||
347 | endif | ||
348 | endif | ||
349 | |||
350 | let s:invert_tabline = '' | ||
351 | if exists('g:gruvbox_invert_tabline') | ||
352 | if g:gruvbox_invert_tabline == 1 | ||
353 | let s:invert_tabline = s:inverse | ||
354 | endif | ||
355 | endif | ||
356 | |||
357 | let s:italicize_comments = s:italic | ||
358 | if exists('g:gruvbox_italicize_comments') | ||
359 | if g:gruvbox_italicize_comments == 0 | ||
360 | let s:italicize_comments = '' | ||
361 | endif | ||
362 | endif | ||
363 | |||
364 | let s:italicize_strings = '' | ||
365 | if exists('g:gruvbox_italicize_strings') | ||
366 | if g:gruvbox_italicize_strings == 1 | ||
367 | let s:italicize_strings = s:italic | ||
368 | endif | ||
369 | endif | ||
370 | |||
371 | " }}} | ||
372 | " Highlighting Function: {{{ | ||
373 | |||
374 | function! s:HL(group, fg, ...) | ||
375 | " Arguments: group, guifg, guibg, gui, guisp | ||
376 | |||
377 | " foreground | ||
378 | let fg = a:fg | ||
379 | |||
380 | " background | ||
381 | if a:0 >= 1 | ||
382 | let bg = a:1 | ||
383 | else | ||
384 | let bg = s:none | ||
385 | endif | ||
386 | |||
387 | " emphasis | ||
388 | if a:0 >= 2 && strlen(a:2) | ||
389 | let emstr = a:2 | ||
390 | else | ||
391 | let emstr = 'NONE,' | ||
392 | endif | ||
393 | |||
394 | " special fallback | ||
395 | if a:0 >= 3 | ||
396 | if g:gruvbox_guisp_fallback != 'NONE' | ||
397 | let fg = a:3 | ||
398 | endif | ||
399 | |||
400 | " bg fallback mode should invert higlighting | ||
401 | if g:gruvbox_guisp_fallback == 'bg' | ||
402 | let emstr .= 'inverse,' | ||
403 | endif | ||
404 | endif | ||
405 | |||
406 | let histring = [ 'hi', a:group, | ||
407 | \ 'guifg=' . fg[0], 'ctermfg=' . fg[1], | ||
408 | \ 'guibg=' . bg[0], 'ctermbg=' . bg[1], | ||
409 | \ 'gui=' . emstr[:-2], 'cterm=' . emstr[:-2] | ||
410 | \ ] | ||
411 | |||
412 | " special | ||
413 | if a:0 >= 3 | ||
414 | call add(histring, 'guisp=' . a:3[0]) | ||
415 | endif | ||
416 | |||
417 | execute join(histring, ' ') | ||
418 | endfunction | ||
419 | |||
420 | " }}} | ||
421 | " Gruvbox Hi Groups: {{{ | ||
422 | |||
423 | " memoize common hi groups | ||
424 | call s:HL('GruvboxFg0', s:fg0) | ||
425 | call s:HL('GruvboxFg1', s:fg1) | ||
426 | call s:HL('GruvboxFg2', s:fg2) | ||
427 | call s:HL('GruvboxFg3', s:fg3) | ||
428 | call s:HL('GruvboxFg4', s:fg4) | ||
429 | call s:HL('GruvboxGray', s:gray) | ||
430 | call s:HL('GruvboxBg0', s:bg0) | ||
431 | call s:HL('GruvboxBg1', s:bg1) | ||
432 | call s:HL('GruvboxBg2', s:bg2) | ||
433 | call s:HL('GruvboxBg3', s:bg3) | ||
434 | call s:HL('GruvboxBg4', s:bg4) | ||
435 | |||
436 | call s:HL('GruvboxRed', s:red) | ||
437 | call s:HL('GruvboxRedBold', s:red, s:none, s:bold) | ||
438 | call s:HL('GruvboxGreen', s:green) | ||
439 | call s:HL('GruvboxGreenBold', s:green, s:none, s:bold) | ||
440 | call s:HL('GruvboxYellow', s:yellow) | ||
441 | call s:HL('GruvboxYellowBold', s:yellow, s:none, s:bold) | ||
442 | call s:HL('GruvboxBlue', s:blue) | ||
443 | call s:HL('GruvboxBlueBold', s:blue, s:none, s:bold) | ||
444 | call s:HL('GruvboxPurple', s:purple) | ||
445 | call s:HL('GruvboxPurpleBold', s:purple, s:none, s:bold) | ||
446 | call s:HL('GruvboxAqua', s:aqua) | ||
447 | call s:HL('GruvboxAquaBold', s:aqua, s:none, s:bold) | ||
448 | call s:HL('GruvboxOrange', s:orange) | ||
449 | call s:HL('GruvboxOrangeBold', s:orange, s:none, s:bold) | ||
450 | |||
451 | call s:HL('GruvboxRedSign', s:red, s:sign_column, s:invert_signs) | ||
452 | call s:HL('GruvboxGreenSign', s:green, s:sign_column, s:invert_signs) | ||
453 | call s:HL('GruvboxYellowSign', s:yellow, s:sign_column, s:invert_signs) | ||
454 | call s:HL('GruvboxBlueSign', s:blue, s:sign_column, s:invert_signs) | ||
455 | call s:HL('GruvboxPurpleSign', s:purple, s:sign_column, s:invert_signs) | ||
456 | call s:HL('GruvboxAquaSign', s:aqua, s:sign_column, s:invert_signs) | ||
457 | call s:HL('GruvboxOrangeSign', s:orange, s:sign_column, s:invert_signs) | ||
458 | |||
459 | " }}} | ||
460 | |||
461 | " Vanilla colorscheme --------------------------------------------------------- | ||
462 | " General UI: {{{ | ||
463 | |||
464 | " Normal text | ||
465 | call s:HL('Normal', s:fg1, s:bg0) | ||
466 | |||
467 | " Correct background (see issue #7): | ||
468 | " --- Problem with changing between dark and light on 256 color terminal | ||
469 | " --- https://github.com/morhetz/gruvbox/issues/7 | ||
470 | if s:is_dark | ||
471 | set background=dark | ||
472 | else | ||
473 | set background=light | ||
474 | endif | ||
475 | |||
476 | if version >= 700 | ||
477 | " Screen line that the cursor is | ||
478 | call s:HL('CursorLine', s:none, s:bg1) | ||
479 | " Screen column that the cursor is | ||
480 | hi! link CursorColumn CursorLine | ||
481 | |||
482 | " Tab pages line filler | ||
483 | call s:HL('TabLineFill', s:bg4, s:bg1, s:invert_tabline) | ||
484 | " Active tab page label | ||
485 | call s:HL('TabLineSel', s:green, s:bg1, s:invert_tabline) | ||
486 | " Not active tab page label | ||
487 | hi! link TabLine TabLineFill | ||
488 | |||
489 | " Match paired bracket under the cursor | ||
490 | call s:HL('MatchParen', s:none, s:bg3, s:bold) | ||
491 | endif | ||
492 | |||
493 | if version >= 703 | ||
494 | " Highlighted screen columns | ||
495 | call s:HL('ColorColumn', s:none, s:color_column) | ||
496 | |||
497 | " Concealed element: \lambda → λ | ||
498 | call s:HL('Conceal', s:blue, s:none) | ||
499 | |||
500 | " Line number of CursorLine | ||
501 | call s:HL('CursorLineNr', s:yellow, s:bg1) | ||
502 | endif | ||
503 | |||
504 | hi! link NonText GruvboxBg2 | ||
505 | hi! link SpecialKey GruvboxBg2 | ||
506 | |||
507 | call s:HL('Visual', s:none, s:bg3, s:invert_selection) | ||
508 | hi! link VisualNOS Visual | ||
509 | |||
510 | call s:HL('Search', s:yellow, s:bg0, s:inverse) | ||
511 | call s:HL('IncSearch', s:hls_cursor, s:bg0, s:inverse) | ||
512 | |||
513 | call s:HL('Underlined', s:blue, s:none, s:underline) | ||
514 | |||
515 | call s:HL('StatusLine', s:bg2, s:fg1, s:inverse) | ||
516 | call s:HL('StatusLineNC', s:bg1, s:fg4, s:inverse) | ||
517 | |||
518 | " The column separating vertically split windows | ||
519 | call s:HL('VertSplit', s:bg3, s:vert_split) | ||
520 | |||
521 | " Current match in wildmenu completion | ||
522 | call s:HL('WildMenu', s:blue, s:bg2, s:bold) | ||
523 | |||
524 | " Directory names, special names in listing | ||
525 | hi! link Directory GruvboxGreenBold | ||
526 | |||
527 | " Titles for output from :set all, :autocmd, etc. | ||
528 | hi! link Title GruvboxGreenBold | ||
529 | |||
530 | " Error messages on the command line | ||
531 | call s:HL('ErrorMsg', s:bg0, s:red, s:bold) | ||
532 | " More prompt: -- More -- | ||
533 | hi! link MoreMsg GruvboxYellowBold | ||
534 | " Current mode message: -- INSERT -- | ||
535 | hi! link ModeMsg GruvboxYellowBold | ||
536 | " 'Press enter' prompt and yes/no questions | ||
537 | hi! link Question GruvboxOrangeBold | ||
538 | " Warning messages | ||
539 | hi! link WarningMsg GruvboxRedBold | ||
540 | |||
541 | " }}} | ||
542 | " Gutter: {{{ | ||
543 | |||
544 | " Line number for :number and :# commands | ||
545 | call s:HL('LineNr', s:bg4, s:number_column) | ||
546 | |||
547 | " Column where signs are displayed | ||
548 | call s:HL('SignColumn', s:none, s:sign_column) | ||
549 | |||
550 | " Line used for closed folds | ||
551 | call s:HL('Folded', s:gray, s:bg1, s:italic) | ||
552 | " Column where folds are displayed | ||
553 | call s:HL('FoldColumn', s:gray, s:bg1) | ||
554 | |||
555 | " }}} | ||
556 | " Cursor: {{{ | ||
557 | |||
558 | " Character under cursor | ||
559 | call s:HL('Cursor', s:none, s:none, s:inverse) | ||
560 | " Visual mode cursor, selection | ||
561 | hi! link vCursor Cursor | ||
562 | " Input moder cursor | ||
563 | hi! link iCursor Cursor | ||
564 | " Language mapping cursor | ||
565 | hi! link lCursor Cursor | ||
566 | |||
567 | " }}} | ||
568 | " Syntax Highlighting: {{{ | ||
569 | |||
570 | if g:gruvbox_improved_strings == 0 | ||
571 | hi! link Special GruvboxOrange | ||
572 | else | ||
573 | call s:HL('Special', s:orange, s:bg1, s:italicize_strings) | ||
574 | endif | ||
575 | |||
576 | call s:HL('Comment', s:gray, s:none, s:italicize_comments) | ||
577 | call s:HL('Todo', s:vim_fg, s:vim_bg, s:bold . s:italic) | ||
578 | call s:HL('Error', s:red, s:vim_bg, s:bold . s:inverse) | ||
579 | |||
580 | " Generic statement | ||
581 | hi! link Statement GruvboxRed | ||
582 | " if, then, else, endif, swicth, etc. | ||
583 | hi! link Conditional GruvboxRed | ||
584 | " for, do, while, etc. | ||
585 | hi! link Repeat GruvboxRed | ||
586 | " case, default, etc. | ||
587 | hi! link Label GruvboxRed | ||
588 | " try, catch, throw | ||
589 | hi! link Exception GruvboxRed | ||
590 | " sizeof, "+", "*", etc. | ||
591 | hi! link Operator Normal | ||
592 | " Any other keyword | ||
593 | hi! link Keyword GruvboxRed | ||
594 | |||
595 | " Variable name | ||
596 | hi! link Identifier GruvboxBlue | ||
597 | " Function name | ||
598 | hi! link Function GruvboxGreenBold | ||
599 | |||
600 | " Generic preprocessor | ||
601 | hi! link PreProc GruvboxAqua | ||
602 | " Preprocessor #include | ||
603 | hi! link Include GruvboxAqua | ||
604 | " Preprocessor #define | ||
605 | hi! link Define GruvboxAqua | ||
606 | " Same as Define | ||
607 | hi! link Macro GruvboxAqua | ||
608 | " Preprocessor #if, #else, #endif, etc. | ||
609 | hi! link PreCondit GruvboxAqua | ||
610 | |||
611 | " Generic constant | ||
612 | hi! link Constant GruvboxPurple | ||
613 | " Character constant: 'c', '/n' | ||
614 | hi! link Character GruvboxPurple | ||
615 | " String constant: "this is a string" | ||
616 | if g:gruvbox_improved_strings == 0 | ||
617 | call s:HL('String', s:green, s:none, s:italicize_strings) | ||
618 | else | ||
619 | call s:HL('String', s:fg1, s:bg1, s:italicize_strings) | ||
620 | endif | ||
621 | " Boolean constant: TRUE, false | ||
622 | hi! link Boolean GruvboxPurple | ||
623 | " Number constant: 234, 0xff | ||
624 | hi! link Number GruvboxPurple | ||
625 | " Floating point constant: 2.3e10 | ||
626 | hi! link Float GruvboxPurple | ||
627 | |||
628 | " Generic type | ||
629 | hi! link Type GruvboxYellow | ||
630 | " static, register, volatile, etc | ||
631 | hi! link StorageClass GruvboxOrange | ||
632 | " struct, union, enum, etc. | ||
633 | hi! link Structure GruvboxAqua | ||
634 | " typedef | ||
635 | hi! link Typedef GruvboxYellow | ||
636 | |||
637 | " }}} | ||
638 | " Completion Menu: {{{ | ||
639 | |||
640 | if version >= 700 | ||
641 | " Popup menu: normal item | ||
642 | call s:HL('Pmenu', s:fg1, s:bg2) | ||
643 | " Popup menu: selected item | ||
644 | call s:HL('PmenuSel', s:bg2, s:blue, s:bold) | ||
645 | " Popup menu: scrollbar | ||
646 | call s:HL('PmenuSbar', s:none, s:bg2) | ||
647 | " Popup menu: scrollbar thumb | ||
648 | call s:HL('PmenuThumb', s:none, s:bg4) | ||
649 | endif | ||
650 | |||
651 | " }}} | ||
652 | " Diffs: {{{ | ||
653 | |||
654 | call s:HL('DiffDelete', s:red, s:bg0, s:inverse) | ||
655 | call s:HL('DiffAdd', s:green, s:bg0, s:inverse) | ||
656 | "call s:HL('DiffChange', s:bg0, s:blue) | ||
657 | "call s:HL('DiffText', s:bg0, s:yellow) | ||
658 | |||
659 | " Alternative setting | ||
660 | call s:HL('DiffChange', s:aqua, s:bg0, s:inverse) | ||
661 | call s:HL('DiffText', s:yellow, s:bg0, s:inverse) | ||
662 | |||
663 | " }}} | ||
664 | " Spelling: {{{ | ||
665 | |||
666 | if has("spell") | ||
667 | " Not capitalised word, or compile warnings | ||
668 | if g:gruvbox_improved_warnings == 0 | ||
669 | call s:HL('SpellCap', s:none, s:none, s:undercurl, s:red) | ||
670 | else | ||
671 | call s:HL('SpellCap', s:green, s:none, s:bold . s:italic) | ||
672 | endif | ||
673 | " Not recognized word | ||
674 | call s:HL('SpellBad', s:none, s:none, s:undercurl, s:blue) | ||
675 | " Wrong spelling for selected region | ||
676 | call s:HL('SpellLocal', s:none, s:none, s:undercurl, s:aqua) | ||
677 | " Rare word | ||
678 | call s:HL('SpellRare', s:none, s:none, s:undercurl, s:purple) | ||
679 | endif | ||
680 | |||
681 | " }}} | ||
682 | |||
683 | " Plugin specific ------------------------------------------------------------- | ||
684 | " EasyMotion: {{{ | ||
685 | |||
686 | hi! link EasyMotionTarget Search | ||
687 | hi! link EasyMotionShade Comment | ||
688 | |||
689 | " }}} | ||
690 | " Sneak: {{{ | ||
691 | |||
692 | hi! link Sneak Search | ||
693 | hi! link SneakLabel Search | ||
694 | |||
695 | " }}} | ||
696 | " Indent Guides: {{{ | ||
697 | |||
698 | if !exists('g:indent_guides_auto_colors') | ||
699 | let g:indent_guides_auto_colors = 0 | ||
700 | endif | ||
701 | |||
702 | if g:indent_guides_auto_colors == 0 | ||
703 | if g:gruvbox_invert_indent_guides == 0 | ||
704 | call s:HL('IndentGuidesOdd', s:vim_bg, s:bg2) | ||
705 | call s:HL('IndentGuidesEven', s:vim_bg, s:bg1) | ||
706 | else | ||
707 | call s:HL('IndentGuidesOdd', s:vim_bg, s:bg2, s:inverse) | ||
708 | call s:HL('IndentGuidesEven', s:vim_bg, s:bg3, s:inverse) | ||
709 | endif | ||
710 | endif | ||
711 | |||
712 | " }}} | ||
713 | " IndentLine: {{{ | ||
714 | |||
715 | if !exists('g:indentLine_color_term') | ||
716 | let g:indentLine_color_term = s:bg2[1] | ||
717 | endif | ||
718 | if !exists('g:indentLine_color_gui') | ||
719 | let g:indentLine_color_gui = s:bg2[0] | ||
720 | endif | ||
721 | |||
722 | " }}} | ||
723 | " Rainbow Parentheses: {{{ | ||
724 | |||
725 | if !exists('g:rbpt_colorpairs') | ||
726 | let g:rbpt_colorpairs = | ||
727 | \ [ | ||
728 | \ ['blue', '#458588'], ['magenta', '#b16286'], | ||
729 | \ ['red', '#cc241d'], ['166', '#d65d0e'] | ||
730 | \ ] | ||
731 | endif | ||
732 | |||
733 | let g:rainbow_guifgs = [ '#d65d0e', '#cc241d', '#b16286', '#458588' ] | ||
734 | let g:rainbow_ctermfgs = [ '166', 'red', 'magenta', 'blue' ] | ||
735 | |||
736 | if !exists('g:rainbow_conf') | ||
737 | let g:rainbow_conf = {} | ||
738 | endif | ||
739 | if !has_key(g:rainbow_conf, 'guifgs') | ||
740 | let g:rainbow_conf['guifgs'] = g:rainbow_guifgs | ||
741 | endif | ||
742 | if !has_key(g:rainbow_conf, 'ctermfgs') | ||
743 | let g:rainbow_conf['ctermfgs'] = g:rainbow_ctermfgs | ||
744 | endif | ||
745 | |||
746 | let g:niji_dark_colours = g:rbpt_colorpairs | ||
747 | let g:niji_light_colours = g:rbpt_colorpairs | ||
748 | |||
749 | "}}} | ||
750 | " GitGutter: {{{ | ||
751 | |||
752 | hi! link GitGutterAdd GruvboxGreenSign | ||
753 | hi! link GitGutterChange GruvboxAquaSign | ||
754 | hi! link GitGutterDelete GruvboxRedSign | ||
755 | hi! link GitGutterChangeDelete GruvboxAquaSign | ||
756 | |||
757 | " }}} | ||
758 | " GitCommit: "{{{ | ||
759 | |||
760 | hi! link gitcommitSelectedFile GruvboxGreen | ||
761 | hi! link gitcommitDiscardedFile GruvboxRed | ||
762 | |||
763 | " }}} | ||
764 | " Signify: {{{ | ||
765 | |||
766 | hi! link SignifySignAdd GruvboxGreenSign | ||
767 | hi! link SignifySignChange GruvboxAquaSign | ||
768 | hi! link SignifySignDelete GruvboxRedSign | ||
769 | |||
770 | " }}} | ||
771 | " Syntastic: {{{ | ||
772 | |||
773 | call s:HL('SyntasticError', s:none, s:none, s:undercurl, s:red) | ||
774 | call s:HL('SyntasticWarning', s:none, s:none, s:undercurl, s:yellow) | ||
775 | |||
776 | hi! link SyntasticErrorSign GruvboxRedSign | ||
777 | hi! link SyntasticWarningSign GruvboxYellowSign | ||
778 | |||
779 | " }}} | ||
780 | " Signature: {{{ | ||
781 | hi! link SignatureMarkText GruvboxBlueSign | ||
782 | hi! link SignatureMarkerText GruvboxPurpleSign | ||
783 | |||
784 | " }}} | ||
785 | " ShowMarks: {{{ | ||
786 | |||
787 | hi! link ShowMarksHLl GruvboxBlueSign | ||
788 | hi! link ShowMarksHLu GruvboxBlueSign | ||
789 | hi! link ShowMarksHLo GruvboxBlueSign | ||
790 | hi! link ShowMarksHLm GruvboxBlueSign | ||
791 | |||
792 | " }}} | ||
793 | " CtrlP: {{{ | ||
794 | |||
795 | hi! link CtrlPMatch GruvboxYellow | ||
796 | hi! link CtrlPNoEntries GruvboxRed | ||
797 | hi! link CtrlPPrtBase GruvboxBg2 | ||
798 | hi! link CtrlPPrtCursor GruvboxBlue | ||
799 | hi! link CtrlPLinePre GruvboxBg2 | ||
800 | |||
801 | call s:HL('CtrlPMode1', s:blue, s:bg2, s:bold) | ||
802 | call s:HL('CtrlPMode2', s:bg0, s:blue, s:bold) | ||
803 | call s:HL('CtrlPStats', s:fg4, s:bg2, s:bold) | ||
804 | |||
805 | " }}} | ||
806 | " Startify: {{{ | ||
807 | |||
808 | hi! link StartifyBracket GruvboxFg3 | ||
809 | hi! link StartifyFile GruvboxFg1 | ||
810 | hi! link StartifyNumber GruvboxBlue | ||
811 | hi! link StartifyPath GruvboxGray | ||
812 | hi! link StartifySlash GruvboxGray | ||
813 | hi! link StartifySection GruvboxYellow | ||
814 | hi! link StartifySpecial GruvboxBg2 | ||
815 | hi! link StartifyHeader GruvboxOrange | ||
816 | hi! link StartifyFooter GruvboxBg2 | ||
817 | |||
818 | " }}} | ||
819 | " Vimshell: {{{ | ||
820 | |||
821 | let g:vimshell_escape_colors = [ | ||
822 | \ s:bg4[0], s:red[0], s:green[0], s:yellow[0], | ||
823 | \ s:blue[0], s:purple[0], s:aqua[0], s:fg4[0], | ||
824 | \ s:bg0[0], s:red[0], s:green[0], s:orange[0], | ||
825 | \ s:blue[0], s:purple[0], s:aqua[0], s:fg0[0] | ||
826 | \ ] | ||
827 | |||
828 | " }}} | ||
829 | " BufTabLine: {{{ | ||
830 | |||
831 | call s:HL('BufTabLineCurrent', s:bg0, s:fg4) | ||
832 | call s:HL('BufTabLineActive', s:fg4, s:bg2) | ||
833 | call s:HL('BufTabLineHidden', s:bg4, s:bg1) | ||
834 | call s:HL('BufTabLineFill', s:bg0, s:bg0) | ||
835 | |||
836 | " }}} | ||
837 | " Asynchronous Lint Engine: {{{ | ||
838 | |||
839 | call s:HL('ALEError', s:none, s:none, s:undercurl, s:red) | ||
840 | call s:HL('ALEWarning', s:none, s:none, s:undercurl, s:yellow) | ||
841 | call s:HL('ALEInfo', s:none, s:none, s:undercurl, s:blue) | ||
842 | |||
843 | hi! link ALEErrorSign GruvboxRedSign | ||
844 | hi! link ALEWarningSign GruvboxYellowSign | ||
845 | hi! link ALEInfoSign GruvboxBlueSign | ||
846 | |||
847 | " }}} | ||
848 | " Dirvish: {{{ | ||
849 | |||
850 | hi! link DirvishPathTail GruvboxAqua | ||
851 | hi! link DirvishArg GruvboxYellow | ||
852 | |||
853 | " }}} | ||
854 | " Netrw: {{{ | ||
855 | |||
856 | hi! link netrwDir GruvboxAqua | ||
857 | hi! link netrwClassify GruvboxAqua | ||
858 | hi! link netrwLink GruvboxGray | ||
859 | hi! link netrwSymLink GruvboxFg1 | ||
860 | hi! link netrwExe GruvboxYellow | ||
861 | hi! link netrwComment GruvboxGray | ||
862 | hi! link netrwList GruvboxBlue | ||
863 | hi! link netrwHelpCmd GruvboxAqua | ||
864 | hi! link netrwCmdSep GruvboxFg3 | ||
865 | hi! link netrwVersion GruvboxGreen | ||
866 | |||
867 | " }}} | ||
868 | " NERDTree: {{{ | ||
869 | |||
870 | hi! link NERDTreeDir GruvboxAqua | ||
871 | hi! link NERDTreeDirSlash GruvboxAqua | ||
872 | |||
873 | hi! link NERDTreeOpenable GruvboxOrange | ||
874 | hi! link NERDTreeClosable GruvboxOrange | ||
875 | |||
876 | hi! link NERDTreeFile GruvboxFg1 | ||
877 | hi! link NERDTreeExecFile GruvboxYellow | ||
878 | |||
879 | hi! link NERDTreeUp GruvboxGray | ||
880 | hi! link NERDTreeCWD GruvboxGreen | ||
881 | hi! link NERDTreeHelp GruvboxFg1 | ||
882 | |||
883 | hi! link NERDTreeToggleOn GruvboxGreen | ||
884 | hi! link NERDTreeToggleOff GruvboxRed | ||
885 | |||
886 | " }}} | ||
887 | " Vim Multiple Cursors: {{{ | ||
888 | |||
889 | call s:HL('multiple_cursors_cursor', s:none, s:none, s:inverse) | ||
890 | call s:HL('multiple_cursors_visual', s:none, s:bg2) | ||
891 | |||
892 | " }}} | ||
893 | " coc.nvim: {{{ | ||
894 | |||
895 | hi! link CocErrorSign GruvboxRedSign | ||
896 | hi! link CocWarningSign GruvboxOrangeSign | ||
897 | hi! link CocInfoSign GruvboxYellowSign | ||
898 | hi! link CocHintSign GruvboxBlueSign | ||
899 | hi! link CocErrorFloat GruvboxRed | ||
900 | hi! link CocWarningFloat GruvboxOrange | ||
901 | hi! link CocInfoFloat GruvboxYellow | ||
902 | hi! link CocHintFloat GruvboxBlue | ||
903 | hi! link CocDiagnosticsError GruvboxRed | ||
904 | hi! link CocDiagnosticsWarning GruvboxOrange | ||
905 | hi! link CocDiagnosticsInfo GruvboxYellow | ||
906 | hi! link CocDiagnosticsHint GruvboxBlue | ||
907 | |||
908 | hi! link CocSelectedText GruvboxRed | ||
909 | hi! link CocCodeLens GruvboxGray | ||
910 | |||
911 | call s:HL('CocErrorHighlight', s:none, s:none, s:undercurl, s:red) | ||
912 | call s:HL('CocWarningHighlight', s:none, s:none, s:undercurl, s:orange) | ||
913 | call s:HL('CocInfoHighlight', s:none, s:none, s:undercurl, s:yellow) | ||
914 | call s:HL('CocHintHighlight', s:none, s:none, s:undercurl, s:blue) | ||
915 | |||
916 | " }}} | ||
917 | |||
918 | " Filetype specific ----------------------------------------------------------- | ||
919 | " Diff: {{{ | ||
920 | |||
921 | hi! link diffAdded GruvboxGreen | ||
922 | hi! link diffRemoved GruvboxRed | ||
923 | hi! link diffChanged GruvboxAqua | ||
924 | |||
925 | hi! link diffFile GruvboxOrange | ||
926 | hi! link diffNewFile GruvboxYellow | ||
927 | |||
928 | hi! link diffLine GruvboxBlue | ||
929 | |||
930 | " }}} | ||
931 | " Html: {{{ | ||
932 | |||
933 | hi! link htmlTag GruvboxBlue | ||
934 | hi! link htmlEndTag GruvboxBlue | ||
935 | |||
936 | hi! link htmlTagName GruvboxAquaBold | ||
937 | hi! link htmlArg GruvboxAqua | ||
938 | |||
939 | hi! link htmlScriptTag GruvboxPurple | ||
940 | hi! link htmlTagN GruvboxFg1 | ||
941 | hi! link htmlSpecialTagName GruvboxAquaBold | ||
942 | |||
943 | call s:HL('htmlLink', s:fg4, s:none, s:underline) | ||
944 | |||
945 | hi! link htmlSpecialChar GruvboxOrange | ||
946 | |||
947 | call s:HL('htmlBold', s:vim_fg, s:vim_bg, s:bold) | ||
948 | call s:HL('htmlBoldUnderline', s:vim_fg, s:vim_bg, s:bold . s:underline) | ||
949 | call s:HL('htmlBoldItalic', s:vim_fg, s:vim_bg, s:bold . s:italic) | ||
950 | call s:HL('htmlBoldUnderlineItalic', s:vim_fg, s:vim_bg, s:bold . s:underline . s:italic) | ||
951 | |||
952 | call s:HL('htmlUnderline', s:vim_fg, s:vim_bg, s:underline) | ||
953 | call s:HL('htmlUnderlineItalic', s:vim_fg, s:vim_bg, s:underline . s:italic) | ||
954 | call s:HL('htmlItalic', s:vim_fg, s:vim_bg, s:italic) | ||
955 | |||
956 | " }}} | ||
957 | " Xml: {{{ | ||
958 | |||
959 | hi! link xmlTag GruvboxBlue | ||
960 | hi! link xmlEndTag GruvboxBlue | ||
961 | hi! link xmlTagName GruvboxBlue | ||
962 | hi! link xmlEqual GruvboxBlue | ||
963 | hi! link docbkKeyword GruvboxAquaBold | ||
964 | |||
965 | hi! link xmlDocTypeDecl GruvboxGray | ||
966 | hi! link xmlDocTypeKeyword GruvboxPurple | ||
967 | hi! link xmlCdataStart GruvboxGray | ||
968 | hi! link xmlCdataCdata GruvboxPurple | ||
969 | hi! link dtdFunction GruvboxGray | ||
970 | hi! link dtdTagName GruvboxPurple | ||
971 | |||
972 | hi! link xmlAttrib GruvboxAqua | ||
973 | hi! link xmlProcessingDelim GruvboxGray | ||
974 | hi! link dtdParamEntityPunct GruvboxGray | ||
975 | hi! link dtdParamEntityDPunct GruvboxGray | ||
976 | hi! link xmlAttribPunct GruvboxGray | ||
977 | |||
978 | hi! link xmlEntity GruvboxOrange | ||
979 | hi! link xmlEntityPunct GruvboxOrange | ||
980 | " }}} | ||
981 | " Vim: {{{ | ||
982 | |||
983 | call s:HL('vimCommentTitle', s:fg4_256, s:none, s:bold . s:italicize_comments) | ||
984 | |||
985 | hi! link vimNotation GruvboxOrange | ||
986 | hi! link vimBracket GruvboxOrange | ||
987 | hi! link vimMapModKey GruvboxOrange | ||
988 | hi! link vimFuncSID GruvboxFg3 | ||
989 | hi! link vimSetSep GruvboxFg3 | ||
990 | hi! link vimSep GruvboxFg3 | ||
991 | hi! link vimContinue GruvboxFg3 | ||
992 | |||
993 | " }}} | ||
994 | " Clojure: {{{ | ||
995 | |||
996 | hi! link clojureKeyword GruvboxBlue | ||
997 | hi! link clojureCond GruvboxOrange | ||
998 | hi! link clojureSpecial GruvboxOrange | ||
999 | hi! link clojureDefine GruvboxOrange | ||
1000 | |||
1001 | hi! link clojureFunc GruvboxYellow | ||
1002 | hi! link clojureRepeat GruvboxYellow | ||
1003 | hi! link clojureCharacter GruvboxAqua | ||
1004 | hi! link clojureStringEscape GruvboxAqua | ||
1005 | hi! link clojureException GruvboxRed | ||
1006 | |||
1007 | hi! link clojureRegexp GruvboxAqua | ||
1008 | hi! link clojureRegexpEscape GruvboxAqua | ||
1009 | call s:HL('clojureRegexpCharClass', s:fg3, s:none, s:bold) | ||
1010 | hi! link clojureRegexpMod clojureRegexpCharClass | ||
1011 | hi! link clojureRegexpQuantifier clojureRegexpCharClass | ||
1012 | |||
1013 | hi! link clojureParen GruvboxFg3 | ||
1014 | hi! link clojureAnonArg GruvboxYellow | ||
1015 | hi! link clojureVariable GruvboxBlue | ||
1016 | hi! link clojureMacro GruvboxOrange | ||
1017 | |||
1018 | hi! link clojureMeta GruvboxYellow | ||
1019 | hi! link clojureDeref GruvboxYellow | ||
1020 | hi! link clojureQuote GruvboxYellow | ||
1021 | hi! link clojureUnquote GruvboxYellow | ||
1022 | |||
1023 | " }}} | ||
1024 | " C: {{{ | ||
1025 | |||
1026 | hi! link cOperator GruvboxPurple | ||
1027 | hi! link cStructure GruvboxOrange | ||
1028 | |||
1029 | " }}} | ||
1030 | " Python: {{{ | ||
1031 | |||
1032 | hi! link pythonBuiltin GruvboxOrange | ||
1033 | hi! link pythonBuiltinObj GruvboxOrange | ||
1034 | hi! link pythonBuiltinFunc GruvboxOrange | ||
1035 | hi! link pythonFunction GruvboxAqua | ||
1036 | hi! link pythonDecorator GruvboxRed | ||
1037 | hi! link pythonInclude GruvboxBlue | ||
1038 | hi! link pythonImport GruvboxBlue | ||
1039 | hi! link pythonRun GruvboxBlue | ||
1040 | hi! link pythonCoding GruvboxBlue | ||
1041 | hi! link pythonOperator GruvboxRed | ||
1042 | hi! link pythonException GruvboxRed | ||
1043 | hi! link pythonExceptions GruvboxPurple | ||
1044 | hi! link pythonBoolean GruvboxPurple | ||
1045 | hi! link pythonDot GruvboxFg3 | ||
1046 | hi! link pythonConditional GruvboxRed | ||
1047 | hi! link pythonRepeat GruvboxRed | ||
1048 | hi! link pythonDottedName GruvboxGreenBold | ||
1049 | |||
1050 | " }}} | ||
1051 | " CSS: {{{ | ||
1052 | |||
1053 | hi! link cssBraces GruvboxBlue | ||
1054 | hi! link cssFunctionName GruvboxYellow | ||
1055 | hi! link cssIdentifier GruvboxOrange | ||
1056 | hi! link cssClassName GruvboxGreen | ||
1057 | hi! link cssColor GruvboxBlue | ||
1058 | hi! link cssSelectorOp GruvboxBlue | ||
1059 | hi! link cssSelectorOp2 GruvboxBlue | ||
1060 | hi! link cssImportant GruvboxGreen | ||
1061 | hi! link cssVendor GruvboxFg1 | ||
1062 | |||
1063 | hi! link cssTextProp GruvboxAqua | ||
1064 | hi! link cssAnimationProp GruvboxAqua | ||
1065 | hi! link cssUIProp GruvboxYellow | ||
1066 | hi! link cssTransformProp GruvboxAqua | ||
1067 | hi! link cssTransitionProp GruvboxAqua | ||
1068 | hi! link cssPrintProp GruvboxAqua | ||
1069 | hi! link cssPositioningProp GruvboxYellow | ||
1070 | hi! link cssBoxProp GruvboxAqua | ||
1071 | hi! link cssFontDescriptorProp GruvboxAqua | ||
1072 | hi! link cssFlexibleBoxProp GruvboxAqua | ||
1073 | hi! link cssBorderOutlineProp GruvboxAqua | ||
1074 | hi! link cssBackgroundProp GruvboxAqua | ||
1075 | hi! link cssMarginProp GruvboxAqua | ||
1076 | hi! link cssListProp GruvboxAqua | ||
1077 | hi! link cssTableProp GruvboxAqua | ||
1078 | hi! link cssFontProp GruvboxAqua | ||
1079 | hi! link cssPaddingProp GruvboxAqua | ||
1080 | hi! link cssDimensionProp GruvboxAqua | ||
1081 | hi! link cssRenderProp GruvboxAqua | ||
1082 | hi! link cssColorProp GruvboxAqua | ||
1083 | hi! link cssGeneratedContentProp GruvboxAqua | ||
1084 | |||
1085 | " }}} | ||
1086 | " JavaScript: {{{ | ||
1087 | |||
1088 | hi! link javaScriptBraces GruvboxFg1 | ||
1089 | hi! link javaScriptFunction GruvboxAqua | ||
1090 | hi! link javaScriptIdentifier GruvboxRed | ||
1091 | hi! link javaScriptMember GruvboxBlue | ||
1092 | hi! link javaScriptNumber GruvboxPurple | ||
1093 | hi! link javaScriptNull GruvboxPurple | ||
1094 | hi! link javaScriptParens GruvboxFg3 | ||
1095 | |||
1096 | " }}} | ||
1097 | " YAJS: {{{ | ||
1098 | |||
1099 | hi! link javascriptImport GruvboxAqua | ||
1100 | hi! link javascriptExport GruvboxAqua | ||
1101 | hi! link javascriptClassKeyword GruvboxAqua | ||
1102 | hi! link javascriptClassExtends GruvboxAqua | ||
1103 | hi! link javascriptDefault GruvboxAqua | ||
1104 | |||
1105 | hi! link javascriptClassName GruvboxYellow | ||
1106 | hi! link javascriptClassSuperName GruvboxYellow | ||
1107 | hi! link javascriptGlobal GruvboxYellow | ||
1108 | |||
1109 | hi! link javascriptEndColons GruvboxFg1 | ||
1110 | hi! link javascriptFuncArg GruvboxFg1 | ||
1111 | hi! link javascriptGlobalMethod GruvboxFg1 | ||
1112 | hi! link javascriptNodeGlobal GruvboxFg1 | ||
1113 | hi! link javascriptBOMWindowProp GruvboxFg1 | ||
1114 | hi! link javascriptArrayMethod GruvboxFg1 | ||
1115 | hi! link javascriptArrayStaticMethod GruvboxFg1 | ||
1116 | hi! link javascriptCacheMethod GruvboxFg1 | ||
1117 | hi! link javascriptDateMethod GruvboxFg1 | ||
1118 | hi! link javascriptMathStaticMethod GruvboxFg1 | ||
1119 | |||
1120 | " hi! link javascriptProp GruvboxFg1 | ||
1121 | hi! link javascriptURLUtilsProp GruvboxFg1 | ||
1122 | hi! link javascriptBOMNavigatorProp GruvboxFg1 | ||
1123 | hi! link javascriptDOMDocMethod GruvboxFg1 | ||
1124 | hi! link javascriptDOMDocProp GruvboxFg1 | ||
1125 | hi! link javascriptBOMLocationMethod GruvboxFg1 | ||
1126 | hi! link javascriptBOMWindowMethod GruvboxFg1 | ||
1127 | hi! link javascriptStringMethod GruvboxFg1 | ||
1128 | |||
1129 | hi! link javascriptVariable GruvboxOrange | ||
1130 | " hi! link javascriptVariable GruvboxRed | ||
1131 | " hi! link javascriptIdentifier GruvboxOrange | ||
1132 | " hi! link javascriptClassSuper GruvboxOrange | ||
1133 | hi! link javascriptIdentifier GruvboxOrange | ||
1134 | hi! link javascriptClassSuper GruvboxOrange | ||
1135 | |||
1136 | " hi! link javascriptFuncKeyword GruvboxOrange | ||
1137 | " hi! link javascriptAsyncFunc GruvboxOrange | ||
1138 | hi! link javascriptFuncKeyword GruvboxAqua | ||
1139 | hi! link javascriptAsyncFunc GruvboxAqua | ||
1140 | hi! link javascriptClassStatic GruvboxOrange | ||
1141 | |||
1142 | hi! link javascriptOperator GruvboxRed | ||
1143 | hi! link javascriptForOperator GruvboxRed | ||
1144 | hi! link javascriptYield GruvboxRed | ||
1145 | hi! link javascriptExceptions GruvboxRed | ||
1146 | hi! link javascriptMessage GruvboxRed | ||
1147 | |||
1148 | hi! link javascriptTemplateSB GruvboxAqua | ||
1149 | hi! link javascriptTemplateSubstitution GruvboxFg1 | ||
1150 | |||
1151 | " hi! link javascriptLabel GruvboxBlue | ||
1152 | " hi! link javascriptObjectLabel GruvboxBlue | ||
1153 | " hi! link javascriptPropertyName GruvboxBlue | ||
1154 | hi! link javascriptLabel GruvboxFg1 | ||
1155 | hi! link javascriptObjectLabel GruvboxFg1 | ||
1156 | hi! link javascriptPropertyName GruvboxFg1 | ||
1157 | |||
1158 | hi! link javascriptLogicSymbols GruvboxFg1 | ||
1159 | hi! link javascriptArrowFunc GruvboxYellow | ||
1160 | |||
1161 | hi! link javascriptDocParamName GruvboxFg4 | ||
1162 | hi! link javascriptDocTags GruvboxFg4 | ||
1163 | hi! link javascriptDocNotation GruvboxFg4 | ||
1164 | hi! link javascriptDocParamType GruvboxFg4 | ||
1165 | hi! link javascriptDocNamedParamType GruvboxFg4 | ||
1166 | |||
1167 | hi! link javascriptBrackets GruvboxFg1 | ||
1168 | hi! link javascriptDOMElemAttrs GruvboxFg1 | ||
1169 | hi! link javascriptDOMEventMethod GruvboxFg1 | ||
1170 | hi! link javascriptDOMNodeMethod GruvboxFg1 | ||
1171 | hi! link javascriptDOMStorageMethod GruvboxFg1 | ||
1172 | hi! link javascriptHeadersMethod GruvboxFg1 | ||
1173 | |||
1174 | hi! link javascriptAsyncFuncKeyword GruvboxRed | ||
1175 | hi! link javascriptAwaitFuncKeyword GruvboxRed | ||
1176 | |||
1177 | " }}} | ||
1178 | " PanglossJS: {{{ | ||
1179 | |||
1180 | hi! link jsClassKeyword GruvboxAqua | ||
1181 | hi! link jsExtendsKeyword GruvboxAqua | ||
1182 | hi! link jsExportDefault GruvboxAqua | ||
1183 | hi! link jsTemplateBraces GruvboxAqua | ||
1184 | hi! link jsGlobalNodeObjects GruvboxFg1 | ||
1185 | hi! link jsGlobalObjects GruvboxFg1 | ||
1186 | hi! link jsFunction GruvboxAqua | ||
1187 | hi! link jsFuncParens GruvboxFg3 | ||
1188 | hi! link jsParens GruvboxFg3 | ||
1189 | hi! link jsNull GruvboxPurple | ||
1190 | hi! link jsUndefined GruvboxPurple | ||
1191 | hi! link jsClassDefinition GruvboxYellow | ||
1192 | |||
1193 | " }}} | ||
1194 | " TypeScript: {{{ | ||
1195 | |||
1196 | hi! link typeScriptReserved GruvboxAqua | ||
1197 | hi! link typeScriptLabel GruvboxAqua | ||
1198 | hi! link typeScriptFuncKeyword GruvboxAqua | ||
1199 | hi! link typeScriptIdentifier GruvboxOrange | ||
1200 | hi! link typeScriptBraces GruvboxFg1 | ||
1201 | hi! link typeScriptEndColons GruvboxFg1 | ||
1202 | hi! link typeScriptDOMObjects GruvboxFg1 | ||
1203 | hi! link typeScriptAjaxMethods GruvboxFg1 | ||
1204 | hi! link typeScriptLogicSymbols GruvboxFg1 | ||
1205 | hi! link typeScriptDocSeeTag Comment | ||
1206 | hi! link typeScriptDocParam Comment | ||
1207 | hi! link typeScriptDocTags vimCommentTitle | ||
1208 | hi! link typeScriptGlobalObjects GruvboxFg1 | ||
1209 | hi! link typeScriptParens GruvboxFg3 | ||
1210 | hi! link typeScriptOpSymbols GruvboxFg3 | ||
1211 | hi! link typeScriptHtmlElemProperties GruvboxFg1 | ||
1212 | hi! link typeScriptNull GruvboxPurple | ||
1213 | hi! link typeScriptInterpolationDelimiter GruvboxAqua | ||
1214 | |||
1215 | " }}} | ||
1216 | " PureScript: {{{ | ||
1217 | |||
1218 | hi! link purescriptModuleKeyword GruvboxAqua | ||
1219 | hi! link purescriptModuleName GruvboxFg1 | ||
1220 | hi! link purescriptWhere GruvboxAqua | ||
1221 | hi! link purescriptDelimiter GruvboxFg4 | ||
1222 | hi! link purescriptType GruvboxFg1 | ||
1223 | hi! link purescriptImportKeyword GruvboxAqua | ||
1224 | hi! link purescriptHidingKeyword GruvboxAqua | ||
1225 | hi! link purescriptAsKeyword GruvboxAqua | ||
1226 | hi! link purescriptStructure GruvboxAqua | ||
1227 | hi! link purescriptOperator GruvboxBlue | ||
1228 | |||
1229 | hi! link purescriptTypeVar GruvboxFg1 | ||
1230 | hi! link purescriptConstructor GruvboxFg1 | ||
1231 | hi! link purescriptFunction GruvboxFg1 | ||
1232 | hi! link purescriptConditional GruvboxOrange | ||
1233 | hi! link purescriptBacktick GruvboxOrange | ||
1234 | |||
1235 | " }}} | ||
1236 | " CoffeeScript: {{{ | ||
1237 | |||
1238 | hi! link coffeeExtendedOp GruvboxFg3 | ||
1239 | hi! link coffeeSpecialOp GruvboxFg3 | ||
1240 | hi! link coffeeCurly GruvboxOrange | ||
1241 | hi! link coffeeParen GruvboxFg3 | ||
1242 | hi! link coffeeBracket GruvboxOrange | ||
1243 | |||
1244 | " }}} | ||
1245 | " Ruby: {{{ | ||
1246 | |||
1247 | hi! link rubyStringDelimiter GruvboxGreen | ||
1248 | hi! link rubyInterpolationDelimiter GruvboxAqua | ||
1249 | |||
1250 | " }}} | ||
1251 | " ObjectiveC: {{{ | ||
1252 | |||
1253 | hi! link objcTypeModifier GruvboxRed | ||
1254 | hi! link objcDirective GruvboxBlue | ||
1255 | |||
1256 | " }}} | ||
1257 | " Go: {{{ | ||
1258 | |||
1259 | hi! link goDirective GruvboxAqua | ||
1260 | hi! link goConstants GruvboxPurple | ||
1261 | hi! link goDeclaration GruvboxRed | ||
1262 | hi! link goDeclType GruvboxBlue | ||
1263 | hi! link goBuiltins GruvboxOrange | ||
1264 | |||
1265 | " }}} | ||
1266 | " Lua: {{{ | ||
1267 | |||
1268 | hi! link luaIn GruvboxRed | ||
1269 | hi! link luaFunction GruvboxAqua | ||
1270 | hi! link luaTable GruvboxOrange | ||
1271 | |||
1272 | " }}} | ||
1273 | " MoonScript: {{{ | ||
1274 | |||
1275 | hi! link moonSpecialOp GruvboxFg3 | ||
1276 | hi! link moonExtendedOp GruvboxFg3 | ||
1277 | hi! link moonFunction GruvboxFg3 | ||
1278 | hi! link moonObject GruvboxYellow | ||
1279 | |||
1280 | " }}} | ||
1281 | " Java: {{{ | ||
1282 | |||
1283 | hi! link javaAnnotation GruvboxBlue | ||
1284 | hi! link javaDocTags GruvboxAqua | ||
1285 | hi! link javaCommentTitle vimCommentTitle | ||
1286 | hi! link javaParen GruvboxFg3 | ||
1287 | hi! link javaParen1 GruvboxFg3 | ||
1288 | hi! link javaParen2 GruvboxFg3 | ||
1289 | hi! link javaParen3 GruvboxFg3 | ||
1290 | hi! link javaParen4 GruvboxFg3 | ||
1291 | hi! link javaParen5 GruvboxFg3 | ||
1292 | hi! link javaOperator GruvboxOrange | ||
1293 | |||
1294 | hi! link javaVarArg GruvboxGreen | ||
1295 | |||
1296 | " }}} | ||
1297 | " Elixir: {{{ | ||
1298 | |||
1299 | hi! link elixirDocString Comment | ||
1300 | |||
1301 | hi! link elixirStringDelimiter GruvboxGreen | ||
1302 | hi! link elixirInterpolationDelimiter GruvboxAqua | ||
1303 | |||
1304 | hi! link elixirModuleDeclaration GruvboxYellow | ||
1305 | |||
1306 | " }}} | ||
1307 | " Scala: {{{ | ||
1308 | |||
1309 | " NB: scala vim syntax file is kinda horrible | ||
1310 | hi! link scalaNameDefinition GruvboxFg1 | ||
1311 | hi! link scalaCaseFollowing GruvboxFg1 | ||
1312 | hi! link scalaCapitalWord GruvboxFg1 | ||
1313 | hi! link scalaTypeExtension GruvboxFg1 | ||
1314 | |||
1315 | hi! link scalaKeyword GruvboxRed | ||
1316 | hi! link scalaKeywordModifier GruvboxRed | ||
1317 | |||
1318 | hi! link scalaSpecial GruvboxAqua | ||
1319 | hi! link scalaOperator GruvboxFg1 | ||
1320 | |||
1321 | hi! link scalaTypeDeclaration GruvboxYellow | ||
1322 | hi! link scalaTypeTypePostDeclaration GruvboxYellow | ||
1323 | |||
1324 | hi! link scalaInstanceDeclaration GruvboxFg1 | ||
1325 | hi! link scalaInterpolation GruvboxAqua | ||
1326 | |||
1327 | " }}} | ||
1328 | " Markdown: {{{ | ||
1329 | |||
1330 | call s:HL('markdownItalic', s:fg3, s:none, s:italic) | ||
1331 | |||
1332 | hi! link markdownH1 GruvboxGreenBold | ||
1333 | hi! link markdownH2 GruvboxGreenBold | ||
1334 | hi! link markdownH3 GruvboxYellowBold | ||
1335 | hi! link markdownH4 GruvboxYellowBold | ||
1336 | hi! link markdownH5 GruvboxYellow | ||
1337 | hi! link markdownH6 GruvboxYellow | ||
1338 | |||
1339 | hi! link markdownCode GruvboxAqua | ||
1340 | hi! link markdownCodeBlock GruvboxAqua | ||
1341 | hi! link markdownCodeDelimiter GruvboxAqua | ||
1342 | |||
1343 | hi! link markdownBlockquote GruvboxGray | ||
1344 | hi! link markdownListMarker GruvboxGray | ||
1345 | hi! link markdownOrderedListMarker GruvboxGray | ||
1346 | hi! link markdownRule GruvboxGray | ||
1347 | hi! link markdownHeadingRule GruvboxGray | ||
1348 | |||
1349 | hi! link markdownUrlDelimiter GruvboxFg3 | ||
1350 | hi! link markdownLinkDelimiter GruvboxFg3 | ||
1351 | hi! link markdownLinkTextDelimiter GruvboxFg3 | ||
1352 | |||
1353 | hi! link markdownHeadingDelimiter GruvboxOrange | ||
1354 | hi! link markdownUrl GruvboxPurple | ||
1355 | hi! link markdownUrlTitleDelimiter GruvboxGreen | ||
1356 | |||
1357 | call s:HL('markdownLinkText', s:gray, s:none, s:underline) | ||
1358 | hi! link markdownIdDeclaration markdownLinkText | ||
1359 | |||
1360 | " }}} | ||
1361 | " Haskell: {{{ | ||
1362 | |||
1363 | " hi! link haskellType GruvboxYellow | ||
1364 | " hi! link haskellOperators GruvboxOrange | ||
1365 | " hi! link haskellConditional GruvboxAqua | ||
1366 | " hi! link haskellLet GruvboxOrange | ||
1367 | " | ||
1368 | hi! link haskellType GruvboxFg1 | ||
1369 | hi! link haskellIdentifier GruvboxFg1 | ||
1370 | hi! link haskellSeparator GruvboxFg1 | ||
1371 | hi! link haskellDelimiter GruvboxFg4 | ||
1372 | hi! link haskellOperators GruvboxBlue | ||
1373 | " | ||
1374 | hi! link haskellBacktick GruvboxOrange | ||
1375 | hi! link haskellStatement GruvboxOrange | ||
1376 | hi! link haskellConditional GruvboxOrange | ||
1377 | |||
1378 | hi! link haskellLet GruvboxAqua | ||
1379 | hi! link haskellDefault GruvboxAqua | ||
1380 | hi! link haskellWhere GruvboxAqua | ||
1381 | hi! link haskellBottom GruvboxAqua | ||
1382 | hi! link haskellBlockKeywords GruvboxAqua | ||
1383 | hi! link haskellImportKeywords GruvboxAqua | ||
1384 | hi! link haskellDeclKeyword GruvboxAqua | ||
1385 | hi! link haskellDeriving GruvboxAqua | ||
1386 | hi! link haskellAssocType GruvboxAqua | ||
1387 | |||
1388 | hi! link haskellNumber GruvboxPurple | ||
1389 | hi! link haskellPragma GruvboxPurple | ||
1390 | |||
1391 | hi! link haskellString GruvboxGreen | ||
1392 | hi! link haskellChar GruvboxGreen | ||
1393 | |||
1394 | " }}} | ||
1395 | " Json: {{{ | ||
1396 | |||
1397 | hi! link jsonKeyword GruvboxGreen | ||
1398 | hi! link jsonQuote GruvboxGreen | ||
1399 | hi! link jsonBraces GruvboxFg1 | ||
1400 | hi! link jsonString GruvboxFg1 | ||
1401 | |||
1402 | " }}} | ||
1403 | |||
1404 | |||
1405 | " Functions ------------------------------------------------------------------- | ||
1406 | " Search Highlighting Cursor {{{ | ||
1407 | |||
1408 | function! GruvboxHlsShowCursor() | ||
1409 | call s:HL('Cursor', s:bg0, s:hls_cursor) | ||
1410 | endfunction | ||
1411 | |||
1412 | function! GruvboxHlsHideCursor() | ||
1413 | call s:HL('Cursor', s:none, s:none, s:inverse) | ||
1414 | endfunction | ||
1415 | |||
1416 | " }}} | ||
1417 | |||
1418 | " vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker: | ||
diff --git a/.vim/pack/default/start/gruvbox/gruvbox_256palette.sh b/.vim/pack/default/start/gruvbox/gruvbox_256palette.sh new file mode 100755 index 0000000..c7fd190 --- /dev/null +++ b/.vim/pack/default/start/gruvbox/gruvbox_256palette.sh | |||
@@ -0,0 +1,118 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | if [ "${TERM%%-*}" = "screen" ]; then | ||
4 | if [ -n "$TMUX" ]; then | ||
5 | printf "\033Ptmux;\033\033]4;236;rgb:32/30/2f\007\033\\" | ||
6 | printf "\033Ptmux;\033\033]4;234;rgb:1d/20/21\007\033\\" | ||
7 | |||
8 | printf "\033Ptmux;\033\033]4;235;rgb:28/28/28\007\033\\" | ||
9 | printf "\033Ptmux;\033\033]4;237;rgb:3c/38/36\007\033\\" | ||
10 | printf "\033Ptmux;\033\033]4;239;rgb:50/49/45\007\033\\" | ||
11 | printf "\033Ptmux;\033\033]4;241;rgb:66/5c/54\007\033\\" | ||
12 | printf "\033Ptmux;\033\033]4;243;rgb:7c/6f/64\007\033\\" | ||
13 | |||
14 | printf "\033Ptmux;\033\033]4;244;rgb:92/83/74\007\033\\" | ||
15 | printf "\033Ptmux;\033\033]4;245;rgb:92/83/74\007\033\\" | ||
16 | |||
17 | printf "\033Ptmux;\033\033]4;228;rgb:f2/e5/bc\007\033\\" | ||
18 | printf "\033Ptmux;\033\033]4;230;rgb:f9/f5/d7\007\033\\" | ||
19 | |||
20 | printf "\033Ptmux;\033\033]4;229;rgb:fb/f1/c7\007\033\\" | ||
21 | printf "\033Ptmux;\033\033]4;223;rgb:eb/db/b2\007\033\\" | ||
22 | printf "\033Ptmux;\033\033]4;250;rgb:d5/c4/a1\007\033\\" | ||
23 | printf "\033Ptmux;\033\033]4;248;rgb:bd/ae/93\007\033\\" | ||
24 | printf "\033Ptmux;\033\033]4;246;rgb:a8/99/84\007\033\\" | ||
25 | |||
26 | printf "\033Ptmux;\033\033]4;167;rgb:fb/49/34\007\033\\" | ||
27 | printf "\033Ptmux;\033\033]4;142;rgb:b8/bb/26\007\033\\" | ||
28 | printf "\033Ptmux;\033\033]4;214;rgb:fa/bd/2f\007\033\\" | ||
29 | printf "\033Ptmux;\033\033]4;109;rgb:83/a5/98\007\033\\" | ||
30 | printf "\033Ptmux;\033\033]4;175;rgb:d3/86/9b\007\033\\" | ||
31 | printf "\033Ptmux;\033\033]4;108;rgb:8e/c0/7c\007\033\\" | ||
32 | printf "\033Ptmux;\033\033]4;208;rgb:fe/80/19\007\033\\" | ||
33 | |||
34 | printf "\033Ptmux;\033\033]4;88;rgb:9d/00/06\007\033\\" | ||
35 | printf "\033Ptmux;\033\033]4;100;rgb:79/74/0e\007\033\\" | ||
36 | printf "\033Ptmux;\033\033]4;136;rgb:b5/76/14\007\033\\" | ||
37 | printf "\033Ptmux;\033\033]4;24;rgb:07/66/78\007\033\\" | ||
38 | printf "\033Ptmux;\033\033]4;96;rgb:8f/3f/71\007\033\\" | ||
39 | printf "\033Ptmux;\033\033]4;66;rgb:42/7b/58\007\033\\" | ||
40 | printf "\033Ptmux;\033\033]4;130;rgb:af/3a/03\007\033\\" | ||
41 | else | ||
42 | printf "\033P\033]4;236;rgb:32/30/2f\007\033\\" | ||
43 | printf "\033P\033]4;234;rgb:1d/20/21\007\033\\" | ||
44 | |||
45 | printf "\033P\033]4;235;rgb:28/28/28\007\033\\" | ||
46 | printf "\033P\033]4;237;rgb:3c/38/36\007\033\\" | ||
47 | printf "\033P\033]4;239;rgb:50/49/45\007\033\\" | ||
48 | printf "\033P\033]4;241;rgb:66/5c/54\007\033\\" | ||
49 | printf "\033P\033]4;243;rgb:7c/6f/64\007\033\\" | ||
50 | |||
51 | printf "\033P\033]4;244;rgb:92/83/74\007\033\\" | ||
52 | printf "\033P\033]4;245;rgb:92/83/74\007\033\\" | ||
53 | |||
54 | printf "\033P\033]4;228;rgb:f2/e5/bc\007\033\\" | ||
55 | printf "\033P\033]4;230;rgb:f9/f5/d7\007\033\\" | ||
56 | |||
57 | printf "\033P\033]4;229;rgb:fb/f1/c7\007\033\\" | ||
58 | printf "\033P\033]4;223;rgb:eb/db/b2\007\033\\" | ||
59 | printf "\033P\033]4;250;rgb:d5/c4/a1\007\033\\" | ||
60 | printf "\033P\033]4;248;rgb:bd/ae/93\007\033\\" | ||
61 | printf "\033P\033]4;246;rgb:a8/99/84\007\033\\" | ||
62 | |||
63 | printf "\033P\033]4;167;rgb:fb/49/34\007\033\\" | ||
64 | printf "\033P\033]4;142;rgb:b8/bb/26\007\033\\" | ||
65 | printf "\033P\033]4;214;rgb:fa/bd/2f\007\033\\" | ||
66 | printf "\033P\033]4;109;rgb:83/a5/98\007\033\\" | ||
67 | printf "\033P\033]4;175;rgb:d3/86/9b\007\033\\" | ||
68 | printf "\033P\033]4;108;rgb:8e/c0/7c\007\033\\" | ||
69 | printf "\033P\033]4;208;rgb:fe/80/19\007\033\\" | ||
70 | |||
71 | printf "\033P\033]4;88;rgb:9d/00/06\007\033\\" | ||
72 | printf "\033P\033]4;100;rgb:79/74/0e\007\033\\" | ||
73 | printf "\033P\033]4;136;rgb:b5/76/14\007\033\\" | ||
74 | printf "\033P\033]4;24;rgb:07/66/78\007\033\\" | ||
75 | printf "\033P\033]4;96;rgb:8f/3f/71\007\033\\" | ||
76 | printf "\033P\033]4;66;rgb:42/7b/58\007\033\\" | ||
77 | printf "\033P\033]4;130;rgb:af/3a/03\007\033\\" | ||
78 | fi | ||
79 | |||
80 | elif [ "$TERM" != "linux" ] && [ "$TERM" != "vt100" ] && [ "$TERM" != "vt220" ]; then | ||
81 | |||
82 | printf "\033]4;236;rgb:32/30/2f\033\\" | ||
83 | printf "\033]4;234;rgb:1d/20/21\033\\" | ||
84 | |||
85 | printf "\033]4;235;rgb:28/28/28\033\\" | ||
86 | printf "\033]4;237;rgb:3c/38/36\033\\" | ||
87 | printf "\033]4;239;rgb:50/49/45\033\\" | ||
88 | printf "\033]4;241;rgb:66/5c/54\033\\" | ||
89 | printf "\033]4;243;rgb:7c/6f/64\033\\" | ||
90 | |||
91 | printf "\033]4;244;rgb:92/83/74\033\\" | ||
92 | printf "\033]4;245;rgb:92/83/74\033\\" | ||
93 | |||
94 | printf "\033]4;228;rgb:f2/e5/bc\033\\" | ||
95 | printf "\033]4;230;rgb:f9/f5/d7\033\\" | ||
96 | |||
97 | printf "\033]4;229;rgb:fb/f1/c7\033\\" | ||
98 | printf "\033]4;223;rgb:eb/db/b2\033\\" | ||
99 | printf "\033]4;250;rgb:d5/c4/a1\033\\" | ||
100 | printf "\033]4;248;rgb:bd/ae/93\033\\" | ||
101 | printf "\033]4;246;rgb:a8/99/84\033\\" | ||
102 | |||
103 | printf "\033]4;167;rgb:fb/49/34\033\\" | ||
104 | printf "\033]4;142;rgb:b8/bb/26\033\\" | ||
105 | printf "\033]4;214;rgb:fa/bd/2f\033\\" | ||
106 | printf "\033]4;109;rgb:83/a5/98\033\\" | ||
107 | printf "\033]4;175;rgb:d3/86/9b\033\\" | ||
108 | printf "\033]4;108;rgb:8e/c0/7c\033\\" | ||
109 | printf "\033]4;208;rgb:fe/80/19\033\\" | ||
110 | |||
111 | printf "\033]4;88;rgb:9d/00/06\033\\" | ||
112 | printf "\033]4;100;rgb:79/74/0e\033\\" | ||
113 | printf "\033]4;136;rgb:b5/76/14\033\\" | ||
114 | printf "\033]4;24;rgb:07/66/78\033\\" | ||
115 | printf "\033]4;96;rgb:8f/3f/71\033\\" | ||
116 | printf "\033]4;66;rgb:42/7b/58\033\\" | ||
117 | printf "\033]4;130;rgb:af/3a/03\033\\" | ||
118 | fi | ||
diff --git a/.vim/pack/default/start/gruvbox/gruvbox_256palette_osx.sh b/.vim/pack/default/start/gruvbox/gruvbox_256palette_osx.sh new file mode 100755 index 0000000..ad5111a --- /dev/null +++ b/.vim/pack/default/start/gruvbox/gruvbox_256palette_osx.sh | |||
@@ -0,0 +1,116 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | if [ "${TERM%%-*}" = "screen" ]; then | ||
4 | if [ -n "$TMUX" ]; then | ||
5 | printf "\033Ptmux;\033\033]4;236;rgb:26/24/23\007\033\\" | ||
6 | printf "\033Ptmux;\033\033]4;234;rgb:16/18/19\007\033\\" | ||
7 | |||
8 | printf "\033Ptmux;\033\033]4;235;rgb:1e/1e/1e\007\033\\" | ||
9 | printf "\033Ptmux;\033\033]4;237;rgb:2e/2a/29\007\033\\" | ||
10 | printf "\033Ptmux;\033\033]4;239;rgb:3f/39/35\007\033\\" | ||
11 | printf "\033Ptmux;\033\033]4;241;rgb:53/4a/42\007\033\\" | ||
12 | printf "\033Ptmux;\033\033]4;243;rgb:68/5c/51\007\033\\" | ||
13 | |||
14 | printf "\033Ptmux;\033\033]4;244;rgb:7f/70/61\007\033\\" | ||
15 | printf "\033Ptmux;\033\033]4;245;rgb:7f/70/61\007\033\\" | ||
16 | |||
17 | printf "\033Ptmux;\033\033]4;228;rgb:ef/df/ae\007\033\\" | ||
18 | printf "\033Ptmux;\033\033]4;230;rgb:f8/f4/cd\007\033\\" | ||
19 | |||
20 | printf "\033Ptmux;\033\033]4;229;rgb:fa/ee/bb\007\033\\" | ||
21 | printf "\033Ptmux;\033\033]4;223;rgb:e6/d4/a3\007\033\\" | ||
22 | printf "\033Ptmux;\033\033]4;250;rgb:cb/b8/90\007\033\\" | ||
23 | printf "\033Ptmux;\033\033]4;248;rgb:af/9f/81\007\033\\" | ||
24 | printf "\033Ptmux;\033\033]4;246;rgb:97/87/71\007\033\\" | ||
25 | |||
26 | printf "\033Ptmux;\033\033]4;167;rgb:f7/30/28\007\033\\" | ||
27 | printf "\033Ptmux;\033\033]4;142;rgb:aa/b0/1e\007\033\\" | ||
28 | printf "\033Ptmux;\033\033]4;214;rgb:f7/b1/25\007\033\\" | ||
29 | printf "\033Ptmux;\033\033]4;109;rgb:71/95/86\007\033\\" | ||
30 | printf "\033Ptmux;\033\033]4;175;rgb:c7/70/89\007\033\\" | ||
31 | printf "\033Ptmux;\033\033]4;108;rgb:7d/b6/69\007\033\\" | ||
32 | printf "\033Ptmux;\033\033]4;208;rgb:fb/6a/16\007\033\\" | ||
33 | |||
34 | printf "\033Ptmux;\033\033]4;88;rgb:89/00/09\007\033\\" | ||
35 | printf "\033Ptmux;\033\033]4;100;rgb:66/62/0d\007\033\\" | ||
36 | printf "\033Ptmux;\033\033]4;136;rgb:a5/63/11\007\033\\" | ||
37 | printf "\033Ptmux;\033\033]4;24;rgb:0e/53/65\007\033\\" | ||
38 | printf "\033Ptmux;\033\033]4;96;rgb:7b/2b/5e\007\033\\" | ||
39 | printf "\033Ptmux;\033\033]4;66;rgb:35/6a/46\007\033\\" | ||
40 | printf "\033Ptmux;\033\033]4;130;rgb:9d/28/07\007\033\\" | ||
41 | else | ||
42 | printf "\033P\033]4;236;rgb:26/24/23\007\033\\" | ||
43 | printf "\033P\033]4;234;rgb:16/18/19\007\033\\" | ||
44 | |||
45 | printf "\033P\033]4;235;rgb:1e/1e/1e\007\033\\" | ||
46 | printf "\033P\033]4;237;rgb:2e/2a/29\007\033\\" | ||
47 | printf "\033P\033]4;239;rgb:3f/39/35\007\033\\" | ||
48 | printf "\033P\033]4;241;rgb:53/4a/42\007\033\\" | ||
49 | printf "\033P\033]4;243;rgb:68/5c/51\007\033\\" | ||
50 | |||
51 | printf "\033P\033]4;244;rgb:7f/70/61\007\033\\" | ||
52 | printf "\033P\033]4;245;rgb:7f/70/61\007\033\\" | ||
53 | |||
54 | printf "\033P\033]4;228;rgb:ef/df/ae\007\033\\" | ||
55 | printf "\033P\033]4;230;rgb:f8/f4/cd\007\033\\" | ||
56 | |||
57 | printf "\033P\033]4;229;rgb:fa/ee/bb\007\033\\" | ||
58 | printf "\033P\033]4;223;rgb:e6/d4/a3\007\033\\" | ||
59 | printf "\033P\033]4;250;rgb:cb/b8/90\007\033\\" | ||
60 | printf "\033P\033]4;248;rgb:af/9f/81\007\033\\" | ||
61 | printf "\033P\033]4;246;rgb:97/87/71\007\033\\" | ||
62 | |||
63 | printf "\033P\033]4;167;rgb:f7/30/28\007\033\\" | ||
64 | printf "\033P\033]4;142;rgb:aa/b0/1e\007\033\\" | ||
65 | printf "\033P\033]4;214;rgb:f7/b1/25\007\033\\" | ||
66 | printf "\033P\033]4;109;rgb:71/95/86\007\033\\" | ||
67 | printf "\033P\033]4;175;rgb:c7/70/89\007\033\\" | ||
68 | printf "\033P\033]4;108;rgb:7d/b6/69\007\033\\" | ||
69 | printf "\033P\033]4;208;rgb:fb/6a/16\007\033\\" | ||
70 | |||
71 | printf "\033P\033]4;88;rgb:89/00/09\007\033\\" | ||
72 | printf "\033P\033]4;100;rgb:66/62/0d\007\033\\" | ||
73 | printf "\033P\033]4;136;rgb:a5/63/11\007\033\\" | ||
74 | printf "\033P\033]4;24;rgb:0e/53/65\007\033\\" | ||
75 | printf "\033P\033]4;96;rgb:7b/2b/5e\007\033\\" | ||
76 | printf "\033P\033]4;66;rgb:35/6a/46\007\033\\" | ||
77 | printf "\033P\033]4;130;rgb:9d/28/07\007\033\\" | ||
78 | fi | ||
79 | else | ||
80 | printf "\033]4;236;rgb:26/24/23\033\\" | ||
81 | printf "\033]4;234;rgb:16/18/19\033\\" | ||
82 | |||
83 | printf "\033]4;235;rgb:1e/1e/1e\033\\" | ||
84 | printf "\033]4;237;rgb:2e/2a/29\033\\" | ||
85 | printf "\033]4;239;rgb:3f/39/35\033\\" | ||
86 | printf "\033]4;241;rgb:53/4a/42\033\\" | ||
87 | printf "\033]4;243;rgb:68/5c/51\033\\" | ||
88 | |||
89 | printf "\033]4;244;rgb:7f/70/61\033\\" | ||
90 | printf "\033]4;245;rgb:7f/70/61\033\\" | ||
91 | |||
92 | printf "\033]4;228;rgb:ef/df/ae\033\\" | ||
93 | printf "\033]4;230;rgb:f8/f4/cd\033\\" | ||
94 | |||
95 | printf "\033]4;229;rgb:fa/ee/bb\033\\" | ||
96 | printf "\033]4;223;rgb:e6/d4/a3\033\\" | ||
97 | printf "\033]4;250;rgb:cb/b8/90\033\\" | ||
98 | printf "\033]4;248;rgb:af/9f/81\033\\" | ||
99 | printf "\033]4;246;rgb:97/87/71\033\\" | ||
100 | |||
101 | printf "\033]4;167;rgb:f7/30/28\033\\" | ||
102 | printf "\033]4;142;rgb:aa/b0/1e\033\\" | ||
103 | printf "\033]4;214;rgb:f7/b1/25\033\\" | ||
104 | printf "\033]4;109;rgb:71/95/86\033\\" | ||
105 | printf "\033]4;175;rgb:c7/70/89\033\\" | ||
106 | printf "\033]4;108;rgb:7d/b6/69\033\\" | ||
107 | printf "\033]4;208;rgb:fb/6a/16\033\\" | ||
108 | |||
109 | printf "\033]4;88;rgb:89/00/09\033\\" | ||
110 | printf "\033]4;100;rgb:66/62/0d\033\\" | ||
111 | printf "\033]4;136;rgb:a5/63/11\033\\" | ||
112 | printf "\033]4;24;rgb:0e/53/65\033\\" | ||
113 | printf "\033]4;96;rgb:7b/2b/5e\033\\" | ||
114 | printf "\033]4;66;rgb:35/6a/46\033\\" | ||
115 | printf "\033]4;130;rgb:9d/28/07\033\\" | ||
116 | fi | ||