badwolf.vim 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
  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. " Supporting code -------------------------------------------------------------
  31. " Preamble {{{
  32. if !has("gui_running") && &t_Co != 88 && &t_Co != 256
  33. finish
  34. endif
  35. set background=dark
  36. if exists("syntax_on")
  37. syntax reset
  38. endif
  39. let colors_name = "badwolf"
  40. if !exists("g:badwolf_html_link_underline") " {{{
  41. let g:badwolf_html_link_underline = 1
  42. endif " }}}
  43. if !exists("g:badwolf_css_props_highlight") " {{{
  44. let g:badwolf_css_props_highlight = 0
  45. endif " }}}
  46. " }}}
  47. " Palette {{{
  48. let s:bwc = {}
  49. " The most basic of all our colors is a slightly tweaked version of the Molokai
  50. " Normal text.
  51. let s:bwc.plain = ['f8f6f2', 15]
  52. " Pure and simple.
  53. let s:bwc.snow = ['ffffff', 15]
  54. let s:bwc.coal = ['000000', 16]
  55. " All of the Gravel colors are based on a brown from Clouds Midnight.
  56. let s:bwc.brightgravel = ['d9cec3', 252]
  57. let s:bwc.lightgravel = ['998f84', 245]
  58. let s:bwc.gravel = ['857f78', 243]
  59. let s:bwc.mediumgravel = ['666462', 241]
  60. let s:bwc.deepgravel = ['45413b', 238]
  61. let s:bwc.deepergravel = ['35322d', 236]
  62. let s:bwc.darkgravel = ['242321', 235]
  63. let s:bwc.blackgravel = ['1c1b1a', 233]
  64. let s:bwc.blackestgravel = ['141413', 232]
  65. " A color sampled from a highlight in a photo of a glass of Dale's Pale Ale on
  66. " my desk.
  67. let s:bwc.dalespale = ['fade3e', 221]
  68. " A beautiful tan from Tomorrow Night.
  69. let s:bwc.dirtyblonde = ['f4cf86', 222]
  70. " Delicious, chewy red from Made of Code for the poppiest highlights.
  71. let s:bwc.taffy = ['ff2c4b', 196]
  72. " Another chewy accent, but use sparingly!
  73. let s:bwc.saltwatertaffy = ['8cffba', 121]
  74. " The star of the show comes straight from Made of Code.
  75. let s:bwc.tardis = ['0a9dff', 39]
  76. " This one's from Mustang, not Florida!
  77. let s:bwc.orange = ['ffa724', 214]
  78. " A limier green from Getafe.
  79. let s:bwc.lime = ['aeee00', 154]
  80. " Rose's dress in The Idiot's Lantern.
  81. let s:bwc.dress = ['ff9eb8', 211]
  82. " Another play on the brown from Clouds Midnight. I love that color.
  83. let s:bwc.toffee = ['b88853', 137]
  84. " Also based on that Clouds Midnight brown.
  85. let s:bwc.coffee = ['c7915b', 173]
  86. let s:bwc.darkroast = ['88633f', 95]
  87. " }}}
  88. " Highlighting Function {{{
  89. function! s:HL(group, fg, ...)
  90. " Arguments: group, guifg, guibg, gui, guisp
  91. let histring = 'hi ' . a:group . ' '
  92. if strlen(a:fg)
  93. if a:fg == 'fg'
  94. let histring .= 'guifg=fg ctermfg=fg '
  95. else
  96. let c = get(s:bwc, a:fg)
  97. let histring .= 'guifg=#' . c[0] . ' ctermfg=' . c[1] . ' '
  98. endif
  99. endif
  100. if a:0 >= 1 && strlen(a:1)
  101. if a:1 == 'bg'
  102. let histring .= 'guibg=bg ctermbg=bg '
  103. else
  104. let c = get(s:bwc, a:1)
  105. let histring .= 'guibg=#' . c[0] . ' ctermbg=' . c[1] . ' '
  106. endif
  107. endif
  108. if a:0 >= 2 && strlen(a:2)
  109. let histring .= 'gui=' . a:2 . ' cterm=' . a:2 . ' '
  110. endif
  111. if a:0 >= 3 && strlen(a:3)
  112. let c = get(s:bwc, a:3)
  113. let histring .= 'guisp=#' . c[0] . ' '
  114. endif
  115. " echom histring
  116. execute histring
  117. endfunction
  118. " }}}
  119. " Configuration Options {{{
  120. if exists('g:badwolf_darkgutter') && g:badwolf_darkgutter
  121. let s:gutter = 'blackestgravel'
  122. else
  123. let s:gutter = 'blackgravel'
  124. endif
  125. if exists('g:badwolf_tabline')
  126. if g:badwolf_tabline == 0
  127. let s:tabline = 'blackestgravel'
  128. elseif g:badwolf_tabline == 1
  129. let s:tabline = 'blackgravel'
  130. elseif g:badwolf_tabline == 2
  131. let s:tabline = 'darkgravel'
  132. elseif g:badwolf_tabline == 3
  133. let s:tabline = 'deepgravel'
  134. else
  135. let s:tabline = 'blackestgravel'
  136. endif
  137. else
  138. let s:tabline = 'blackgravel'
  139. endif
  140. " }}}
  141. " Actual colorscheme ----------------------------------------------------------
  142. " Vanilla Vim {{{
  143. " General/UI {{{
  144. call s:HL('Normal', 'plain', 'blackgravel')
  145. call s:HL('Folded', 'mediumgravel', 'bg', 'none')
  146. call s:HL('VertSplit', 'lightgravel', 'bg', 'none')
  147. call s:HL('CursorLine', '', 'darkgravel', 'none')
  148. call s:HL('CursorColumn', '', 'darkgravel')
  149. call s:HL('ColorColumn', '', 'darkgravel')
  150. call s:HL('TabLine', 'plain', s:tabline, 'none')
  151. call s:HL('TabLineFill', 'plain', s:tabline, 'none')
  152. call s:HL('TabLineSel', 'coal', 'tardis', 'none')
  153. call s:HL('MatchParen', 'dalespale', 'darkgravel', 'bold')
  154. call s:HL('NonText', 'deepgravel', 'bg')
  155. call s:HL('SpecialKey', 'deepgravel', 'bg')
  156. call s:HL('Visual', '', 'deepgravel')
  157. call s:HL('VisualNOS', '', 'deepgravel')
  158. call s:HL('Search', 'coal', 'dalespale', 'bold')
  159. call s:HL('IncSearch', 'coal', 'tardis', 'bold')
  160. call s:HL('Underlined', 'fg', '', 'underline')
  161. call s:HL('StatusLine', 'coal', 'tardis', 'bold')
  162. call s:HL('StatusLineNC', 'snow', 'deepgravel', 'bold')
  163. call s:HL('Directory', 'dirtyblonde', '', 'bold')
  164. call s:HL('Title', 'lime')
  165. call s:HL('ErrorMsg', 'taffy', 'bg', 'bold')
  166. call s:HL('MoreMsg', 'dalespale', '', 'bold')
  167. call s:HL('ModeMsg', 'dirtyblonde', '', 'bold')
  168. call s:HL('Question', 'dirtyblonde', '', 'bold')
  169. call s:HL('WarningMsg', 'dress', '', 'bold')
  170. " This is a ctags tag, not an HTML one. 'Something you can use c-] on'.
  171. call s:HL('Tag', '', '', 'bold')
  172. " hi IndentGuides guibg=#373737
  173. " hi WildMenu guifg=#66D9EF guibg=#000000
  174. " }}}
  175. " Gutter {{{
  176. call s:HL('LineNr', 'mediumgravel', s:gutter)
  177. call s:HL('SignColumn', '', s:gutter)
  178. call s:HL('FoldColumn', 'mediumgravel', s:gutter)
  179. " }}}
  180. " Cursor {{{
  181. call s:HL('Cursor', 'coal', 'tardis', 'bold')
  182. call s:HL('vCursor', 'coal', 'tardis', 'bold')
  183. call s:HL('iCursor', 'coal', 'tardis', 'none')
  184. " }}}
  185. " Syntax highlighting {{{
  186. " Start with a simple base.
  187. call s:HL('Special', 'plain')
  188. " Comments are slightly brighter than folds, to make 'headers' easier to see.
  189. call s:HL('Comment', 'gravel')
  190. call s:HL('Todo', 'snow', 'bg', 'bold')
  191. call s:HL('SpecialComment', 'snow', 'bg', 'bold')
  192. " Strings are a nice, pale straw color. Nothing too fancy.
  193. call s:HL('String', 'dirtyblonde')
  194. " Control flow stuff is taffy.
  195. call s:HL('Statement', 'taffy', '', 'bold')
  196. call s:HL('Keyword', 'taffy', '', 'bold')
  197. call s:HL('Conditional', 'taffy', '', 'bold')
  198. call s:HL('Operator', 'taffy', '', 'none')
  199. call s:HL('Label', 'taffy', '', 'none')
  200. call s:HL('Repeat', 'taffy', '', 'none')
  201. " Functions and variable declarations are orange, because plain looks weird.
  202. call s:HL('Identifier', 'orange', '', 'none')
  203. call s:HL('Function', 'orange', '', 'none')
  204. " Preprocessor stuff is lime, to make it pop.
  205. "
  206. " This includes imports in any given language, because they should usually be
  207. " grouped together at the beginning of a file. If they're in the middle of some
  208. " other code they should stand out, because something tricky is
  209. " probably going on.
  210. call s:HL('PreProc', 'lime', '', 'none')
  211. call s:HL('Macro', 'lime', '', 'none')
  212. call s:HL('Define', 'lime', '', 'none')
  213. call s:HL('PreCondit', 'lime', '', 'bold')
  214. " Constants of all kinds are colored together.
  215. " I'm not really happy with the color yet...
  216. call s:HL('Constant', 'toffee', '', 'bold')
  217. call s:HL('Character', 'toffee', '', 'bold')
  218. call s:HL('Boolean', 'toffee', '', 'bold')
  219. call s:HL('Number', 'toffee', '', 'bold')
  220. call s:HL('Float', 'toffee', '', 'bold')
  221. " Not sure what 'special character in a constant' means, but let's make it pop.
  222. call s:HL('SpecialChar', 'dress', '', 'bold')
  223. call s:HL('Type', 'dress', '', 'none')
  224. call s:HL('StorageClass', 'taffy', '', 'none')
  225. call s:HL('Structure', 'taffy', '', 'none')
  226. call s:HL('Typedef', 'taffy', '', 'bold')
  227. " Make try/catch blocks stand out.
  228. call s:HL('Exception', 'lime', '', 'bold')
  229. " Misc
  230. call s:HL('Error', 'snow', 'taffy', 'bold')
  231. call s:HL('Debug', 'snow', '', 'bold')
  232. call s:HL('Ignore', 'gravel', '', '')
  233. " }}}
  234. " Completion Menu {{{
  235. call s:HL('Pmenu', 'plain', 'deepergravel')
  236. call s:HL('PmenuSel', 'coal', 'tardis', 'bold')
  237. call s:HL('PmenuSbar', '', 'deepergravel')
  238. call s:HL('PmenuThumb', 'brightgravel')
  239. " }}}
  240. " Diffs {{{
  241. call s:HL('DiffDelete', 'coal', 'coal')
  242. call s:HL('DiffAdd', '', 'deepergravel')
  243. call s:HL('DiffChange', '', 'darkgravel')
  244. call s:HL('DiffText', 'snow', 'deepergravel', 'bold')
  245. " }}}
  246. " Spelling {{{
  247. if has("spell")
  248. call s:HL('SpellCap', 'dalespale', 'bg', 'undercurl,bold', 'dalespale')
  249. call s:HL('SpellBad', '', 'bg', 'undercurl', 'dalespale')
  250. call s:HL('SpellLocal', '', '', 'undercurl', 'dalespale')
  251. call s:HL('SpellRare', '', '', 'undercurl', 'dalespale')
  252. endif
  253. " }}}
  254. " }}}
  255. " Plugins {{{
  256. " CtrlP {{{
  257. " the message when no match is found
  258. call s:HL('CtrlPNoEntries', 'snow', 'taffy', 'bold')
  259. " the matched pattern
  260. call s:HL('CtrlPMatch', 'orange', 'bg', 'none')
  261. " the line prefix '>' in the match window
  262. call s:HL('CtrlPLinePre', 'deepgravel', 'bg', 'none')
  263. " the prompt’s base
  264. call s:HL('CtrlPPrtBase', 'deepgravel', 'bg', 'none')
  265. " the prompt’s text
  266. call s:HL('CtrlPPrtText', 'plain', 'bg', 'none')
  267. " the prompt’s cursor when moving over the text
  268. call s:HL('CtrlPPrtCursor', 'coal', 'tardis', 'bold')
  269. " 'prt' or 'win', also for 'regex'
  270. call s:HL('CtrlPMode1', 'coal', 'tardis', 'bold')
  271. " 'file' or 'path', also for the local working dir
  272. call s:HL('CtrlPMode2', 'coal', 'tardis', 'bold')
  273. " the scanning status
  274. call s:HL('CtrlPStats', 'coal', 'tardis', 'bold')
  275. " TODO: CtrlP extensions.
  276. " CtrlPTabExtra : the part of each line that’s not matched against (Comment)
  277. " CtrlPqfLineCol : the line and column numbers in quickfix mode (|s:HL-Search|)
  278. " CtrlPUndoT : the elapsed time in undo mode (|s:HL-Directory|)
  279. " CtrlPUndoBr : the square brackets [] in undo mode (Comment)
  280. " CtrlPUndoNr : the undo number inside [] in undo mode (String)
  281. " }}}
  282. " EasyMotion {{{
  283. call s:HL('EasyMotionTarget', 'tardis', 'bg', 'bold')
  284. call s:HL('EasyMotionShade', 'deepgravel', 'bg')
  285. " }}}
  286. " Interesting Words {{{
  287. " These are only used if you're me or have copied the <leader>hNUM mappings
  288. " from my Vimrc.
  289. call s:HL('InterestingWord1', 'coal', 'orange')
  290. call s:HL('InterestingWord2', 'coal', 'lime')
  291. call s:HL('InterestingWord3', 'coal', 'saltwatertaffy')
  292. call s:HL('InterestingWord4', 'coal', 'toffee')
  293. call s:HL('InterestingWord5', 'coal', 'dress')
  294. call s:HL('InterestingWord6', 'coal', 'taffy')
  295. " }}}
  296. " Makegreen {{{
  297. " hi GreenBar term=reverse ctermfg=white ctermbg=green guifg=coal guibg=#9edf1c
  298. " hi RedBar term=reverse ctermfg=white ctermbg=red guifg=white guibg=#C50048
  299. " }}}
  300. " Rainbow Parentheses {{{
  301. call s:HL('level16c', 'mediumgravel', '', 'bold')
  302. call s:HL('level15c', 'dalespale', '', '')
  303. call s:HL('level14c', 'dress', '', '')
  304. call s:HL('level13c', 'orange', '', '')
  305. call s:HL('level12c', 'tardis', '', '')
  306. call s:HL('level11c', 'lime', '', '')
  307. call s:HL('level10c', 'toffee', '', '')
  308. call s:HL('level9c', 'saltwatertaffy', '', '')
  309. call s:HL('level8c', 'coffee', '', '')
  310. call s:HL('level7c', 'dalespale', '', '')
  311. call s:HL('level6c', 'dress', '', '')
  312. call s:HL('level5c', 'orange', '', '')
  313. call s:HL('level4c', 'tardis', '', '')
  314. call s:HL('level3c', 'lime', '', '')
  315. call s:HL('level2c', 'toffee', '', '')
  316. call s:HL('level1c', 'saltwatertaffy', '', '')
  317. " }}}
  318. " ShowMarks {{{
  319. call s:HL('ShowMarksHLl', 'tardis', 'blackgravel')
  320. call s:HL('ShowMarksHLu', 'tardis', 'blackgravel')
  321. call s:HL('ShowMarksHLo', 'tardis', 'blackgravel')
  322. call s:HL('ShowMarksHLm', 'tardis', 'blackgravel')
  323. " }}}
  324. " }}}
  325. " Filetype-specific {{{
  326. " Clojure {{{
  327. call s:HL('clojureSpecial', 'taffy', '', '')
  328. call s:HL('clojureDefn', 'taffy', '', '')
  329. call s:HL('clojureDefMacro', 'taffy', '', '')
  330. call s:HL('clojureDefine', 'taffy', '', '')
  331. call s:HL('clojureMacro', 'taffy', '', '')
  332. call s:HL('clojureCond', 'taffy', '', '')
  333. call s:HL('clojureKeyword', 'orange', '', 'none')
  334. call s:HL('clojureFunc', 'dress', '', 'none')
  335. call s:HL('clojureRepeat', 'dress', '', 'none')
  336. call s:HL('clojureParen0', 'lightgravel', '', 'none')
  337. call s:HL('clojureAnonArg', 'snow', '', 'bold')
  338. " }}}
  339. " CSS {{{
  340. if g:badwolf_css_props_highlight
  341. call s:HL('cssColorProp', 'dirtyblonde', '', 'none')
  342. call s:HL('cssBoxProp', 'dirtyblonde', '', 'none')
  343. call s:HL('cssTextProp', 'dirtyblonde', '', 'none')
  344. call s:HL('cssRenderProp', 'dirtyblonde', '', 'none')
  345. call s:HL('cssGeneratedContentProp', 'dirtyblonde', '', 'none')
  346. else
  347. call s:HL('cssColorProp', 'fg', '', 'none')
  348. call s:HL('cssBoxProp', 'fg', '', 'none')
  349. call s:HL('cssTextProp', 'fg', '', 'none')
  350. call s:HL('cssRenderProp', 'fg', '', 'none')
  351. call s:HL('cssGeneratedContentProp', 'fg', '', 'none')
  352. end
  353. call s:HL('cssValueLength', 'toffee', '', 'bold')
  354. call s:HL('cssColor', 'toffee', '', 'bold')
  355. call s:HL('cssBraces', 'lightgravel', '', 'none')
  356. call s:HL('cssIdentifier', 'orange', '', 'bold')
  357. call s:HL('cssClassName', 'orange', '', 'none')
  358. " }}}
  359. " Diff {{{
  360. call s:HL('gitDiff', 'lightgravel', '',)
  361. call s:HL('diffRemoved', 'dress', '',)
  362. call s:HL('diffAdded', 'lime', '',)
  363. call s:HL('diffFile', 'coal', 'taffy', 'bold')
  364. call s:HL('diffNewFile', 'coal', 'taffy', 'bold')
  365. call s:HL('diffLine', 'coal', 'orange', 'bold')
  366. call s:HL('diffSubname', 'orange', '', 'none')
  367. " }}}
  368. " Django Templates {{{
  369. call s:HL('djangoArgument', 'dirtyblonde', '',)
  370. call s:HL('djangoTagBlock', 'orange', '')
  371. call s:HL('djangoVarBlock', 'orange', '')
  372. " hi djangoStatement guifg=#ff3853 gui=bold
  373. " hi djangoVarBlock guifg=#f4cf86
  374. " }}}
  375. " HTML {{{
  376. " Punctuation
  377. call s:HL('htmlTag', 'darkroast', 'bg', 'none')
  378. call s:HL('htmlEndTag', 'darkroast', 'bg', 'none')
  379. " Tag names
  380. call s:HL('htmlTagName', 'coffee', '', 'bold')
  381. call s:HL('htmlSpecialTagName', 'coffee', '', 'bold')
  382. call s:HL('htmlSpecialChar', 'lime', '', 'none')
  383. " Attributes
  384. call s:HL('htmlArg', 'coffee', '', 'none')
  385. " Stuff inside an <a> tag
  386. if g:badwolf_html_link_underline
  387. call s:HL('htmlLink', 'lightgravel', '', 'underline')
  388. else
  389. call s:HL('htmlLink', 'lightgravel', '', 'none')
  390. endif
  391. " }}}
  392. " Java {{{
  393. call s:HL('javaClassDecl', 'taffy', '', 'bold')
  394. call s:HL('javaScopeDecl', 'taffy', '', 'bold')
  395. call s:HL('javaCommentTitle', 'gravel', '')
  396. call s:HL('javaDocTags', 'snow', '', 'none')
  397. call s:HL('javaDocParam', 'dalespale', '', '')
  398. " }}}
  399. " LaTeX {{{
  400. call s:HL('texStatement', 'tardis', '', 'none')
  401. call s:HL('texMathZoneX', 'orange', '', 'none')
  402. call s:HL('texMathZoneA', 'orange', '', 'none')
  403. call s:HL('texMathZoneB', 'orange', '', 'none')
  404. call s:HL('texMathZoneC', 'orange', '', 'none')
  405. call s:HL('texMathZoneD', 'orange', '', 'none')
  406. call s:HL('texMathZoneE', 'orange', '', 'none')
  407. call s:HL('texMathZoneV', 'orange', '', 'none')
  408. call s:HL('texMathZoneX', 'orange', '', 'none')
  409. call s:HL('texMath', 'orange', '', 'none')
  410. call s:HL('texMathMatcher', 'orange', '', 'none')
  411. call s:HL('texRefLabel', 'dirtyblonde', '', 'none')
  412. call s:HL('texRefZone', 'lime', '', 'none')
  413. call s:HL('texComment', 'darkroast', '', 'none')
  414. call s:HL('texDelimiter', 'orange', '', 'none')
  415. call s:HL('texZone', 'brightgravel', '', 'none')
  416. augroup badwolf_tex
  417. au!
  418. au BufRead,BufNewFile *.tex syn region texMathZoneV start="\\(" end="\\)\|%stopzone\>" keepend contains=@texMathZoneGroup
  419. au BufRead,BufNewFile *.tex syn region texMathZoneX start="\$" skip="\\\\\|\\\$" end="\$\|%stopzone\>" keepend contains=@texMathZoneGroup
  420. augroup END
  421. " }}}
  422. " LessCSS {{{
  423. call s:HL('lessVariable', 'lime', '', 'none')
  424. " }}}
  425. " Lispyscript {{{
  426. call s:HL('lispyscriptDefMacro', 'lime', '', '')
  427. call s:HL('lispyscriptRepeat', 'dress', '', 'none')
  428. " }}}
  429. " Mail {{{
  430. call s:HL('mailSubject', 'orange', '', 'bold')
  431. call s:HL('mailHeader', 'lightgravel', '', '')
  432. call s:HL('mailHeaderKey', 'lightgravel', '', '')
  433. call s:HL('mailHeaderEmail', 'snow', '', '')
  434. call s:HL('mailURL', 'toffee', '', 'underline')
  435. call s:HL('mailSignature', 'gravel', '', 'none')
  436. call s:HL('mailQuoted1', 'gravel', '', 'none')
  437. call s:HL('mailQuoted2', 'dress', '', 'none')
  438. call s:HL('mailQuoted3', 'dirtyblonde', '', 'none')
  439. call s:HL('mailQuoted4', 'orange', '', 'none')
  440. call s:HL('mailQuoted5', 'lime', '', 'none')
  441. " }}}
  442. " Markdown {{{
  443. call s:HL('markdownHeadingRule', 'lightgravel', '', 'bold')
  444. call s:HL('markdownHeadingDelimiter', 'lightgravel', '', 'bold')
  445. call s:HL('markdownOrderedListMarker', 'lightgravel', '', 'bold')
  446. call s:HL('markdownListMarker', 'lightgravel', '', 'bold')
  447. call s:HL('markdownItalic', 'snow', '', 'bold')
  448. call s:HL('markdownBold', 'snow', '', 'bold')
  449. call s:HL('markdownH1', 'orange', '', 'bold')
  450. call s:HL('markdownH2', 'lime', '', 'bold')
  451. call s:HL('markdownH3', 'lime', '', 'none')
  452. call s:HL('markdownH4', 'lime', '', 'none')
  453. call s:HL('markdownH5', 'lime', '', 'none')
  454. call s:HL('markdownH6', 'lime', '', 'none')
  455. call s:HL('markdownLinkText', 'toffee', '', 'underline')
  456. call s:HL('markdownIdDeclaration', 'toffee')
  457. call s:HL('markdownAutomaticLink', 'toffee', '', 'bold')
  458. call s:HL('markdownUrl', 'toffee', '', 'bold')
  459. call s:HL('markdownUrldelimiter', 'lightgravel', '', 'bold')
  460. call s:HL('markdownLinkDelimiter', 'lightgravel', '', 'bold')
  461. call s:HL('markdownLinkTextDelimiter', 'lightgravel', '', 'bold')
  462. call s:HL('markdownCodeDelimiter', 'dirtyblonde', '', 'bold')
  463. call s:HL('markdownCode', 'dirtyblonde', '', 'none')
  464. call s:HL('markdownCodeBlock', 'dirtyblonde', '', 'none')
  465. " }}}
  466. " MySQL {{{
  467. call s:HL('mysqlSpecial', 'dress', '', 'bold')
  468. " }}}
  469. " Python {{{
  470. hi def link pythonOperator Operator
  471. call s:HL('pythonBuiltin', 'dress')
  472. call s:HL('pythonBuiltinObj', 'dress')
  473. call s:HL('pythonBuiltinFunc', 'dress')
  474. call s:HL('pythonEscape', 'dress')
  475. call s:HL('pythonException', 'lime', '', 'bold')
  476. call s:HL('pythonExceptions', 'lime', '', 'none')
  477. call s:HL('pythonPrecondit', 'lime', '', 'none')
  478. call s:HL('pythonDecorator', 'taffy', '', 'none')
  479. call s:HL('pythonRun', 'gravel', '', 'bold')
  480. call s:HL('pythonCoding', 'gravel', '', 'bold')
  481. " }}}
  482. " SLIMV {{{
  483. " Rainbow parentheses
  484. call s:HL('hlLevel0', 'gravel')
  485. call s:HL('hlLevel1', 'orange')
  486. call s:HL('hlLevel2', 'saltwatertaffy')
  487. call s:HL('hlLevel3', 'dress')
  488. call s:HL('hlLevel4', 'coffee')
  489. call s:HL('hlLevel5', 'dirtyblonde')
  490. call s:HL('hlLevel6', 'orange')
  491. call s:HL('hlLevel7', 'saltwatertaffy')
  492. call s:HL('hlLevel8', 'dress')
  493. call s:HL('hlLevel9', 'coffee')
  494. " }}}
  495. " Vim {{{
  496. call s:HL('VimCommentTitle', 'lightgravel', '', 'bold')
  497. call s:HL('VimMapMod', 'dress', '', 'none')
  498. call s:HL('VimMapModKey', 'dress', '', 'none')
  499. call s:HL('VimNotation', 'dress', '', 'none')
  500. call s:HL('VimBracket', 'dress', '', 'none')
  501. " }}}
  502. " }}}