My dotfiles. Period.

zenburn.vim 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561
  1. " Vim color file
  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>
  6. "
  7. " Nothing too fancy, just some alien fruit salad to keep you in the zone.
  8. " This syntax file was designed to be used with dark environments and
  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. "
  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.
  25. " See also :help syntax
  26. "
  27. " Credits:
  28. " - Jani Nurminen - original Zenburn, maintainer
  29. " - Steve Hall & Cream posse - higher-contrast Visual selection
  30. " - Kurt Maier - 256 color console coloring, low and high contrast toggle,
  31. " bug fixing
  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.
  48. "
  49. " CONFIGURABLE PARAMETERS:
  50. "
  51. " You can use the default (don't set any parameters), or you can
  52. " set some parameters to tweak the Zenburn colours.
  53. "
  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. "
  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
  66. "
  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. "
  75. " * To get more contrast to the Visual selection, use
  76. "
  77. " let g:zenburn_alternate_Visual = 1
  78. "
  79. " Note: this is enabled only if the old-style Visual
  80. " if used, see g:zenburn_old_Visual
  81. "
  82. " * To use alternate colouring for Error message, use
  83. "
  84. " let g:zenburn_alternate_Error = 1
  85. "
  86. " * The new default for Include is a duller orange. To use the original
  87. " colouring for Include, use
  88. "
  89. " let g:zenburn_alternate_Include = 1
  90. "
  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:
  128. "
  129. " unlet g:zenburn_alternate_Include
  130. " or
  131. " let g:zenburn_alternate_Include = 0
  132. "
  133. "
  134. " That's it, enjoy!
  135. "
  136. " TODO
  137. " - Visual alternate color is broken? Try GVim >= 7.0.66 if you have trouble
  138. " - IME colouring (CursorIM)
  139. " Set defaults, but keep any parameters already set by the user
  140. if ! exists("g:zenburn_high_Contrast")
  141. let g:zenburn_high_Contrast = 0
  142. endif
  143. if ! exists("g:zenburn_color_also_Ignore")
  144. let g:zenburn_color_also_Ignore = 0
  145. endif
  146. if ! exists("g:zenburn_alternate_Error")
  147. let g:zenburn_alternate_Error = 0
  148. endif
  149. if ! exists("g:zenburn_force_dark_Background")
  150. let g:zenburn_force_dark_Background = 0
  151. endif
  152. if ! exists("g:zenburn_alternate_Visual")
  153. let g:zenburn_alternate_Visual = 0
  154. endif
  155. if ! exists("g:zenburn_alternate_Include")
  156. let g:zenburn_alternate_Include = 0
  157. endif
  158. if ! exists("g:zenburn_unified_CursorColumn")
  159. let g:zenburn_unified_CursorColumn = 0
  160. endif
  161. if ! exists("g:zenburn_old_Visual")
  162. let g:zenburn_old_Visual = 0
  163. endif
  164. if ! exists("g:zenburn_disable_ctags_highlighting_support")
  165. " enabled by default
  166. let g:zenburn_disable_ctags_highlighting_support = 0
  167. endif
  168. " -----------------------------------------------
  169. set background=dark
  170. hi clear
  171. if exists("syntax_on")
  172. syntax reset
  173. endif
  174. let g:colors_name="zenburn"
  175. " check for ctags-highlighting
  176. if exists("g:loaded_ctags_highlighting") && g:loaded_ctags_highlighting && ! g:zenburn_disable_ctags_highlighting_support
  177. " internal
  178. let _zenburn_ctags = 1
  179. endif
  180. hi Boolean guifg=#dca3a3
  181. hi Character guifg=#dca3a3 gui=bold
  182. hi Comment guifg=#7f9f7f gui=italic
  183. hi Conditional guifg=#f0dfaf gui=bold
  184. hi Constant guifg=#dca3a3 gui=bold
  185. hi Cursor guifg=#000d18 guibg=#8faf9f gui=bold
  186. hi Debug guifg=#bca3a3 gui=bold
  187. hi Define guifg=#ffcfaf gui=bold
  188. hi Delimiter guifg=#8f8f8f
  189. hi DiffAdd guifg=#709080 guibg=#313c36 gui=bold
  190. hi DiffChange guibg=#333333
  191. hi DiffDelete guifg=#333333 guibg=#464646
  192. hi DiffText guifg=#ecbcbc guibg=#41363c gui=bold
  193. hi Directory guifg=#9fafaf gui=bold
  194. hi ErrorMsg guifg=#80d4aa guibg=#2f2f2f gui=bold
  195. hi Exception guifg=#c3bf9f gui=bold
  196. hi Float guifg=#c0bed1
  197. hi FoldColumn guifg=#93b3a3 guibg=#3f4040
  198. hi Folded guifg=#93b3a3 guibg=#3f4040
  199. hi Function guifg=#efef8f
  200. hi Identifier guifg=#efdcbc
  201. hi IncSearch guibg=#f8f893 guifg=#385f38
  202. hi Keyword guifg=#f0dfaf gui=bold
  203. hi Label guifg=#dfcfaf gui=underline
  204. hi Macro guifg=#ffcfaf gui=bold
  205. hi ModeMsg guifg=#ffcfaf gui=none
  206. hi MoreMsg guifg=#ffffff gui=bold
  207. hi Number guifg=#8cd0d3
  208. hi Operator guifg=#f0efd0
  209. hi PreCondit guifg=#dfaf8f gui=bold
  210. hi PreProc guifg=#ffcfaf gui=bold
  211. hi Question guifg=#ffffff gui=bold
  212. hi Repeat guifg=#ffd7a7 gui=bold
  213. hi Search guifg=#ffffe0 guibg=#284f28
  214. hi SpecialChar guifg=#dca3a3 gui=bold
  215. hi SpecialComment guifg=#82a282 gui=bold
  216. hi Special guifg=#cfbfaf
  217. hi SpecialKey guifg=#9ece9e
  218. hi Statement guifg=#e3ceab gui=none
  219. hi StatusLine guifg=#313633 guibg=#ccdc90
  220. hi StatusLineNC guifg=#2e3330 guibg=#88b090
  221. hi StorageClass guifg=#c3bf9f gui=bold
  222. hi String guifg=#cc9393
  223. hi Structure guifg=#efefaf gui=bold
  224. hi Tag guifg=#e89393 gui=bold
  225. hi Title guifg=#efefef gui=bold
  226. hi Todo guifg=#dfdfdf guibg=bg gui=bold
  227. hi Typedef guifg=#dfe4cf gui=bold
  228. hi Type guifg=#dfdfbf gui=bold
  229. hi Underlined guifg=#dcdccc gui=underline
  230. hi VertSplit guifg=#2e3330 guibg=#688060
  231. hi VisualNOS guifg=#333333 guibg=#f18c96 gui=bold,underline
  232. hi WarningMsg guifg=#ffffff guibg=#333333 gui=bold
  233. hi WildMenu guibg=#2c302d guifg=#cbecd0 gui=underline
  234. hi SpellBad guisp=#bc6c4c guifg=#dc8c6c
  235. hi SpellCap guisp=#6c6c9c guifg=#8c8cbc
  236. hi SpellRare guisp=#bc6c9c guifg=#bc8cbc
  237. hi SpellLocal guisp=#7cac7c guifg=#9ccc9c
  238. " Entering Kurt zone
  239. if &t_Co > 255
  240. hi Boolean ctermfg=181
  241. hi Character ctermfg=181 cterm=bold
  242. hi Comment ctermfg=108
  243. hi Conditional ctermfg=223 cterm=bold
  244. hi Constant ctermfg=181 cterm=bold
  245. hi Cursor ctermfg=233 ctermbg=109 cterm=bold
  246. hi Debug ctermfg=181 cterm=bold
  247. hi Define ctermfg=223 cterm=bold
  248. hi Delimiter ctermfg=245
  249. hi DiffAdd ctermfg=66 ctermbg=237 cterm=bold
  250. hi DiffChange ctermbg=236
  251. hi DiffDelete ctermfg=236 ctermbg=238
  252. hi DiffText ctermfg=217 ctermbg=237 cterm=bold
  253. hi Directory ctermfg=109 cterm=bold
  254. hi ErrorMsg ctermfg=115 ctermbg=236 cterm=bold
  255. hi Exception ctermfg=249 cterm=bold
  256. hi Float ctermfg=251
  257. hi Function ctermfg=228
  258. hi Identifier ctermfg=223
  259. hi IncSearch ctermbg=228 ctermfg=238
  260. hi Keyword ctermfg=223 cterm=bold
  261. hi Label ctermfg=187 cterm=underline
  262. hi LineNr ctermfg=248 ctermbg=233
  263. hi Macro ctermfg=223 cterm=bold
  264. hi ModeMsg ctermfg=223 cterm=none
  265. hi MoreMsg ctermfg=15 cterm=bold
  266. hi Number ctermfg=116
  267. hi Operator ctermfg=230
  268. hi PreCondit ctermfg=180 cterm=bold
  269. hi PreProc ctermfg=223 cterm=bold
  270. hi Question ctermfg=15 cterm=bold
  271. hi Repeat ctermfg=223 cterm=bold
  272. hi Search ctermfg=230 ctermbg=236
  273. hi SpecialChar ctermfg=181 cterm=bold
  274. hi SpecialComment ctermfg=108 cterm=bold
  275. hi Special ctermfg=181
  276. hi SpecialKey ctermfg=151
  277. hi Statement ctermfg=187 ctermbg=234 cterm=none
  278. hi StatusLine ctermfg=236 ctermbg=186
  279. hi StatusLineNC ctermfg=235 ctermbg=108
  280. hi StorageClass ctermfg=249 cterm=bold
  281. hi String ctermfg=174
  282. hi Structure ctermfg=229 cterm=bold
  283. hi Tag ctermfg=181 cterm=bold
  284. hi Title ctermfg=7 ctermbg=234 cterm=bold
  285. hi Todo ctermfg=108 ctermbg=234 cterm=bold
  286. hi Typedef ctermfg=253 cterm=bold
  287. hi Type ctermfg=187 cterm=bold
  288. hi Underlined ctermfg=188 ctermbg=234 cterm=bold
  289. hi VertSplit ctermfg=236 ctermbg=65
  290. hi VisualNOS ctermfg=236 ctermbg=210 cterm=bold
  291. hi WarningMsg ctermfg=15 ctermbg=236 cterm=bold
  292. hi WildMenu ctermbg=236 ctermfg=194 cterm=bold
  293. " spellchecking, always "bright" background
  294. hi SpellLocal ctermfg=14 ctermbg=237
  295. hi SpellBad ctermfg=9 ctermbg=237
  296. hi SpellCap ctermfg=12 ctermbg=237
  297. hi SpellRare ctermfg=13 ctermbg=237
  298. " pmenu
  299. hi PMenu ctermfg=248 ctermbg=0
  300. hi PMenuSel ctermfg=223 ctermbg=235
  301. if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
  302. hi Normal ctermfg=188 ctermbg=234
  303. hi NonText ctermfg=238
  304. if exists("g:zenburn_color_also_Ignore") && g:zenburn_color_also_Ignore
  305. hi Ignore ctermfg=238
  306. endif
  307. " hc mode, darker CursorLine, default 236
  308. hi CursorLine ctermbg=233 cterm=none
  309. if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
  310. hi CursorColumn ctermbg=233 cterm=none
  311. else
  312. hi CursorColumn ctermbg=235 cterm=none
  313. endif
  314. else
  315. hi Normal ctermfg=188 ctermbg=237
  316. hi Cursor ctermbg=109
  317. hi diffadd ctermbg=237
  318. hi diffdelete ctermbg=238
  319. hi difftext ctermbg=237
  320. hi errormsg ctermbg=237
  321. hi incsearch ctermbg=228
  322. hi linenr ctermbg=235
  323. hi search ctermbg=238
  324. hi statement ctermbg=237
  325. hi statusline ctermbg=144
  326. hi statuslinenc ctermbg=108
  327. hi title ctermbg=237
  328. hi todo ctermbg=237
  329. hi underlined ctermbg=237
  330. hi vertsplit ctermbg=65
  331. hi visualnos ctermbg=210
  332. hi warningmsg ctermbg=236
  333. hi wildmenu ctermbg=236
  334. hi NonText ctermfg=240
  335. if exists("g:zenburn_color_also_Ignore") && g:zenburn_color_also_Ignore
  336. hi Ignore ctermfg=240
  337. endif
  338. " normal mode, lighter CursorLine
  339. hi CursorLine ctermbg=238 cterm=none
  340. if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
  341. hi CursorColumn ctermbg=238 cterm=none
  342. else
  343. hi CursorColumn ctermbg=239 cterm=none
  344. endif
  345. endif
  346. if exists("g:zenburn_alternate_Error") && g:zenburn_alternate_Error
  347. " use more jumpy Error
  348. hi Error ctermfg=210 ctermbg=52 gui=bold
  349. else
  350. " default is something more zenburn-compatible
  351. hi Error ctermfg=228 ctermbg=95 gui=bold
  352. endif
  353. endif
  354. if exists("g:zenburn_force_dark_Background") && g:zenburn_force_dark_Background
  355. " Force dark background, because of a bug in VIM: VIM sets background
  356. " automatically during "hi Normal ctermfg=X"; it misinterprets the high
  357. " value (234 or 237 above) as a light color, and wrongly sets background to
  358. " light. See ":help highlight" for details.
  359. set background=dark
  360. endif
  361. if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
  362. " use new darker background
  363. hi Normal guifg=#dcdccc guibg=#1f1f1f
  364. hi CursorLine guibg=#121212 gui=bold
  365. if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
  366. hi CursorColumn guibg=#121212 gui=bold
  367. else
  368. hi CursorColumn guibg=#2b2b2b
  369. endif
  370. hi Pmenu guibg=#242424 guifg=#ccccbc
  371. hi PMenuSel guibg=#353a37 guifg=#ccdc90 gui=bold
  372. hi PmenuSbar guibg=#2e3330 guifg=#000000
  373. hi PMenuThumb guibg=#a0afa0 guifg=#040404
  374. hi MatchParen guifg=#f0f0c0 guibg=#383838 gui=bold
  375. hi SignColumn guifg=#9fafaf guibg=#181818 gui=bold
  376. hi TabLineFill guifg=#cfcfaf guibg=#181818 gui=bold
  377. hi TabLineSel guifg=#efefef guibg=#1c1c1b gui=bold
  378. hi TabLine guifg=#b6bf98 guibg=#181818 gui=bold
  379. hi NonText guifg=#404040 gui=bold
  380. hi LineNr guifg=#9fafaf guibg=#161616
  381. else
  382. " Original, lighter background
  383. hi Normal guifg=#dcdccc guibg=#3f3f3f
  384. hi CursorLine guibg=#434443
  385. if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
  386. hi CursorColumn guibg=#434343
  387. else
  388. hi CursorColumn guibg=#4f4f4f
  389. endif
  390. hi Pmenu guibg=#2c2e2e guifg=#9f9f9f
  391. hi PMenuSel guibg=#242424 guifg=#d0d0a0 gui=bold
  392. hi PmenuSbar guibg=#2e3330 guifg=#000000
  393. hi PMenuThumb guibg=#a0afa0 guifg=#040404
  394. hi MatchParen guifg=#b2b2a0 guibg=#2e2e2e gui=bold
  395. hi SignColumn guifg=#9fafaf guibg=#343434 gui=bold
  396. hi TabLineFill guifg=#cfcfaf guibg=#353535 gui=bold
  397. hi TabLineSel guifg=#efefef guibg=#3a3a39 gui=bold
  398. hi TabLine guifg=#b6bf98 guibg=#353535 gui=bold
  399. hi NonText guifg=#5b605e gui=bold
  400. hi LineNr guifg=#9fafaf guibg=#262626
  401. endif
  402. if exists("g:zenburn_old_Visual") && g:zenburn_old_Visual
  403. if exists("g:zenburn_alternate_Visual") && g:zenburn_alternate_Visual
  404. " Visual with more contrast, thanks to Steve Hall & Cream posse
  405. " gui=none fixes weird highlight problem in at least GVim 7.0.66, thanks to Kurt Maier
  406. hi Visual guifg=#000000 guibg=#71d3b4 gui=none
  407. hi VisualNOS guifg=#000000 guibg=#71d3b4 gui=none
  408. else
  409. " use default visual
  410. hi Visual guifg=#233323 guibg=#71d3b4 gui=none
  411. hi VisualNOS guifg=#233323 guibg=#71d3b4 gui=none
  412. endif
  413. else
  414. " new Visual style
  415. if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
  416. " high contrast
  417. "hi Visual guibg=#304a3d
  418. "hi VisualNos guibg=#304a3d
  419. "TODO no nice greenish in console, 65 is closest. use full black instead,
  420. "although i like the green..!
  421. hi Visual guibg=#0f0f0f
  422. hi VisualNos guibg=#0f0f0f
  423. if &t_Co > 255
  424. hi Visual ctermbg=0
  425. endif
  426. else
  427. " low contrast
  428. hi Visual guibg=#2f2f2f
  429. hi VisualNOS guibg=#2f2f2f
  430. if &t_Co > 255
  431. hi Visual ctermbg=235
  432. hi VisualNOS ctermbg=235
  433. endif
  434. endif
  435. endif
  436. if exists("g:zenburn_alternate_Error") && g:zenburn_alternate_Error
  437. " use more jumpy Error
  438. hi Error guifg=#e37170 guibg=#664040 gui=bold
  439. else
  440. " default is something more zenburn-compatible
  441. hi Error guifg=#e37170 guibg=#3d3535 gui=none
  442. endif
  443. if exists("g:zenburn_alternate_Include") && g:zenburn_alternate_Include
  444. " original setting
  445. hi Include guifg=#ffcfaf gui=bold
  446. else
  447. " new, less contrasted one
  448. hi Include guifg=#dfaf8f gui=bold
  449. endif
  450. if exists("g:zenburn_color_also_Ignore") && g:zenburn_color_also_Ignore
  451. " color the Ignore groups
  452. " note: if you get strange coloring for your files, turn this off (unlet)
  453. hi Ignore guifg=#545a4f
  454. endif
  455. " new tabline and fold column
  456. if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
  457. hi FoldColumn guibg=#161616
  458. hi Folded guibg=#161616
  459. hi TabLine guifg=#88b090 guibg=#313633 gui=none
  460. hi TabLineSel guifg=#ccd990 guibg=#222222
  461. hi TabLineFill guifg=#88b090 guibg=#313633 gui=none
  462. hi SpecialKey guibg=#242424
  463. if &t_Co > 255
  464. hi FoldColumn ctermbg=233 ctermfg=109
  465. hi Folded ctermbg=233 ctermfg=109
  466. hi TabLine ctermbg=236 ctermfg=108 cterm=none
  467. hi TabLineSel ctermbg=235 ctermfg=186 cterm=bold
  468. hi TabLineFill ctermbg=236 ctermfg=236
  469. endif
  470. else
  471. hi FoldColumn guibg=#333333
  472. hi Folded guibg=#333333
  473. hi TabLine guifg=#d0d0b8 guibg=#222222 gui=none
  474. hi TabLineSel guifg=#f0f0b0 guibg=#333333 gui=bold
  475. hi TabLineFill guifg=#dccdcc guibg=#101010 gui=none
  476. hi SpecialKey guibg=#444444
  477. if &t_Co > 255
  478. hi FoldColumn ctermbg=236 ctermfg=109
  479. hi Folded ctermbg=236 ctermfg=109
  480. hi TabLine ctermbg=235 ctermfg=187 cterm=none
  481. hi TabLineSel ctermbg=236 ctermfg=229 cterm=bold
  482. hi TabLineFill ctermbg=233 ctermfg=233
  483. endif
  484. endif
  485. " EXPERIMENTAL ctags_highlighting support
  486. " link/set sensible defaults here;
  487. "
  488. " For now I mostly link to subset of Zenburn colors, the linkage is based
  489. " on appearance, not semantics. In later versions I might define more new colours.
  490. "
  491. " HELP NEEDED to make this work properly.
  492. if exists("_zenburn_ctags") && _zenburn_ctags
  493. " Highlighter seems to think a lot of things are global variables even
  494. " though they're not. Example: python method-local variable is
  495. " coloured as a global variable. They should not be global, since
  496. " they're not visible outside the method.
  497. " If this is some very bright colour group then things look bad.
  498. hi link CTagsGlobalVariable Identifier
  499. hi CTagsClass guifg=#acd0b3
  500. if &t_Co > 255
  501. hi CTagsClass ctermfg=115
  502. endif
  503. hi link CTagsImport Statement
  504. hi link CTagsMember Function
  505. hi link CTagsGlobalConstant Constant
  506. " These do not yet have support, I can't get them to appear
  507. hi link EnumerationValue Float
  508. hi link EnumerationName Identifier
  509. hi link DefinedName WarningMsg
  510. hi link LocalVariable WarningMsg
  511. hi link Structure WarningMsg
  512. hi link Union WarningMsg
  513. endif
  514. " TODO check for more obscure syntax groups that they're ok