]> git.pld-linux.org Git - packages/vim.git/blame - zenburn.vim
Up to 9.1.0004
[packages/vim.git] / zenburn.vim
CommitLineData
8fcf3332 1" Vim color file
574381bc
AM
2" Maintainer: Jani Nurminen <slinky@iki.fi>
3" Last Change: $Id: zenburn.vim,v 2.21 2011/04/26 12:13:41 slinky Exp slinky $
4" URL: http://slinky.imukuppi.org/zenburnpage/
5" License: GNU GPL <http://www.gnu.org/licenses/gpl.html>
8fcf3332 6"
7" Nothing too fancy, just some alien fruit salad to keep you in the zone.
574381bc 8" This syntax file was designed to be used with dark environments and
8fcf3332 9" low light situations. Of course, if it works during a daybright office, go
10" ahead :)
11"
12" Owes heavily to other Vim color files! With special mentions
13" to "BlackDust", "Camo" and "Desert".
14"
574381bc
AM
15" To install, copy to ~/.vim/colors directory.
16"
17" Alternatively, you can use Vimball installation:
18" vim zenburn.vba
19" :so %
20" :q
21"
22" For details, see :help vimball
23"
24" After installation, use it with :colorscheme zenburn.
8fcf3332 25" See also :help syntax
26"
e05e3df3 27" Credits:
574381bc 28" - Jani Nurminen - original Zenburn, maintainer
e05e3df3
AG
29" - Steve Hall & Cream posse - higher-contrast Visual selection
30" - Kurt Maier - 256 color console coloring, low and high contrast toggle,
31" bug fixing
574381bc
AM
32" - Charlie - spotted too bright StatusLine in non-high contrast mode
33" - Pablo Castellazzi - CursorLine fix for 256 color mode
34" - Tim Smith - force dark background
35" - John Gabriele - spotted bad Ignore-group handling
36" - Zac Thompson - spotted invisible NonText in low contrast mode
37" - Christophe-Marie Duquesne - suggested making a Vimball,
38" suggested support for ctags_highlighting.vim
39" - Andrew Wagner - noted the CursorColumn bug (guifg was unintentionally set),
40" unify CursorColumn colour
41" - Martin Langasek - clarify the license, whitespace fixes
42" - Marcin Szamotulski - support autocomplete for Zenburn configuration
43" parameters
44" - Clayton Parker (claytron) - Convinced by Kurt Maier to use Zenburn. Point
45" out issues with LineNr, fix directory styles, and their usage in MacVim.
46" - Paweł Piekarski - Spotted bad FoldColumn and TabLine. Made better
47" FoldColumn colors, fixed TabLine colors.
e05e3df3 48"
8fcf3332 49" CONFIGURABLE PARAMETERS:
574381bc 50"
8fcf3332 51" You can use the default (don't set any parameters), or you can
e05e3df3
AG
52" set some parameters to tweak the Zenburn colours.
53"
574381bc
AM
54" To use them, put them into your .vimrc file before loading the color scheme,
55" example:
56" let g:zenburn_high_Contrast=1
57" colors zenburn
58"
59" You can also do ":let g:zenburn" then hit Ctrl-d or Tab to scroll through the
60" list of configurable parameters.
61"
e05e3df3
AG
62" * You can now set a darker background for bright environments. To activate, use:
63" contrast Zenburn, use:
64"
65" let g:zenburn_high_Contrast = 1
8fcf3332 66"
574381bc
AM
67" * For example, Vim help files uses the Ignore-group for the pipes in tags
68" like "|somelink.txt|". By default, the pipes are not visible, as they
69" map to Ignore group. If you wish to enable coloring of the Ignore group,
70" set the following parameter to 1. Warning, it might make some syntax files
71" look strange.
72"
73" let g:zenburn_color_also_Ignore = 1
74"
8fcf3332 75" * To get more contrast to the Visual selection, use
574381bc 76"
8fcf3332 77" let g:zenburn_alternate_Visual = 1
574381bc
AM
78"
79" Note: this is enabled only if the old-style Visual
80" if used, see g:zenburn_old_Visual
81"
8fcf3332 82" * To use alternate colouring for Error message, use
574381bc 83"
8fcf3332 84" let g:zenburn_alternate_Error = 1
85"
e05e3df3 86" * The new default for Include is a duller orange. To use the original
8fcf3332 87" colouring for Include, use
574381bc 88"
8fcf3332 89" let g:zenburn_alternate_Include = 1
90"
574381bc
AM
91" * Work-around to a Vim bug, it seems to misinterpret ctermfg and 234 and 237
92" as light values, and sets background to light for some people. If you have
93" this problem, use:
94"
95" let g:zenburn_force_dark_Background = 1
96"
97" * By default the CursorColumn is of a lighter colour. I find it more readable
98" that way, but some people may want to align it with the darker CursorLine
99" color, for visual uniformity. To do so, use:
100"
101" let g:zenburn_unified_CursorColumn = 1
102"
103" Note: you can ignore this unless you use
104" ":set cursorline cursorcolumn", since otherwise the effect won't be
105" seen.
106"
107" * New (dark) Visual coloring has been introduced.
108" The dark Visual is more aligned with the rest of the colour scheme,
109" especially if you use line numbers. If you wish to use the
110" old Visual coloring, use
111"
112" let g:zenburn_old_Visual = 1
113"
114" Default is to use the new Visual.
115"
116" * EXPERIMENTAL FEATURE: Zenburn will automatically detect if you
117" have ctags_highlighting.vim (by Al Budden,
118" http://www.vim.org/scripts/script.php?script_id=2646) enabled, and
119" will set sensible highlight links. Nothing will happen if you do
120" not have ctags_highlighting.vim. If you do not want this feature, you can
121" override the check with:
122"
123" let g:zenburn_disable_ctags_highlighting_support = 1
124"
125" NOTE:
126"
127" * To turn the parameter(s) back to defaults, use UNLET or set them to 0:
e05e3df3
AG
128"
129" unlet g:zenburn_alternate_Include
574381bc
AM
130" or
131" let g:zenburn_alternate_Include = 0
e05e3df3 132"
8fcf3332 133"
134" That's it, enjoy!
574381bc 135"
8fcf3332 136" TODO
e05e3df3 137" - Visual alternate color is broken? Try GVim >= 7.0.66 if you have trouble
8fcf3332 138" - IME colouring (CursorIM)
574381bc
AM
139
140" Set defaults, but keep any parameters already set by the user
141if ! exists("g:zenburn_high_Contrast")
142 let g:zenburn_high_Contrast = 0
143endif
144
145if ! exists("g:zenburn_color_also_Ignore")
146 let g:zenburn_color_also_Ignore = 0
147endif
148
149if ! exists("g:zenburn_alternate_Error")
150 let g:zenburn_alternate_Error = 0
151endif
152
153if ! exists("g:zenburn_force_dark_Background")
154 let g:zenburn_force_dark_Background = 0
155endif
156
157if ! exists("g:zenburn_alternate_Visual")
158 let g:zenburn_alternate_Visual = 0
159endif
160
161if ! exists("g:zenburn_alternate_Include")
162 let g:zenburn_alternate_Include = 0
163endif
164
165if ! exists("g:zenburn_unified_CursorColumn")
166 let g:zenburn_unified_CursorColumn = 0
167endif
168
169if ! exists("g:zenburn_old_Visual")
170 let g:zenburn_old_Visual = 0
171endif
172
173if ! exists("g:zenburn_disable_ctags_highlighting_support")
174 " enabled by default
175 let g:zenburn_disable_ctags_highlighting_support = 0
176endif
177
178" -----------------------------------------------
8fcf3332 179
180set background=dark
574381bc 181hi clear
8fcf3332 182if exists("syntax_on")
183 syntax reset
184endif
185let g:colors_name="zenburn"
186
574381bc
AM
187" check for ctags-highlighting
188if exists("g:loaded_ctags_highlighting") && g:loaded_ctags_highlighting && ! g:zenburn_disable_ctags_highlighting_support
189 " internal
190 let _zenburn_ctags = 1
191endif
192
8fcf3332 193hi Boolean guifg=#dca3a3
194hi Character guifg=#dca3a3 gui=bold
e05e3df3 195hi Comment guifg=#7f9f7f gui=italic
8fcf3332 196hi Conditional guifg=#f0dfaf gui=bold
197hi Constant guifg=#dca3a3 gui=bold
198hi Cursor guifg=#000d18 guibg=#8faf9f gui=bold
e05e3df3 199hi Debug guifg=#bca3a3 gui=bold
8fcf3332 200hi Define guifg=#ffcfaf gui=bold
201hi Delimiter guifg=#8f8f8f
202hi DiffAdd guifg=#709080 guibg=#313c36 gui=bold
203hi DiffChange guibg=#333333
204hi DiffDelete guifg=#333333 guibg=#464646
205hi DiffText guifg=#ecbcbc guibg=#41363c gui=bold
574381bc 206hi Directory guifg=#9fafaf gui=bold
e05e3df3 207hi ErrorMsg guifg=#80d4aa guibg=#2f2f2f gui=bold
8fcf3332 208hi Exception guifg=#c3bf9f gui=bold
209hi Float guifg=#c0bed1
210hi FoldColumn guifg=#93b3a3 guibg=#3f4040
211hi Folded guifg=#93b3a3 guibg=#3f4040
212hi Function guifg=#efef8f
213hi Identifier guifg=#efdcbc
214hi IncSearch guibg=#f8f893 guifg=#385f38
215hi Keyword guifg=#f0dfaf gui=bold
216hi Label guifg=#dfcfaf gui=underline
8fcf3332 217hi Macro guifg=#ffcfaf gui=bold
218hi ModeMsg guifg=#ffcfaf gui=none
219hi MoreMsg guifg=#ffffff gui=bold
8fcf3332 220hi Number guifg=#8cd0d3
221hi Operator guifg=#f0efd0
222hi PreCondit guifg=#dfaf8f gui=bold
223hi PreProc guifg=#ffcfaf gui=bold
224hi Question guifg=#ffffff gui=bold
225hi Repeat guifg=#ffd7a7 gui=bold
e05e3df3 226hi Search guifg=#ffffe0 guibg=#284f28
8fcf3332 227hi SpecialChar guifg=#dca3a3 gui=bold
228hi SpecialComment guifg=#82a282 gui=bold
229hi Special guifg=#cfbfaf
230hi SpecialKey guifg=#9ece9e
e05e3df3 231hi Statement guifg=#e3ceab gui=none
574381bc 232hi StatusLine guifg=#313633 guibg=#ccdc90
8fcf3332 233hi StatusLineNC guifg=#2e3330 guibg=#88b090
234hi StorageClass guifg=#c3bf9f gui=bold
235hi String guifg=#cc9393
236hi Structure guifg=#efefaf gui=bold
e05e3df3
AG
237hi Tag guifg=#e89393 gui=bold
238hi Title guifg=#efefef gui=bold
239hi Todo guifg=#dfdfdf guibg=bg gui=bold
8fcf3332 240hi Typedef guifg=#dfe4cf gui=bold
241hi Type guifg=#dfdfbf gui=bold
e05e3df3 242hi Underlined guifg=#dcdccc gui=underline
574381bc 243hi VertSplit guifg=#2e3330 guibg=#688060
8fcf3332 244hi VisualNOS guifg=#333333 guibg=#f18c96 gui=bold,underline
245hi WarningMsg guifg=#ffffff guibg=#333333 gui=bold
246hi WildMenu guibg=#2c302d guifg=#cbecd0 gui=underline
247
574381bc
AM
248hi SpellBad guisp=#bc6c4c guifg=#dc8c6c
249hi SpellCap guisp=#6c6c9c guifg=#8c8cbc
250hi SpellRare guisp=#bc6c9c guifg=#bc8cbc
251hi SpellLocal guisp=#7cac7c guifg=#9ccc9c
252
e05e3df3
AG
253" Entering Kurt zone
254if &t_Co > 255
574381bc 255 hi Boolean ctermfg=181
e05e3df3 256 hi Character ctermfg=181 cterm=bold
574381bc 257 hi Comment ctermfg=108
e05e3df3
AG
258 hi Conditional ctermfg=223 cterm=bold
259 hi Constant ctermfg=181 cterm=bold
260 hi Cursor ctermfg=233 ctermbg=109 cterm=bold
261 hi Debug ctermfg=181 cterm=bold
262 hi Define ctermfg=223 cterm=bold
574381bc 263 hi Delimiter ctermfg=245
e05e3df3 264 hi DiffAdd ctermfg=66 ctermbg=237 cterm=bold
574381bc
AM
265 hi DiffChange ctermbg=236
266 hi DiffDelete ctermfg=236 ctermbg=238
e05e3df3 267 hi DiffText ctermfg=217 ctermbg=237 cterm=bold
574381bc 268 hi Directory ctermfg=109 cterm=bold
e05e3df3
AG
269 hi ErrorMsg ctermfg=115 ctermbg=236 cterm=bold
270 hi Exception ctermfg=249 cterm=bold
574381bc
AM
271 hi Float ctermfg=251
272 hi Function ctermfg=228
273 hi Identifier ctermfg=223
274 hi IncSearch ctermbg=228 ctermfg=238
e05e3df3
AG
275 hi Keyword ctermfg=223 cterm=bold
276 hi Label ctermfg=187 cterm=underline
574381bc 277 hi LineNr ctermfg=248 ctermbg=233
e05e3df3
AG
278 hi Macro ctermfg=223 cterm=bold
279 hi ModeMsg ctermfg=223 cterm=none
280 hi MoreMsg ctermfg=15 cterm=bold
574381bc
AM
281 hi Number ctermfg=116
282 hi Operator ctermfg=230
e05e3df3
AG
283 hi PreCondit ctermfg=180 cterm=bold
284 hi PreProc ctermfg=223 cterm=bold
285 hi Question ctermfg=15 cterm=bold
286 hi Repeat ctermfg=223 cterm=bold
574381bc 287 hi Search ctermfg=230 ctermbg=236
e05e3df3
AG
288 hi SpecialChar ctermfg=181 cterm=bold
289 hi SpecialComment ctermfg=108 cterm=bold
574381bc
AM
290 hi Special ctermfg=181
291 hi SpecialKey ctermfg=151
e05e3df3 292 hi Statement ctermfg=187 ctermbg=234 cterm=none
574381bc
AM
293 hi StatusLine ctermfg=236 ctermbg=186
294 hi StatusLineNC ctermfg=235 ctermbg=108
e05e3df3 295 hi StorageClass ctermfg=249 cterm=bold
574381bc 296 hi String ctermfg=174
e05e3df3
AG
297 hi Structure ctermfg=229 cterm=bold
298 hi Tag ctermfg=181 cterm=bold
299 hi Title ctermfg=7 ctermbg=234 cterm=bold
300 hi Todo ctermfg=108 ctermbg=234 cterm=bold
301 hi Typedef ctermfg=253 cterm=bold
302 hi Type ctermfg=187 cterm=bold
303 hi Underlined ctermfg=188 ctermbg=234 cterm=bold
574381bc 304 hi VertSplit ctermfg=236 ctermbg=65
e05e3df3
AG
305 hi VisualNOS ctermfg=236 ctermbg=210 cterm=bold
306 hi WarningMsg ctermfg=15 ctermbg=236 cterm=bold
307 hi WildMenu ctermbg=236 ctermfg=194 cterm=bold
574381bc
AM
308
309 " spellchecking, always "bright" background
310 hi SpellLocal ctermfg=14 ctermbg=237
311 hi SpellBad ctermfg=9 ctermbg=237
312 hi SpellCap ctermfg=12 ctermbg=237
313 hi SpellRare ctermfg=13 ctermbg=237
314
315 " pmenu
316 hi PMenu ctermfg=248 ctermbg=0
317 hi PMenuSel ctermfg=223 ctermbg=235
318
319 if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
e05e3df3 320 hi Normal ctermfg=188 ctermbg=234
574381bc
AM
321 hi NonText ctermfg=238
322
323 if exists("g:zenburn_color_also_Ignore") && g:zenburn_color_also_Ignore
324 hi Ignore ctermfg=238
325 endif
326
327 " hc mode, darker CursorLine, default 236
328 hi CursorLine ctermbg=233 cterm=none
329
330 if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
331 hi CursorColumn ctermbg=233 cterm=none
332 else
333 hi CursorColumn ctermbg=235 cterm=none
334 endif
e05e3df3
AG
335 else
336 hi Normal ctermfg=188 ctermbg=237
337 hi Cursor ctermbg=109
338 hi diffadd ctermbg=237
339 hi diffdelete ctermbg=238
340 hi difftext ctermbg=237
341 hi errormsg ctermbg=237
e05e3df3 342 hi incsearch ctermbg=228
574381bc 343 hi linenr ctermbg=235
e05e3df3
AG
344 hi search ctermbg=238
345 hi statement ctermbg=237
346 hi statusline ctermbg=144
347 hi statuslinenc ctermbg=108
348 hi title ctermbg=237
349 hi todo ctermbg=237
350 hi underlined ctermbg=237
574381bc 351 hi vertsplit ctermbg=65
e05e3df3
AG
352 hi visualnos ctermbg=210
353 hi warningmsg ctermbg=236
354 hi wildmenu ctermbg=236
574381bc
AM
355 hi NonText ctermfg=240
356
357 if exists("g:zenburn_color_also_Ignore") && g:zenburn_color_also_Ignore
358 hi Ignore ctermfg=240
359 endif
360
361 " normal mode, lighter CursorLine
362 hi CursorLine ctermbg=238 cterm=none
363
364 if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
365 hi CursorColumn ctermbg=238 cterm=none
366 else
367 hi CursorColumn ctermbg=239 cterm=none
368 endif
369 endif
370
371 if exists("g:zenburn_alternate_Error") && g:zenburn_alternate_Error
372 " use more jumpy Error
373 hi Error ctermfg=210 ctermbg=52 gui=bold
374 else
375 " default is something more zenburn-compatible
376 hi Error ctermfg=228 ctermbg=95 gui=bold
e05e3df3
AG
377 endif
378endif
379
574381bc
AM
380if exists("g:zenburn_force_dark_Background") && g:zenburn_force_dark_Background
381 " Force dark background, because of a bug in VIM: VIM sets background
382 " automatically during "hi Normal ctermfg=X"; it misinterprets the high
383 " value (234 or 237 above) as a light color, and wrongly sets background to
384 " light. See ":help highlight" for details.
385 set background=dark
386endif
e05e3df3 387
574381bc 388if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
e05e3df3
AG
389 " use new darker background
390 hi Normal guifg=#dcdccc guibg=#1f1f1f
574381bc
AM
391 hi CursorLine guibg=#121212 gui=bold
392 if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
393 hi CursorColumn guibg=#121212 gui=bold
394 else
395 hi CursorColumn guibg=#2b2b2b
396 endif
397 hi Pmenu guibg=#242424 guifg=#ccccbc
398 hi PMenuSel guibg=#353a37 guifg=#ccdc90 gui=bold
399 hi PmenuSbar guibg=#2e3330 guifg=#000000
400 hi PMenuThumb guibg=#a0afa0 guifg=#040404
401 hi MatchParen guifg=#f0f0c0 guibg=#383838 gui=bold
402 hi SignColumn guifg=#9fafaf guibg=#181818 gui=bold
403 hi TabLineFill guifg=#cfcfaf guibg=#181818 gui=bold
404 hi TabLineSel guifg=#efefef guibg=#1c1c1b gui=bold
405 hi TabLine guifg=#b6bf98 guibg=#181818 gui=bold
406 hi NonText guifg=#404040 gui=bold
407
408 hi LineNr guifg=#9fafaf guibg=#161616
e05e3df3
AG
409else
410 " Original, lighter background
411 hi Normal guifg=#dcdccc guibg=#3f3f3f
574381bc
AM
412 hi CursorLine guibg=#434443
413 if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
414 hi CursorColumn guibg=#434343
415 else
416 hi CursorColumn guibg=#4f4f4f
417 endif
418 hi Pmenu guibg=#2c2e2e guifg=#9f9f9f
419 hi PMenuSel guibg=#242424 guifg=#d0d0a0 gui=bold
420 hi PmenuSbar guibg=#2e3330 guifg=#000000
421 hi PMenuThumb guibg=#a0afa0 guifg=#040404
422 hi MatchParen guifg=#b2b2a0 guibg=#2e2e2e gui=bold
423 hi SignColumn guifg=#9fafaf guibg=#343434 gui=bold
424 hi TabLineFill guifg=#cfcfaf guibg=#353535 gui=bold
425 hi TabLineSel guifg=#efefef guibg=#3a3a39 gui=bold
426 hi TabLine guifg=#b6bf98 guibg=#353535 gui=bold
427 hi NonText guifg=#5b605e gui=bold
428
429 hi LineNr guifg=#9fafaf guibg=#262626
e05e3df3
AG
430endif
431
574381bc
AM
432if exists("g:zenburn_old_Visual") && g:zenburn_old_Visual
433 if exists("g:zenburn_alternate_Visual") && g:zenburn_alternate_Visual
434 " Visual with more contrast, thanks to Steve Hall & Cream posse
435 " gui=none fixes weird highlight problem in at least GVim 7.0.66, thanks to Kurt Maier
436 hi Visual guifg=#000000 guibg=#71d3b4 gui=none
437 hi VisualNOS guifg=#000000 guibg=#71d3b4 gui=none
438 else
439 " use default visual
440 hi Visual guifg=#233323 guibg=#71d3b4 gui=none
441 hi VisualNOS guifg=#233323 guibg=#71d3b4 gui=none
442 endif
8fcf3332 443else
574381bc
AM
444 " new Visual style
445 if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
446 " high contrast
447 "hi Visual guibg=#304a3d
448 "hi VisualNos guibg=#304a3d
449 "TODO no nice greenish in console, 65 is closest. use full black instead,
450 "although i like the green..!
451 hi Visual guibg=#0f0f0f
452 hi VisualNos guibg=#0f0f0f
453 if &t_Co > 255
454 hi Visual ctermbg=0
455 endif
456 else
457 " low contrast
458 hi Visual guibg=#2f2f2f
459 hi VisualNOS guibg=#2f2f2f
460
461 if &t_Co > 255
462 hi Visual ctermbg=235
463 hi VisualNOS ctermbg=235
464 endif
465 endif
8fcf3332 466endif
467
574381bc
AM
468if exists("g:zenburn_alternate_Error") && g:zenburn_alternate_Error
469 " use more jumpy Error
470 hi Error guifg=#e37170 guibg=#664040 gui=bold
8fcf3332 471else
574381bc
AM
472 " default is something more zenburn-compatible
473 hi Error guifg=#e37170 guibg=#3d3535 gui=none
8fcf3332 474endif
475
574381bc 476if exists("g:zenburn_alternate_Include") && g:zenburn_alternate_Include
8fcf3332 477 " original setting
574381bc 478 hi Include guifg=#ffcfaf gui=bold
8fcf3332 479else
480 " new, less contrasted one
574381bc
AM
481 hi Include guifg=#dfaf8f gui=bold
482endif
483
484if exists("g:zenburn_color_also_Ignore") && g:zenburn_color_also_Ignore
485 " color the Ignore groups
486 " note: if you get strange coloring for your files, turn this off (unlet)
487 hi Ignore guifg=#545a4f
8fcf3332 488endif
574381bc
AM
489
490" new tabline and fold column
491if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
492 hi FoldColumn guibg=#161616
493 hi Folded guibg=#161616
494 hi TabLine guifg=#88b090 guibg=#313633 gui=none
495 hi TabLineSel guifg=#ccd990 guibg=#222222
496 hi TabLineFill guifg=#88b090 guibg=#313633 gui=none
497
498 hi SpecialKey guibg=#242424
499
500 if &t_Co > 255
501 hi FoldColumn ctermbg=233 ctermfg=109
502 hi Folded ctermbg=233 ctermfg=109
503 hi TabLine ctermbg=236 ctermfg=108 cterm=none
504 hi TabLineSel ctermbg=235 ctermfg=186 cterm=bold
505 hi TabLineFill ctermbg=236 ctermfg=236
506 endif
507else
508 hi FoldColumn guibg=#333333
509 hi Folded guibg=#333333
510 hi TabLine guifg=#d0d0b8 guibg=#222222 gui=none
511 hi TabLineSel guifg=#f0f0b0 guibg=#333333 gui=bold
512 hi TabLineFill guifg=#dccdcc guibg=#101010 gui=none
513
514 hi SpecialKey guibg=#444444
515
516 if &t_Co > 255
517 hi FoldColumn ctermbg=236 ctermfg=109
518 hi Folded ctermbg=236 ctermfg=109
519 hi TabLine ctermbg=235 ctermfg=187 cterm=none
520 hi TabLineSel ctermbg=236 ctermfg=229 cterm=bold
521 hi TabLineFill ctermbg=233 ctermfg=233
522 endif
523endif
524
525" EXPERIMENTAL ctags_highlighting support
526" link/set sensible defaults here;
527"
528" For now I mostly link to subset of Zenburn colors, the linkage is based
529" on appearance, not semantics. In later versions I might define more new colours.
530"
531" HELP NEEDED to make this work properly.
532if exists("_zenburn_ctags") && _zenburn_ctags
533
534 " Highlighter seems to think a lot of things are global variables even
535 " though they're not. Example: python method-local variable is
536 " coloured as a global variable. They should not be global, since
537 " they're not visible outside the method.
538 " If this is some very bright colour group then things look bad.
539 hi link CTagsGlobalVariable Identifier
540
541 hi CTagsClass guifg=#acd0b3
542 if &t_Co > 255
543 hi CTagsClass ctermfg=115
544 endif
545
546 hi link CTagsImport Statement
547 hi link CTagsMember Function
548
549 hi link CTagsGlobalConstant Constant
550
551 " These do not yet have support, I can't get them to appear
552 hi link EnumerationValue Float
553 hi link EnumerationName Identifier
554 hi link DefinedName WarningMsg
555 hi link LocalVariable WarningMsg
556 hi link Structure WarningMsg
557 hi link Union WarningMsg
558endif
559
560" TODO check for more obscure syntax groups that they're ok
561
This page took 0.302771 seconds and 4 git commands to generate.