My personal dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

badwolf.vim 20KB

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