xonecas.io
314
Vc

vim-colors-256 / commit efb36ea

Add 3 new colorschemes

sean2015-11-06 efb36eab49778a099e119874a9b351851a95bd69 parent 9e1fe31

3 files changed

This diff is too big to show in full. The first 1000 lines are below, and every file is listed with its counts.

colors/badwolf.vim+650−0
@@ -0,0 +1,650 @@
1+" _ _ _ __
2+" | |__ __ _ __| | __ _____ | |/ _|
3+" | '_ \ / _` |/ _` | \ \ /\ / / _ \| | |_
4+" | |_) | (_| | (_| | \ V V / (_) | | _|
5+" |_.__/ \__,_|\__,_| \_/\_/ \___/|_|_|
6+"
7+" I am the Bad Wolf. I create myself.
8+" I take the words. I scatter them in time and space.
9+" A message to lead myself here.
10+"
11+" A Vim colorscheme pieced together by Steve Losh.
12+" Available at http://stevelosh.com/projects/badwolf/
13+"
14+" Why? {{{
15+"
16+" After using Molokai for quite a long time, I started longing for
17+" a replacement.
18+"
19+" I love Molokai's high contrast and gooey, saturated tones, but it can be
20+" a little inconsistent at times.
21+"
22+" Also it's winter here in Rochester, so I wanted a color scheme that's a bit
23+" warmer. A little less blue and a bit more red.
24+"
25+" And so Bad Wolf was born. I'm no designer, but designers have been scattering
26+" beautiful colors through time and space long before I came along. I took
27+" advantage of that and reused some of my favorites to lead me to this scheme.
28+"
29+" }}}
30+
31+" Supporting code -------------------------------------------------------------
32+" Preamble {{{
33+
34+if !has("gui_running") && &t_Co != 88 && &t_Co != 256
35+ finish
36+endif
37+
38+set background=dark
39+
40+if exists("syntax_on")
41+ syntax reset
42+endif
43+
44+let colors_name = "badwolf"
45+
46+if !exists("g:badwolf_html_link_underline") " {{{
47+ let g:badwolf_html_link_underline = 1
48+endif " }}}
49+
50+if !exists("g:badwolf_css_props_highlight") " {{{
51+ let g:badwolf_css_props_highlight = 0
52+endif " }}}
53+
54+" }}}
55+" Palette {{{
56+
57+let s:bwc = {}
58+
59+" The most basic of all our colors is a slightly tweaked version of the Molokai
60+" Normal text.
61+let s:bwc.plain = ['f8f6f2', 15]
62+
63+" Pure and simple.
64+let s:bwc.snow = ['ffffff', 15]
65+let s:bwc.coal = ['000000', 16]
66+
67+" All of the Gravel colors are based on a brown from Clouds Midnight.
68+let s:bwc.brightgravel = ['d9cec3', 252]
69+let s:bwc.lightgravel = ['998f84', 245]
70+let s:bwc.gravel = ['857f78', 243]
71+let s:bwc.mediumgravel = ['666462', 241]
72+let s:bwc.deepgravel = ['45413b', 238]
73+let s:bwc.deepergravel = ['35322d', 236]
74+let s:bwc.darkgravel = ['242321', 235]
75+let s:bwc.blackgravel = ['1c1b1a', 233]
76+let s:bwc.blackestgravel = ['141413', 232]
77+
78+" A color sampled from a highlight in a photo of a glass of Dale's Pale Ale on
79+" my desk.
80+let s:bwc.dalespale = ['fade3e', 221]
81+
82+" A beautiful tan from Tomorrow Night.
83+let s:bwc.dirtyblonde = ['f4cf86', 222]
84+
85+" Delicious, chewy red from Made of Code for the poppiest highlights.
86+let s:bwc.taffy = ['ff2c4b', 196]
87+
88+" Another chewy accent, but use sparingly!
89+let s:bwc.saltwatertaffy = ['8cffba', 121]
90+
91+" The star of the show comes straight from Made of Code.
92+let s:bwc.tardis = ['0a9dff', 39]
93+
94+" This one's from Mustang, not Florida!
95+let s:bwc.orange = ['ffa724', 214]
96+
97+" A limier green from Getafe.
98+let s:bwc.lime = ['aeee00', 154]
99+
100+" Rose's dress in The Idiot's Lantern.
101+let s:bwc.dress = ['ff9eb8', 211]
102+
103+" Another play on the brown from Clouds Midnight. I love that color.
104+let s:bwc.toffee = ['b88853', 137]
105+
106+" Also based on that Clouds Midnight brown.
107+let s:bwc.coffee = ['c7915b', 173]
108+let s:bwc.darkroast = ['88633f', 95]
109+
110+" }}}
111+" Highlighting Function {{{
112+function! s:HL(group, fg, ...)
113+ " Arguments: group, guifg, guibg, gui, guisp
114+
115+ let histring = 'hi ' . a:group . ' '
116+
117+ if strlen(a:fg)
118+ if a:fg == 'fg'
119+ let histring .= 'guifg=fg ctermfg=fg '
120+ else
121+ let c = get(s:bwc, a:fg)
122+ let histring .= 'guifg=#' . c[0] . ' ctermfg=' . c[1] . ' '
123+ endif
124+ endif
125+
126+ if a:0 >= 1 && strlen(a:1)
127+ if a:1 == 'bg'
128+ let histring .= 'guibg=bg ctermbg=bg '
129+ else
130+ let c = get(s:bwc, a:1)
131+ let histring .= 'guibg=#' . c[0] . ' ctermbg=' . c[1] . ' '
132+ endif
133+ endif
134+
135+ if a:0 >= 2 && strlen(a:2)
136+ let histring .= 'gui=' . a:2 . ' cterm=' . a:2 . ' '
137+ endif
138+
139+ if a:0 >= 3 && strlen(a:3)
140+ let c = get(s:bwc, a:3)
141+ let histring .= 'guisp=#' . c[0] . ' '
142+ endif
143+
144+ " echom histring
145+
146+ execute histring
147+endfunction
148+" }}}
149+" Configuration Options {{{
150+
151+if exists('g:badwolf_darkgutter') && g:badwolf_darkgutter
152+ let s:gutter = 'blackestgravel'
153+else
154+ let s:gutter = 'blackgravel'
155+endif
156+
157+if exists('g:badwolf_tabline')
158+ if g:badwolf_tabline == 0
159+ let s:tabline = 'blackestgravel'
160+ elseif g:badwolf_tabline == 1
161+ let s:tabline = 'blackgravel'
162+ elseif g:badwolf_tabline == 2
163+ let s:tabline = 'darkgravel'
164+ elseif g:badwolf_tabline == 3
165+ let s:tabline = 'deepgravel'
166+ else
167+ let s:tabline = 'blackestgravel'
168+ endif
169+else
170+ let s:tabline = 'blackgravel'
171+endif
172+
173+" }}}
174+
175+" Actual colorscheme ----------------------------------------------------------
176+" Vanilla Vim {{{
177+
178+" General/UI {{{
179+
180+call s:HL('Normal', 'plain', 'blackgravel')
181+
182+call s:HL('Folded', 'mediumgravel', 'bg', 'none')
183+
184+call s:HL('VertSplit', 'lightgravel', 'bg', 'none')
185+
186+call s:HL('CursorLine', '', 'darkgravel', 'none')
187+call s:HL('CursorColumn', '', 'darkgravel')
188+call s:HL('ColorColumn', '', 'darkgravel')
189+
190+call s:HL('TabLine', 'plain', s:tabline, 'none')
191+call s:HL('TabLineFill', 'plain', s:tabline, 'none')
192+call s:HL('TabLineSel', 'coal', 'tardis', 'none')
193+
194+call s:HL('MatchParen', 'dalespale', 'darkgravel', 'bold')
195+
196+call s:HL('NonText', 'deepgravel', 'bg')
197+call s:HL('SpecialKey', 'deepgravel', 'bg')
198+
199+call s:HL('Visual', '', 'deepgravel')
200+call s:HL('VisualNOS', '', 'deepgravel')
201+
202+call s:HL('Search', 'coal', 'dalespale', 'bold')
203+call s:HL('IncSearch', 'coal', 'tardis', 'bold')
204+
205+call s:HL('Underlined', 'fg', '', 'underline')
206+
207+call s:HL('StatusLine', 'coal', 'tardis', 'bold')
208+call s:HL('StatusLineNC', 'snow', 'deepgravel', 'bold')
209+
210+call s:HL('Directory', 'dirtyblonde', '', 'bold')
211+
212+call s:HL('Title', 'lime')
213+
214+call s:HL('ErrorMsg', 'taffy', 'bg', 'bold')
215+call s:HL('MoreMsg', 'dalespale', '', 'bold')
216+call s:HL('ModeMsg', 'dirtyblonde', '', 'bold')
217+call s:HL('Question', 'dirtyblonde', '', 'bold')
218+call s:HL('WarningMsg', 'dress', '', 'bold')
219+
220+" This is a ctags tag, not an HTML one. 'Something you can use c-] on'.
221+call s:HL('Tag', '', '', 'bold')
222+
223+" hi IndentGuides guibg=#373737
224+" hi WildMenu guifg=#66D9EF guibg=#000000
225+
226+" }}}
227+" Gutter {{{
228+
229+call s:HL('LineNr', 'mediumgravel', s:gutter)
230+call s:HL('SignColumn', '', s:gutter)
231+call s:HL('FoldColumn', 'mediumgravel', s:gutter)
232+
233+" }}}
234+" Cursor {{{
235+
236+call s:HL('Cursor', 'coal', 'tardis', 'bold')
237+call s:HL('vCursor', 'coal', 'tardis', 'bold')
238+call s:HL('iCursor', 'coal', 'tardis', 'none')
239+
240+" }}}
241+" Syntax highlighting {{{
242+
243+" Start with a simple base.
244+call s:HL('Special', 'plain')
245+
246+" Comments are slightly brighter than folds, to make 'headers' easier to see.
247+call s:HL('Comment', 'gravel')
248+call s:HL('Todo', 'snow', 'bg', 'bold')
249+call s:HL('SpecialComment', 'snow', 'bg', 'bold')
250+
251+" Strings are a nice, pale straw color. Nothing too fancy.
252+call s:HL('String', 'dirtyblonde')
253+
254+" Control flow stuff is taffy.
255+call s:HL('Statement', 'taffy', '', 'bold')
256+call s:HL('Keyword', 'taffy', '', 'bold')
257+call s:HL('Conditional', 'taffy', '', 'bold')
258+call s:HL('Operator', 'taffy', '', 'none')
259+call s:HL('Label', 'taffy', '', 'none')
260+call s:HL('Repeat', 'taffy', '', 'none')
261+
262+" Functions and variable declarations are orange, because plain looks weird.
263+call s:HL('Identifier', 'orange', '', 'none')
264+call s:HL('Function', 'orange', '', 'none')
265+
266+" Preprocessor stuff is lime, to make it pop.
267+"
268+" This includes imports in any given language, because they should usually be
269+" grouped together at the beginning of a file. If they're in the middle of some
270+" other code they should stand out, because something tricky is
271+" probably going on.
272+call s:HL('PreProc', 'lime', '', 'none')
273+call s:HL('Macro', 'lime', '', 'none')
274+call s:HL('Define', 'lime', '', 'none')
275+call s:HL('PreCondit', 'lime', '', 'bold')
276+
277+" Constants of all kinds are colored together.
278+" I'm not really happy with the color yet...
279+call s:HL('Constant', 'toffee', '', 'bold')
280+call s:HL('Character', 'toffee', '', 'bold')
281+call s:HL('Boolean', 'toffee', '', 'bold')
282+
283+call s:HL('Number', 'toffee', '', 'bold')
284+call s:HL('Float', 'toffee', '', 'bold')
285+
286+" Not sure what 'special character in a constant' means, but let's make it pop.
287+call s:HL('SpecialChar', 'dress', '', 'bold')
288+
289+call s:HL('Type', 'dress', '', 'none')
290+call s:HL('StorageClass', 'taffy', '', 'none')
291+call s:HL('Structure', 'taffy', '', 'none')
292+call s:HL('Typedef', 'taffy', '', 'bold')
293+
294+" Make try/catch blocks stand out.
295+call s:HL('Exception', 'lime', '', 'bold')
296+
297+" Misc
298+call s:HL('Error', 'snow', 'taffy', 'bold')
299+call s:HL('Debug', 'snow', '', 'bold')
300+call s:HL('Ignore', 'gravel', '', '')
301+
302+" }}}
303+" Completion Menu {{{
304+
305+call s:HL('Pmenu', 'plain', 'deepergravel')
306+call s:HL('PmenuSel', 'coal', 'tardis', 'bold')
307+call s:HL('PmenuSbar', '', 'deepergravel')
308+call s:HL('PmenuThumb', 'brightgravel')
309+
310+" }}}
311+" Diffs {{{
312+
313+call s:HL('DiffDelete', 'coal', 'coal')
314+call s:HL('DiffAdd', '', 'deepergravel')
315+call s:HL('DiffChange', '', 'darkgravel')
316+call s:HL('DiffText', 'snow', 'deepergravel', 'bold')
317+
318+" }}}
319+" Spelling {{{
320+
321+if has("spell")
322+ call s:HL('SpellCap', 'dalespale', 'bg', 'undercurl,bold', 'dalespale')
323+ call s:HL('SpellBad', '', 'bg', 'undercurl', 'dalespale')
324+ call s:HL('SpellLocal', '', '', 'undercurl', 'dalespale')
325+ call s:HL('SpellRare', '', '', 'undercurl', 'dalespale')
326+endif
327+
328+" }}}
329+
330+" }}}
331+" Plugins {{{
332+
333+" CtrlP {{{
334+
335+ " the message when no match is found
336+ call s:HL('CtrlPNoEntries', 'snow', 'taffy', 'bold')
337+
338+ " the matched pattern
339+ call s:HL('CtrlPMatch', 'orange', 'bg', 'none')
340+
341+ " the line prefix '>' in the match window
342+ call s:HL('CtrlPLinePre', 'deepgravel', 'bg', 'none')
343+
344+ " the prompt’s base
345+ call s:HL('CtrlPPrtBase', 'deepgravel', 'bg', 'none')
346+
347+ " the prompt’s text
348+ call s:HL('CtrlPPrtText', 'plain', 'bg', 'none')
349+
350+ " the prompt’s cursor when moving over the text
351+ call s:HL('CtrlPPrtCursor', 'coal', 'tardis', 'bold')
352+
353+ " 'prt' or 'win', also for 'regex'
354+ call s:HL('CtrlPMode1', 'coal', 'tardis', 'bold')
355+
356+ " 'file' or 'path', also for the local working dir
357+ call s:HL('CtrlPMode2', 'coal', 'tardis', 'bold')
358+
359+ " the scanning status
360+ call s:HL('CtrlPStats', 'coal', 'tardis', 'bold')
361+
362+ " TODO: CtrlP extensions.
363+ " CtrlPTabExtra : the part of each line that’s not matched against (Comment)
364+ " CtrlPqfLineCol : the line and column numbers in quickfix mode (|s:HL-Search|)
365+ " CtrlPUndoT : the elapsed time in undo mode (|s:HL-Directory|)
366+ " CtrlPUndoBr : the square brackets [] in undo mode (Comment)
367+ " CtrlPUndoNr : the undo number inside [] in undo mode (String)
368+
369+" }}}
370+" EasyMotion {{{
371+
372+call s:HL('EasyMotionTarget', 'tardis', 'bg', 'bold')
373+call s:HL('EasyMotionShade', 'deepgravel', 'bg')
374+
375+" }}}
376+" Interesting Words {{{
377+
378+" These are only used if you're me or have copied the <leader>hNUM mappings
379+" from my Vimrc.
380+call s:HL('InterestingWord1', 'coal', 'orange')
381+call s:HL('InterestingWord2', 'coal', 'lime')
382+call s:HL('InterestingWord3', 'coal', 'saltwatertaffy')
383+call s:HL('InterestingWord4', 'coal', 'toffee')
384+call s:HL('InterestingWord5', 'coal', 'dress')
385+call s:HL('InterestingWord6', 'coal', 'taffy')
386+
387+
388+" }}}
389+" Makegreen {{{
390+
391+" hi GreenBar term=reverse ctermfg=white ctermbg=green guifg=coal guibg=#9edf1c
392+" hi RedBar term=reverse ctermfg=white ctermbg=red guifg=white guibg=#C50048
393+
394+" }}}
395+" Rainbow Parentheses {{{
396+
397+call s:HL('level16c', 'mediumgravel', '', 'bold')
398+call s:HL('level15c', 'dalespale', '', '')
399+call s:HL('level14c', 'dress', '', '')
400+call s:HL('level13c', 'orange', '', '')
401+call s:HL('level12c', 'tardis', '', '')
402+call s:HL('level11c', 'lime', '', '')
403+call s:HL('level10c', 'toffee', '', '')
404+call s:HL('level9c', 'saltwatertaffy', '', '')
405+call s:HL('level8c', 'coffee', '', '')
406+call s:HL('level7c', 'dalespale', '', '')
407+call s:HL('level6c', 'dress', '', '')
408+call s:HL('level5c', 'orange', '', '')
409+call s:HL('level4c', 'tardis', '', '')
410+call s:HL('level3c', 'lime', '', '')
411+call s:HL('level2c', 'toffee', '', '')
412+call s:HL('level1c', 'saltwatertaffy', '', '')
413+
414+" }}}
415+" ShowMarks {{{
416+
417+call s:HL('ShowMarksHLl', 'tardis', 'blackgravel')
418+call s:HL('ShowMarksHLu', 'tardis', 'blackgravel')
419+call s:HL('ShowMarksHLo', 'tardis', 'blackgravel')
420+call s:HL('ShowMarksHLm', 'tardis', 'blackgravel')
421+
422+" }}}
423+
424+" }}}
425+" Filetype-specific {{{
426+
427+" Clojure {{{
428+
429+call s:HL('clojureSpecial', 'taffy', '', '')
430+call s:HL('clojureDefn', 'taffy', '', '')
431+call s:HL('clojureDefMacro', 'taffy', '', '')
432+call s:HL('clojureDefine', 'taffy', '', '')
433+call s:HL('clojureMacro', 'taffy', '', '')
434+call s:HL('clojureCond', 'taffy', '', '')
435+
436+call s:HL('clojureKeyword', 'orange', '', 'none')
437+
438+call s:HL('clojureFunc', 'dress', '', 'none')
439+call s:HL('clojureRepeat', 'dress', '', 'none')
440+
441+call s:HL('clojureParen0', 'lightgravel', '', 'none')
442+
443+call s:HL('clojureAnonArg', 'snow', '', 'bold')
444+
445+" }}}
446+" CSS {{{
447+
448+if g:badwolf_css_props_highlight
449+ call s:HL('cssColorProp', 'dirtyblonde', '', 'none')
450+ call s:HL('cssBoxProp', 'dirtyblonde', '', 'none')
451+ call s:HL('cssTextProp', 'dirtyblonde', '', 'none')
452+ call s:HL('cssRenderProp', 'dirtyblonde', '', 'none')
453+ call s:HL('cssGeneratedContentProp', 'dirtyblonde', '', 'none')
454+else
455+ call s:HL('cssColorProp', 'fg', '', 'none')
456+ call s:HL('cssBoxProp', 'fg', '', 'none')
457+ call s:HL('cssTextProp', 'fg', '', 'none')
458+ call s:HL('cssRenderProp', 'fg', '', 'none')
459+ call s:HL('cssGeneratedContentProp', 'fg', '', 'none')
460+end
461+
462+call s:HL('cssValueLength', 'toffee', '', 'bold')
463+call s:HL('cssColor', 'toffee', '', 'bold')
464+call s:HL('cssBraces', 'lightgravel', '', 'none')
465+call s:HL('cssIdentifier', 'orange', '', 'bold')
466+call s:HL('cssClassName', 'orange', '', 'none')
467+
468+" }}}
469+" Diff {{{
470+
471+call s:HL('gitDiff', 'lightgravel', '',)
472+
473+call s:HL('diffRemoved', 'dress', '',)
474+call s:HL('diffAdded', 'lime', '',)
475+call s:HL('diffFile', 'coal', 'taffy', 'bold')
476+call s:HL('diffNewFile', 'coal', 'taffy', 'bold')
477+
478+call s:HL('diffLine', 'coal', 'orange', 'bold')
479+call s:HL('diffSubname', 'orange', '', 'none')
480+
481+" }}}
482+" Django Templates {{{
483+
484+call s:HL('djangoArgument', 'dirtyblonde', '',)
485+call s:HL('djangoTagBlock', 'orange', '')
486+call s:HL('djangoVarBlock', 'orange', '')
487+" hi djangoStatement guifg=#ff3853 gui=bold
488+" hi djangoVarBlock guifg=#f4cf86
489+
490+" }}}
491+" HTML {{{
492+
493+" Punctuation
494+call s:HL('htmlTag', 'darkroast', 'bg', 'none')
495+call s:HL('htmlEndTag', 'darkroast', 'bg', 'none')
496+
497+" Tag names
498+call s:HL('htmlTagName', 'coffee', '', 'bold')
499+call s:HL('htmlSpecialTagName', 'coffee', '', 'bold')
500+call s:HL('htmlSpecialChar', 'lime', '', 'none')
501+
502+" Attributes
503+call s:HL('htmlArg', 'coffee', '', 'none')
504+
505+" Stuff inside an <a> tag
506+
507+if g:badwolf_html_link_underline
508+ call s:HL('htmlLink', 'lightgravel', '', 'underline')
509+else
510+ call s:HL('htmlLink', 'lightgravel', '', 'none')
511+endif
512+
513+" }}}
514+" Java {{{
515+
516+call s:HL('javaClassDecl', 'taffy', '', 'bold')
517+call s:HL('javaScopeDecl', 'taffy', '', 'bold')
518+call s:HL('javaCommentTitle', 'gravel', '')
519+call s:HL('javaDocTags', 'snow', '', 'none')
520+call s:HL('javaDocParam', 'dalespale', '', '')
521+
522+" }}}
523+" LaTeX {{{
524+
525+call s:HL('texStatement', 'tardis', '', 'none')
526+call s:HL('texMathZoneX', 'orange', '', 'none')
527+call s:HL('texMathZoneA', 'orange', '', 'none')
528+call s:HL('texMathZoneB', 'orange', '', 'none')
529+call s:HL('texMathZoneC', 'orange', '', 'none')
530+call s:HL('texMathZoneD', 'orange', '', 'none')
531+call s:HL('texMathZoneE', 'orange', '', 'none')
532+call s:HL('texMathZoneV', 'orange', '', 'none')
533+call s:HL('texMathZoneX', 'orange', '', 'none')
534+call s:HL('texMath', 'orange', '', 'none')
535+call s:HL('texMathMatcher', 'orange', '', 'none')
536+call s:HL('texRefLabel', 'dirtyblonde', '', 'none')
537+call s:HL('texRefZone', 'lime', '', 'none')
538+call s:HL('texComment', 'darkroast', '', 'none')
539+call s:HL('texDelimiter', 'orange', '', 'none')
540+call s:HL('texZone', 'brightgravel', '', 'none')
541+
542+augroup badwolf_tex
543+ au!
544+
545+ au BufRead,BufNewFile *.tex syn region texMathZoneV start="\\(" end="\\)\|%stopzone\>" keepend contains=@texMathZoneGroup
546+ au BufRead,BufNewFile *.tex syn region texMathZoneX start="\$" skip="\\\\\|\\\$" end="\$\|%stopzone\>" keepend contains=@texMathZoneGroup
547+augroup END
548+
549+" }}}
550+" LessCSS {{{
551+
552+call s:HL('lessVariable', 'lime', '', 'none')
553+
554+" }}}
555+" Lispyscript {{{
556+
557+call s:HL('lispyscriptDefMacro', 'lime', '', '')
558+call s:HL('lispyscriptRepeat', 'dress', '', 'none')
559+
560+" }}}
561+" Mail {{{
562+
563+call s:HL('mailSubject', 'orange', '', 'bold')
564+call s:HL('mailHeader', 'lightgravel', '', '')
565+call s:HL('mailHeaderKey', 'lightgravel', '', '')
566+call s:HL('mailHeaderEmail', 'snow', '', '')
567+call s:HL('mailURL', 'toffee', '', 'underline')
568+call s:HL('mailSignature', 'gravel', '', 'none')
569+
570+call s:HL('mailQuoted1', 'gravel', '', 'none')
571+call s:HL('mailQuoted2', 'dress', '', 'none')
572+call s:HL('mailQuoted3', 'dirtyblonde', '', 'none')
573+call s:HL('mailQuoted4', 'orange', '', 'none')
574+call s:HL('mailQuoted5', 'lime', '', 'none')
575+
576+" }}}
577+" Markdown {{{
578+
579+call s:HL('markdownHeadingRule', 'lightgravel', '', 'bold')
580+call s:HL('markdownHeadingDelimiter', 'lightgravel', '', 'bold')
581+call s:HL('markdownOrderedListMarker', 'lightgravel', '', 'bold')
582+call s:HL('markdownListMarker', 'lightgravel', '', 'bold')
583+call s:HL('markdownItalic', 'snow', '', 'bold')
584+call s:HL('markdownBold', 'snow', '', 'bold')
585+call s:HL('markdownH1', 'orange', '', 'bold')
586+call s:HL('markdownH2', 'lime', '', 'bold')
587+call s:HL('markdownH3', 'lime', '', 'none')
588+call s:HL('markdownH4', 'lime', '', 'none')
589+call s:HL('markdownH5', 'lime', '', 'none')
590+call s:HL('markdownH6', 'lime', '', 'none')
591+call s:HL('markdownLinkText', 'toffee', '', 'underline')
592+call s:HL('markdownIdDeclaration', 'toffee')
593+call s:HL('markdownAutomaticLink', 'toffee', '', 'bold')
594+call s:HL('markdownUrl', 'toffee', '', 'bold')
595+call s:HL('markdownUrldelimiter', 'lightgravel', '', 'bold')
596+call s:HL('markdownLinkDelimiter', 'lightgravel', '', 'bold')
597+call s:HL('markdownLinkTextDelimiter', 'lightgravel', '', 'bold')
598+call s:HL('markdownCodeDelimiter', 'dirtyblonde', '', 'bold')
599+call s:HL('markdownCode', 'dirtyblonde', '', 'none')
600+call s:HL('markdownCodeBlock', 'dirtyblonde', '', 'none')
601+
602+" }}}
603+" MySQL {{{
604+
605+call s:HL('mysqlSpecial', 'dress', '', 'bold')
606+
607+" }}}
608+" Python {{{
609+
610+hi def link pythonOperator Operator
611+call s:HL('pythonBuiltin', 'dress')
612+call s:HL('pythonBuiltinObj', 'dress')
613+call s:HL('pythonBuiltinFunc', 'dress')
614+call s:HL('pythonEscape', 'dress')
615+call s:HL('pythonException', 'lime', '', 'bold')
616+call s:HL('pythonExceptions', 'lime', '', 'none')
617+call s:HL('pythonPrecondit', 'lime', '', 'none')
618+call s:HL('pythonDecorator', 'taffy', '', 'none')
619+call s:HL('pythonRun', 'gravel', '', 'bold')
620+call s:HL('pythonCoding', 'gravel', '', 'bold')
621+
622+" }}}
623+" SLIMV {{{
624+
625+" Rainbow parentheses
626+call s:HL('hlLevel0', 'gravel')
627+call s:HL('hlLevel1', 'orange')
628+call s:HL('hlLevel2', 'saltwatertaffy')
629+call s:HL('hlLevel3', 'dress')
630+call s:HL('hlLevel4', 'coffee')
631+call s:HL('hlLevel5', 'dirtyblonde')
632+call s:HL('hlLevel6', 'orange')
633+call s:HL('hlLevel7', 'saltwatertaffy')
634+call s:HL('hlLevel8', 'dress')
635+call s:HL('hlLevel9', 'coffee')
636+
637+" }}}
638+" Vim {{{
639+
640+call s:HL('VimCommentTitle', 'lightgravel', '', 'bold')
641+
642+call s:HL('VimMapMod', 'dress', '', 'none')
643+call s:HL('VimMapModKey', 'dress', '', 'none')
644+call s:HL('VimNotation', 'dress', '', 'none')
645+call s:HL('VimBracket', 'dress', '', 'none')
646+
647+" }}}
648+
649+" }}}
650+
colors/hybrid.vim+430−0
@@ -0,0 +1,430 @@
1+" File: hybrid.vim
2+" Maintainer: Andrew Wong (w0ng)
3+" URL: https://github.com/w0ng/vim-hybrid
4+" Modified: 27 Jan 2013 07:33 AM AEST
5+" License: MIT
6+
7+" Description:"{{{
8+" ----------------------------------------------------------------------------
9+" The RGB colour palette is taken from Tomorrow-Night.vim:
10+" https://github.com/chriskempson/vim-tomorrow-theme
11+"
12+" The syntax highlighting scheme is taken from jellybeans.vim:
13+" https://github.com/nanotech/jellybeans.vim
14+"
15+" The is code taken from solarized.vim:
16+" https://github.com/altercation/vim-colors-solarized
17+
18+"}}}
19+" Requirements And Recommendations:"{{{
20+" ----------------------------------------------------------------------------
21+" This colourscheme is intended for use on:
22+" - gVim 7.3 for Linux, Mac and Windows
23+" - Vim 7.3 for Linux, using a 256 colour enabled terminal
24+"
25+" By default, Vim will use the closest matching cterm equivalent of the RGB
26+" colours.
27+"
28+" However, Due to the limited 256 palette, colours in Vim and gVim will still
29+" be noticeably different. In order to get a uniform appearance and the way
30+" that this colourscheme was intended, it is HIGHLY recommended that you:
31+"
32+" 1. Add these colours to ~/.Xresources:
33+"
34+" https://gist.github.com/3278077
35+"
36+" 2. Use Xresources colours by setting in ~/.vimrc:
37+"
38+" let g:hybrid_use_Xresources = 1
39+" colorscheme hybrid
40+"
41+" For iTerm2 users:
42+"
43+" 1. Install this color preset on your iTerm2:
44+"
45+" https://github.com/w0ng/dotfiles/blob/master/iterm2/hybrid.itermcolors
46+"
47+" 2. Use iTerm colours by setting in ~/.vimrc:
48+"
49+" let g:hybrid_use_Xresources = 1
50+" colorscheme hybrid
51+"
52+
53+"}}}
54+" Initialisation:"{{{
55+" ----------------------------------------------------------------------------
56+
57+if !exists("g:hybrid_use_Xresources")
58+ let g:hybrid_use_Xresources = 0
59+endif
60+
61+hi clear
62+
63+if exists("syntax_on")
64+ syntax reset
65+endif
66+
67+let s:style = &background
68+
69+let g:colors_name = "hybrid"
70+
71+"}}}
72+" GUI And Cterm Palettes:"{{{
73+" ----------------------------------------------------------------------------
74+
75+let s:palette = {'gui' : {} , 'cterm' : {}}
76+
77+let s:palette.gui.background = { 'dark' : "#1d1f21", 'light' : "#e4e4e4" }
78+let s:palette.gui.foreground = { 'dark' : "#c5c8c6", 'light' : "#000000" }
79+let s:palette.gui.selection = { 'dark' : "#373b41", 'light' : "#bcbcbc" }
80+let s:palette.gui.line = { 'dark' : "#282a2e", 'light' : "#d0d0d0" }
81+let s:palette.gui.comment = { 'dark' : "#707880", 'light' : "#5f5f5f" }
82+let s:palette.gui.red = { 'dark' : "#cc6666", 'light' : "#5f0000" }
83+let s:palette.gui.orange = { 'dark' : "#de935f", 'light' : "#875f00" }
84+let s:palette.gui.yellow = { 'dark' : "#f0c674", 'light' : "#5f5f00" }
85+let s:palette.gui.green = { 'dark' : "#b5bd68", 'light' : "#005f00" }
86+let s:palette.gui.aqua = { 'dark' : "#8abeb7", 'light' : "#005f5f" }
87+let s:palette.gui.blue = { 'dark' : "#81a2be", 'light' : "#00005f" }
88+let s:palette.gui.purple = { 'dark' : "#b294bb", 'light' : "#5f005f" }
89+let s:palette.gui.window = { 'dark' : "#303030", 'light' : "#9e9e9e" }
90+let s:palette.gui.darkcolumn = { 'dark' : "#1c1c1c", 'light' : "#808080" }
91+let s:palette.gui.addbg = { 'dark' : "#5F875F", 'light' : "#d7ffd7" }
92+let s:palette.gui.addfg = { 'dark' : "#d7ffaf", 'light' : "#005f00" }
93+let s:palette.gui.changebg = { 'dark' : "#5F5F87", 'light' : "#d7d7ff" }
94+let s:palette.gui.changefg = { 'dark' : "#d7d7ff", 'light' : "#5f005f" }
95+let s:palette.gui.delbg = { 'dark' : "#cc6666", 'light' : "#ffd7d7" }
96+let s:palette.gui.darkblue = { 'dark' : "#00005f", 'light' : "#d7ffd7" }
97+let s:palette.gui.darkcyan = { 'dark' : "#005f5f", 'light' : "#005f00" }
98+let s:palette.gui.darkred = { 'dark' : "#5f0000", 'light' : "#d7d7ff" }
99+let s:palette.gui.darkpurple = { 'dark' : "#5f005f", 'light' : "#5f005f" }
100+
101+let s:palette.cterm.background = { 'dark' : "234", 'light' : "254" }
102+let s:palette.cterm.window = { 'dark' : "236", 'light' : "247" }
103+let s:palette.cterm.darkcolumn = { 'dark' : "234", 'light' : "244" }
104+let s:palette.cterm.addbg = { 'dark' : "65" , 'light' : "194" }
105+let s:palette.cterm.addfg = { 'dark' : "193", 'light' : "22" }
106+let s:palette.cterm.changebg = { 'dark' : "60" , 'light' : "189" }
107+let s:palette.cterm.changefg = { 'dark' : "189", 'light' : "53" }
108+let s:palette.cterm.darkblue = { 'dark' : "17", 'light' : "194" }
109+let s:palette.cterm.darkcyan = { 'dark' : "24", 'light' : "22" }
110+let s:palette.cterm.darkred = { 'dark' : "52", 'light' : "189" }
111+let s:palette.cterm.darkpurple = { 'dark' : "53", 'light' : "53" }
112+
113+if g:hybrid_use_Xresources == 1
114+ let s:palette.cterm.foreground = { 'dark' : "15" } " White
115+ let s:palette.cterm.selection = { 'dark' : "8" } " DarkGrey
116+ let s:palette.cterm.line = { 'dark' : "0" } " Black
117+ let s:palette.cterm.comment = { 'dark' : "7" } " LightGrey
118+ let s:palette.cterm.red = { 'dark' : "9" } " LightRed
119+ let s:palette.cterm.orange = { 'dark' : "3" } " DarkYellow
120+ let s:palette.cterm.yellow = { 'dark' : "11" } " LightYellow
121+ let s:palette.cterm.green = { 'dark' : "10" } " LightGreen
122+ let s:palette.cterm.aqua = { 'dark' : "14" } " LightCyan
123+ let s:palette.cterm.blue = { 'dark' : "12" } " LightBlue
124+ let s:palette.cterm.purple = { 'dark' : "13" } " LightMagenta
125+ let s:palette.cterm.delbg = { 'dark' : "9" } " LightRed
126+else
127+ let s:palette.cterm.foreground = { 'dark' : "250" }
128+ let s:palette.cterm.selection = { 'dark' : "237" }
129+ let s:palette.cterm.line = { 'dark' : "235" }
130+ let s:palette.cterm.comment = { 'dark' : "243" }
131+ let s:palette.cterm.red = { 'dark' : "167" }
132+ let s:palette.cterm.orange = { 'dark' : "173" }
133+ let s:palette.cterm.yellow = { 'dark' : "221" }
134+ let s:palette.cterm.green = { 'dark' : "143" }
135+ let s:palette.cterm.aqua = { 'dark' : "109" }
136+ let s:palette.cterm.blue = { 'dark' : "110" }
137+ let s:palette.cterm.purple = { 'dark' : "139" }
138+ let s:palette.cterm.delbg = { 'dark' : "167" }
139+endif
140+
141+let s:palette.cterm.foreground.light = "16"
142+let s:palette.cterm.selection.light = "250"
143+let s:palette.cterm.line.light = "252"
144+let s:palette.cterm.comment.light = "59"
145+let s:palette.cterm.red.light = "52"
146+let s:palette.cterm.orange.light = "94"
147+let s:palette.cterm.yellow.light = "58"
148+let s:palette.cterm.green.light = "22"
149+let s:palette.cterm.aqua.light = "23"
150+let s:palette.cterm.blue.light = "17"
151+let s:palette.cterm.purple.light = "53"
152+let s:palette.cterm.delbg.light = "224"
153+
154+"}}}
155+" Formatting Options:"{{{
156+" ----------------------------------------------------------------------------
157+let s:none = "NONE"
158+let s:t_none = "NONE"
159+let s:n = "NONE"
160+let s:c = ",undercurl"
161+let s:r = ",reverse"
162+let s:s = ",standout"
163+let s:b = ",bold"
164+let s:u = ",underline"
165+let s:i = ",italic"
166+
167+"}}}
168+" Highlighting Primitives:"{{{
169+" ----------------------------------------------------------------------------
170+function! s:build_prim(hi_elem, field)
171+ " Given a:hi_elem = bg, a:field = comment
172+ let l:vname = "s:" . a:hi_elem . "_" . a:field " s:bg_comment
173+ let l:gui_assign = "gui".a:hi_elem."=".s:palette.gui[a:field][s:style] " guibg=...
174+ let l:cterm_assign = "cterm".a:hi_elem."=".s:palette.cterm[a:field][s:style] " ctermbg=...
175+ exe "let " . l:vname . " = ' " . l:gui_assign . " " . l:cterm_assign . "'"
176+endfunction
177+
178+let s:bg_none = ' guibg=NONE ctermbg=NONE'
179+call s:build_prim('bg', 'foreground')
180+call s:build_prim('bg', 'background')
181+call s:build_prim('bg', 'selection')
182+call s:build_prim('bg', 'line')
183+call s:build_prim('bg', 'comment')
184+call s:build_prim('bg', 'red')
185+call s:build_prim('bg', 'orange')
186+call s:build_prim('bg', 'yellow')
187+call s:build_prim('bg', 'green')
188+call s:build_prim('bg', 'aqua')
189+call s:build_prim('bg', 'blue')
190+call s:build_prim('bg', 'purple')
191+call s:build_prim('bg', 'window')
192+call s:build_prim('bg', 'darkcolumn')
193+call s:build_prim('bg', 'addbg')
194+call s:build_prim('bg', 'addfg')
195+call s:build_prim('bg', 'changebg')
196+call s:build_prim('bg', 'changefg')
197+call s:build_prim('bg', 'delbg')
198+call s:build_prim('bg', 'darkblue')
199+call s:build_prim('bg', 'darkcyan')
200+call s:build_prim('bg', 'darkred')
201+call s:build_prim('bg', 'darkpurple')
202+
203+let s:fg_none = ' guifg=NONE ctermfg=NONE'
204+call s:build_prim('fg', 'foreground')
205+call s:build_prim('fg', 'background')
206+call s:build_prim('fg', 'selection')
207+call s:build_prim('fg', 'line')
208+call s:build_prim('fg', 'comment')
209+call s:build_prim('fg', 'red')
210+call s:build_prim('fg', 'orange')
211+call s:build_prim('fg', 'yellow')
212+call s:build_prim('fg', 'green')
213+call s:build_prim('fg', 'aqua')
214+call s:build_prim('fg', 'blue')
215+call s:build_prim('fg', 'purple')
216+call s:build_prim('fg', 'window')
217+call s:build_prim('fg', 'darkcolumn')
218+call s:build_prim('fg', 'addbg')
219+call s:build_prim('fg', 'addfg')
220+call s:build_prim('fg', 'changebg')
221+call s:build_prim('fg', 'changefg')
222+call s:build_prim('fg', 'darkblue')
223+call s:build_prim('fg', 'darkcyan')
224+call s:build_prim('fg', 'darkred')
225+call s:build_prim('fg', 'darkpurple')
226+
227+exe "let s:fmt_none = ' gui=NONE". " cterm=NONE". " term=NONE" ."'"
228+exe "let s:fmt_bold = ' gui=NONE".s:b. " cterm=NONE".s:b. " term=NONE".s:b ."'"
229+exe "let s:fmt_bldi = ' gui=NONE".s:b. " cterm=NONE".s:b. " term=NONE".s:b ."'"
230+exe "let s:fmt_undr = ' gui=NONE".s:u. " cterm=NONE".s:u. " term=NONE".s:u ."'"
231+exe "let s:fmt_undb = ' gui=NONE".s:u.s:b. " cterm=NONE".s:u.s:b. " term=NONE".s:u.s:b."'"
232+exe "let s:fmt_undi = ' gui=NONE".s:u. " cterm=NONE".s:u. " term=NONE".s:u ."'"
233+exe "let s:fmt_curl = ' gui=NONE".s:c. " cterm=NONE".s:c. " term=NONE".s:c ."'"
234+exe "let s:fmt_ital = ' gui=NONE".s:i. " cterm=NONE".s:i. " term=NONE".s:i ."'"
235+exe "let s:fmt_stnd = ' gui=NONE".s:s. " cterm=NONE".s:s. " term=NONE".s:s ."'"
236+exe "let s:fmt_revr = ' gui=NONE".s:r. " cterm=NONE".s:r. " term=NONE".s:r ."'"
237+exe "let s:fmt_revb = ' gui=NONE".s:r.s:b. " cterm=NONE".s:r.s:b. " term=NONE".s:r.s:b."'"
238+
239+exe "let s:sp_none = ' guisp=".s:none ."'"
240+exe "let s:sp_foreground = ' guisp=". s:palette.gui.foreground[s:style] ."'"
241+exe "let s:sp_background = ' guisp=". s:palette.gui.background[s:style] ."'"
242+exe "let s:sp_selection = ' guisp=". s:palette.gui.selection[s:style] ."'"
243+exe "let s:sp_line = ' guisp=". s:palette.gui.line[s:style] ."'"
244+exe "let s:sp_comment = ' guisp=". s:palette.gui.comment[s:style] ."'"
245+exe "let s:sp_red = ' guisp=". s:palette.gui.red[s:style] ."'"
246+exe "let s:sp_orange = ' guisp=". s:palette.gui.orange[s:style] ."'"
247+exe "let s:sp_yellow = ' guisp=". s:palette.gui.yellow[s:style] ."'"
248+exe "let s:sp_green = ' guisp=". s:palette.gui.green[s:style] ."'"
249+exe "let s:sp_aqua = ' guisp=". s:palette.gui.aqua[s:style] ."'"
250+exe "let s:sp_blue = ' guisp=". s:palette.gui.blue[s:style] ."'"
251+exe "let s:sp_purple = ' guisp=". s:palette.gui.purple[s:style] ."'"
252+exe "let s:sp_window = ' guisp=". s:palette.gui.window[s:style] ."'"
253+exe "let s:sp_addbg = ' guisp=". s:palette.gui.addbg[s:style] ."'"
254+exe "let s:sp_addfg = ' guisp=". s:palette.gui.addfg[s:style] ."'"
255+exe "let s:sp_changebg = ' guisp=". s:palette.gui.changebg[s:style] ."'"
256+exe "let s:sp_changefg = ' guisp=". s:palette.gui.changefg[s:style] ."'"
257+exe "let s:sp_darkblue = ' guisp=". s:palette.gui.darkblue[s:style] ."'"
258+exe "let s:sp_darkcyan = ' guisp=". s:palette.gui.darkcyan[s:style] ."'"
259+exe "let s:sp_darkred = ' guisp=". s:palette.gui.darkred[s:style] ."'"
260+exe "let s:sp_darkpurple = ' guisp=". s:palette.gui.darkpurple[s:style] ."'"
261+
262+"}}}
263+" Vim Highlighting: (see :help highlight-groups)"{{{
264+" ----------------------------------------------------------------------------
265+exe "hi! ColorColumn" .s:fg_none .s:bg_line .s:fmt_none
266+" Conceal"
267+" Cursor"
268+" CursorIM"
269+exe "hi! CursorColumn" .s:fg_none .s:bg_line .s:fmt_none
270+exe "hi! CursorLine" .s:fg_none .s:bg_line .s:fmt_none
271+exe "hi! Directory" .s:fg_blue .s:bg_none .s:fmt_none
272+exe "hi! DiffAdd" .s:fg_addfg .s:bg_addbg .s:fmt_none
273+exe "hi! DiffChange" .s:fg_changefg .s:bg_changebg .s:fmt_none
274+exe "hi! DiffDelete" .s:fg_background .s:bg_delbg .s:fmt_none
275+exe "hi! DiffText" .s:fg_background .s:bg_blue .s:fmt_none
276+exe "hi! ErrorMsg" .s:fg_background .s:bg_red .s:fmt_stnd
277+exe "hi! VertSplit" .s:fg_window .s:bg_none .s:fmt_none
278+exe "hi! Folded" .s:fg_comment .s:bg_darkcolumn .s:fmt_none
279+exe "hi! FoldColumn" .s:fg_none .s:bg_darkcolumn .s:fmt_none
280+exe "hi! SignColumn" .s:fg_none .s:bg_darkcolumn .s:fmt_none
281+" Incsearch"
282+exe "hi! LineNr" .s:fg_selection .s:bg_none .s:fmt_none
283+exe "hi! CursorLineNr" .s:fg_yellow .s:bg_none .s:fmt_none
284+exe "hi! MatchParen" .s:fg_background .s:bg_changebg .s:fmt_none
285+exe "hi! ModeMsg" .s:fg_green .s:bg_none .s:fmt_none
286+exe "hi! MoreMsg" .s:fg_green .s:bg_none .s:fmt_none
287+exe "hi! NonText" .s:fg_selection .s:bg_none .s:fmt_none
288+exe "hi! Pmenu" .s:fg_foreground .s:bg_selection .s:fmt_none
289+exe "hi! PmenuSel" .s:fg_foreground .s:bg_selection .s:fmt_revr
290+" PmenuSbar"
291+" PmenuThumb"
292+exe "hi! Question" .s:fg_green .s:bg_none .s:fmt_none
293+exe "hi! Search" .s:fg_background .s:bg_yellow .s:fmt_none
294+exe "hi! SpecialKey" .s:fg_selection .s:bg_none .s:fmt_none
295+exe "hi! SpellCap" .s:fg_blue .s:bg_darkblue .s:fmt_undr
296+exe "hi! SpellLocal" .s:fg_aqua .s:bg_darkcyan .s:fmt_undr
297+exe "hi! SpellBad" .s:fg_red .s:bg_darkred .s:fmt_undr
298+exe "hi! SpellRare" .s:fg_purple .s:bg_darkpurple .s:fmt_undr
299+exe "hi! StatusLine" .s:fg_comment .s:bg_background .s:fmt_revr
300+exe "hi! StatusLineNC" .s:fg_window .s:bg_comment .s:fmt_revr
301+exe "hi! TabLine" .s:fg_foreground .s:bg_darkcolumn .s:fmt_revr
302+" TabLineFill"
303+" TabLineSel"
304+exe "hi! Title" .s:fg_yellow .s:bg_none .s:fmt_none
305+exe "hi! Visual" .s:fg_none .s:bg_selection .s:fmt_none
306+" VisualNos"
307+exe "hi! WarningMsg" .s:fg_red .s:bg_none .s:fmt_none
308+hi LongLineWarning guifg=NONE guibg=#371F1C gui=underline ctermfg=NONE ctermbg=NONE cterm=underline
309+" WildMenu"
310+
311+" Use Xresources for background colour
312+if has('gui_running') || g:hybrid_use_Xresources != 1
313+ exe "hi! Normal" .s:fg_foreground .s:bg_background .s:fmt_none
314+else
315+ exe "hi! Normal" .s:fg_foreground .s:bg_none .s:fmt_none
316+endif
317+
318+"}}}
319+" Generic Syntax Highlighting: (see :help group-name)"{{{
320+" ----------------------------------------------------------------------------
321+exe "hi! Comment" .s:fg_comment .s:bg_none .s:fmt_none
322+
323+exe "hi! Constant" .s:fg_red .s:bg_none .s:fmt_none
324+exe "hi! String" .s:fg_green .s:bg_none .s:fmt_none
325+" Character"
326+" Number"
327+" Boolean"
328+" Float"
329+
330+exe "hi! Identifier" .s:fg_purple .s:bg_none .s:fmt_none
331+exe "hi! Function" .s:fg_yellow .s:bg_none .s:fmt_none
332+
333+exe "hi! Statement" .s:fg_blue .s:bg_none .s:fmt_none
334+" Conditional"
335+" Repeat"
336+" Label"
337+exe "hi! Operator" .s:fg_aqua .s:bg_none .s:fmt_none
338+" Keyword"
339+" Exception"
340+
341+exe "hi! PreProc" .s:fg_aqua .s:bg_none .s:fmt_none
342+" Include"
343+" Define"
344+" Macro"
345+" PreCondit"
346+
347+exe "hi! Type" .s:fg_orange .s:bg_none .s:fmt_none
348+" StorageClass"
Cut short: this commit's diff is over 1000 lines.
colors/jellybeans.vim+569−0
Cut short: this commit's diff is over 1000 lines.