zenburn.vim 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  1. " Vim color file
  2. " Maintainer: Jani Nurminen <slinky@iki.fi>
  3. " URL: http://kippura.org/zenburnpage/
  4. " License: GNU GPL <http://www.gnu.org/licenses/gpl.html>
  5. "
  6. " Nothing too fancy, just some alien fruit salad to keep you in the zone.
  7. " This syntax file was designed to be used with dark environments and
  8. " low light situations. Of course, if it works during a daybright office, go
  9. " ahead :)
  10. "
  11. " Owes heavily to other Vim color files! With special mentions
  12. " to "BlackDust", "Camo" and "Desert".
  13. "
  14. " To install, copy to ~/.vim/colors directory.
  15. "
  16. " Alternatively, you can use Vimball installation:
  17. " vim zenburn.vba
  18. " :so %
  19. " :q
  20. "
  21. " For details, see :help vimball
  22. "
  23. " After installation, use it with :colorscheme zenburn.
  24. " See also :help syntax
  25. "
  26. " Credits:
  27. " - Jani Nurminen - original Zenburn, maintainer
  28. " - Steve Hall & Cream posse - higher-contrast Visual selection
  29. " - Kurt Maier - 256 color console coloring, low and high contrast toggle,
  30. " bug fixing
  31. " - Charlie - spotted too bright StatusLine in non-high contrast mode
  32. " - Pablo Castellazzi - CursorLine fix for 256 color mode
  33. " - Tim Smith - force dark background
  34. " - John Gabriele - spotted bad Ignore-group handling
  35. " - Zac Thompson - spotted invisible NonText in low contrast mode
  36. " - Christophe-Marie Duquesne - suggested making a Vimball,
  37. " suggested support for ctags_highlighting.vim
  38. " - Andrew Wagner - noted the CursorColumn bug (guifg was unintentionally set),
  39. " unify CursorColumn colour
  40. " - Martin Langasek - clarify the license, whitespace fixes
  41. " - Marcin Szamotulski - support autocomplete for Zenburn configuration
  42. " parameters
  43. " - Clayton Parker (claytron) - Convinced by Kurt Maier to use Zenburn. Point
  44. " out issues with LineNr, fix directory styles, and their usage in MacVim.
  45. " - Paweł Piekarski - Spotted bad FoldColumn and TabLine. Made better
  46. " FoldColumn colors, fixed TabLine colors.
  47. " - Jim - Fix for missing Include group for terminal
  48. " - Peter (Sakartu) - ColorColumn fixes
  49. " - Please see git log for the others not listed here
  50. "
  51. " CONFIGURABLE PARAMETERS:
  52. "
  53. " You can use the default (don't set any parameters), or you can
  54. " set some parameters to tweak the Zenburn colours.
  55. "
  56. " To use them, put them into your .vimrc file before loading the color scheme,
  57. " example:
  58. " let g:zenburn_high_Contrast=1
  59. " colors zenburn
  60. "
  61. " You can also do ":let g:zenburn" then hit Ctrl-d or Tab to scroll through the
  62. " list of configurable parameters.
  63. "
  64. " * You can now set a darker background for bright environments. To activate, use:
  65. " let g:zenburn_high_Contrast = 1
  66. "
  67. " * For transparent terminals set the background to black with:
  68. " let g:zenburn_transparent = 1
  69. "
  70. " * For example, Vim help files uses the Ignore-group for the pipes in tags
  71. " like "|somelink.txt|". By default, the pipes are not visible, as they
  72. " map to Ignore group. If you wish to enable coloring of the Ignore group,
  73. " set the following parameter to 1. Warning, it might make some syntax files
  74. " look strange.
  75. "
  76. " let g:zenburn_color_also_Ignore = 1
  77. "
  78. " * To get more contrast to the Visual selection, use
  79. "
  80. " let g:zenburn_alternate_Visual = 1
  81. "
  82. " Note: this is enabled only if the old-style Visual
  83. " if used, see g:zenburn_old_Visual
  84. "
  85. " * To use alternate colouring for Error message, use
  86. "
  87. " let g:zenburn_alternate_Error = 1
  88. "
  89. " * The new default for Include is a duller orange. To use the original
  90. " colouring for Include, use
  91. "
  92. " let g:zenburn_alternate_Include = 1
  93. "
  94. " * To disable underlining for Labels, use
  95. "
  96. " let g:zenburn_disable_Label_underline = 1
  97. "
  98. " * Work-around to a Vim bug, it seems to misinterpret ctermfg and 234 and 237
  99. " as light values, and sets background to light for some people. If you have
  100. " this problem, use:
  101. "
  102. " let g:zenburn_force_dark_Background = 1
  103. "
  104. " * By default the CursorColumn is of a lighter colour. I find it more readable
  105. " that way, but some people may want to align it with the darker CursorLine
  106. " color, for visual uniformity. To do so, use:
  107. "
  108. " let g:zenburn_unified_CursorColumn = 1
  109. "
  110. " Note: you can ignore this unless you use
  111. " ":set cursorline cursorcolumn", since otherwise the effect won't be
  112. " seen.
  113. "
  114. " * New (dark) Visual coloring has been introduced.
  115. " The dark Visual is more aligned with the rest of the colour scheme,
  116. " especially if you use line numbers. If you wish to use the
  117. " old Visual coloring, use
  118. "
  119. " let g:zenburn_old_Visual = 1
  120. "
  121. " Default is to use the new Visual.
  122. "
  123. " * EXPERIMENTAL FEATURE: Zenburn would like to support TagHighlight
  124. " (an evolved ctags-highlighter) by Al Budden (homepage:
  125. " http://www.cgtk.co.uk/vim-scripts/taghighlight).
  126. " Current support status is broken: there is no automatic detection of
  127. " TagHighlight, no specific language support; however there is some basic
  128. " support for Python. If you are a user of TagHighlight and want to help,
  129. " please enable:
  130. "
  131. " let g:zenburn_enable_TagHighlight=1
  132. "
  133. " and improve the corresponding block at the end of the file.
  134. "
  135. " NOTE:
  136. "
  137. " * To turn the parameter(s) back to defaults, use UNLET or set them to 0:
  138. "
  139. " unlet g:zenburn_alternate_Include
  140. " or
  141. " let g:zenburn_alternate_Include = 0
  142. "
  143. "
  144. " That's it, enjoy!
  145. "
  146. " TODO
  147. " - Visual alternate color is broken? Try GVim >= 7.0.66 if you have trouble
  148. " - IME colouring (CursorIM)
  149. " Finish if we are in a term lacking 256 color support
  150. if ! has("gui_running") && &t_Co <= 255
  151. finish
  152. endif
  153. " Set defaults, but keep any parameters already set by the user
  154. if ! exists("g:zenburn_high_Contrast")
  155. let g:zenburn_high_Contrast = 0
  156. endif
  157. if ! exists("g:zenburn_transparent")
  158. let g:zenburn_transparent = 0
  159. endif
  160. if ! exists("g:zenburn_color_also_Ignore")
  161. let g:zenburn_color_also_Ignore = 0
  162. endif
  163. if ! exists("g:zenburn_alternate_Error")
  164. let g:zenburn_alternate_Error = 0
  165. endif
  166. if ! exists("g:zenburn_force_dark_Background")
  167. let g:zenburn_force_dark_Background = 0
  168. endif
  169. if ! exists("g:zenburn_alternate_Visual")
  170. let g:zenburn_alternate_Visual = 0
  171. endif
  172. if ! exists("g:zenburn_alternate_Include")
  173. let g:zenburn_alternate_Include = 0
  174. endif
  175. if ! exists("g:zenburn_disable_Label_underline")
  176. let g:zenburn_disable_Label_underline = 0
  177. endif
  178. if ! exists("g:zenburn_unified_CursorColumn")
  179. let g:zenburn_unified_CursorColumn = 0
  180. endif
  181. if ! exists("g:zenburn_old_Visual")
  182. let g:zenburn_old_Visual = 0
  183. endif
  184. if ! exists("g:zenburn_enable_TagHighlight")
  185. let g:zenburn_enable_TagHighlight = 0
  186. endif
  187. " -----------------------------------------------
  188. set background=dark
  189. hi clear
  190. if exists("syntax_on")
  191. syntax reset
  192. endif
  193. let g:colors_name="zenburn"
  194. hi Boolean guifg=#dca3a3 ctermfg=181
  195. hi Character guifg=#dca3a3 gui=bold ctermfg=181 cterm=bold
  196. hi Comment guifg=#7f9f7f gui=italic ctermfg=108
  197. hi Conditional guifg=#f0dfaf gui=bold ctermfg=223 cterm=bold
  198. hi Constant guifg=#dca3a3 gui=bold ctermfg=181 cterm=bold
  199. hi Cursor guifg=#000d18 guibg=#8faf9f gui=bold ctermfg=233 ctermbg=109 cterm=bold
  200. hi Debug guifg=#bca3a3 gui=bold ctermfg=181 cterm=bold
  201. hi Define guifg=#ffcfaf gui=bold ctermfg=223 cterm=bold
  202. hi Delimiter guifg=#8f8f8f ctermfg=245
  203. hi DiffAdd guifg=#709080 guibg=#313c36 gui=bold ctermfg=66 ctermbg=237 cterm=bold
  204. hi DiffChange guibg=#333333 ctermbg=236
  205. hi DiffDelete guifg=#333333 guibg=#464646 ctermfg=236 ctermbg=238
  206. hi DiffText guifg=#ecbcbc guibg=#41363c gui=bold ctermfg=217 ctermbg=237 cterm=bold
  207. hi Directory guifg=#9fafaf gui=bold ctermfg=109 cterm=bold
  208. hi ErrorMsg guifg=#80d4aa guibg=#2f2f2f gui=bold ctermfg=115 ctermbg=236 cterm=bold
  209. hi Exception guifg=#c3bf9f gui=bold ctermfg=249 cterm=bold
  210. hi Float guifg=#c0bed1 ctermfg=251
  211. hi FoldColumn guifg=#93b3a3 guibg=#3f4040
  212. hi Folded guifg=#93b3a3 guibg=#3f4040
  213. hi Function guifg=#efef8f ctermfg=228
  214. hi Identifier guifg=#efdcbc ctermfg=223 cterm=none
  215. hi IncSearch guifg=#f8f893 guibg=#385f38 ctermfg=228 ctermbg=23
  216. hi Keyword guifg=#f0dfaf gui=bold ctermfg=223 cterm=bold
  217. hi Macro guifg=#ffcfaf gui=bold ctermfg=223 cterm=bold
  218. hi ModeMsg guifg=#ffcfaf gui=none ctermfg=223 cterm=none
  219. hi MoreMsg guifg=#ffffff gui=bold ctermfg=231 cterm=bold
  220. hi Number guifg=#8cd0d3 ctermfg=116
  221. hi Operator guifg=#f0efd0 ctermfg=230
  222. hi PmenuSbar guibg=#2e3330 guifg=#000000 ctermfg=16 ctermbg=236
  223. hi PmenuThumb guibg=#a0afa0 guifg=#040404 ctermfg=232 ctermbg=151
  224. hi PreCondit guifg=#dfaf8f gui=bold ctermfg=180 cterm=bold
  225. hi PreProc guifg=#ffcfaf gui=bold ctermfg=223 cterm=bold
  226. hi Question guifg=#ffffff gui=bold ctermfg=231 cterm=bold
  227. hi Repeat guifg=#ffd7a7 gui=bold ctermfg=223 cterm=bold
  228. hi Search guifg=#ffffe0 guibg=#284f28 ctermfg=230 ctermbg=22
  229. hi SignColumn guifg=#9fafaf gui=bold ctermfg=109 cterm=bold
  230. hi SpecialChar guifg=#dca3a3 gui=bold ctermfg=181 cterm=bold
  231. hi SpecialComment guifg=#82a282 gui=bold ctermfg=108 cterm=bold
  232. hi Special guifg=#cfbfaf ctermfg=181
  233. hi SpecialKey guifg=#9ece9e ctermfg=151
  234. hi Statement guifg=#e3ceab gui=none ctermfg=187 cterm=none
  235. hi StatusLine guifg=#313633 guibg=#ccdc90 ctermfg=236 ctermbg=186
  236. hi StatusLineNC guifg=#2e3330 guibg=#88b090 ctermfg=235 ctermbg=108
  237. hi StorageClass guifg=#c3bf9f gui=bold ctermfg=249 cterm=bold
  238. hi String guifg=#cc9393 ctermfg=174
  239. hi Structure guifg=#efefaf gui=bold ctermfg=229 cterm=bold
  240. hi Tag guifg=#e89393 gui=bold ctermfg=181 cterm=bold
  241. hi Title guifg=#efefef gui=bold ctermfg=255 ctermbg=NONE cterm=bold
  242. hi Todo guifg=#dfdfdf guibg=NONE gui=bold ctermfg=254 ctermbg=NONE cterm=bold
  243. hi Typedef guifg=#dfe4cf gui=bold ctermfg=253 cterm=bold
  244. hi Type guifg=#dfdfbf gui=bold ctermfg=187 cterm=bold
  245. hi Underlined guifg=#dcdccc gui=underline ctermfg=188 cterm=underline
  246. hi VertSplit guifg=#2e3330 guibg=#688060 ctermfg=236 ctermbg=65
  247. hi VisualNOS guifg=#333333 guibg=#f18c96 gui=bold,underline ctermfg=236 ctermbg=210 cterm=bold
  248. hi WarningMsg guifg=#ffffff guibg=#333333 gui=bold ctermfg=231 ctermbg=236 cterm=bold
  249. hi WildMenu guifg=#cbecd0 guibg=#2c302d gui=underline ctermfg=194 ctermbg=236 cterm=underline
  250. " spellchecking, always "bright" term background
  251. hi SpellBad guisp=#bc6c4c guifg=#dc8c6c ctermfg=209 ctermbg=237
  252. hi SpellCap guisp=#6c6c9c guifg=#8c8cbc ctermfg=103 ctermbg=237
  253. hi SpellRare guisp=#bc6c9c guifg=#bc8cbc ctermfg=139 ctermbg=237
  254. hi SpellLocal guisp=#7cac7c guifg=#9ccc9c ctermfg=151 ctermbg=237
  255. if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
  256. " use new darker background
  257. hi Normal guifg=#dcdccc guibg=#1f1f1f ctermfg=188 ctermbg=234
  258. hi ColorColumn guibg=#33332f ctermbg=235
  259. hi CursorLine guibg=#121212 gui=bold ctermbg=233 cterm=none
  260. hi CursorLineNr guifg=#f2f3bb guibg=#161616 ctermfg=229 ctermbg=233
  261. if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
  262. hi CursorColumn guibg=#121212 gui=bold ctermbg=233 cterm=none
  263. else
  264. hi CursorColumn guibg=#2b2b2b ctermbg=235 cterm=none
  265. endif
  266. hi FoldColumn guibg=#161616 ctermbg=233 ctermfg=109
  267. hi Folded guibg=#161616 ctermbg=233 ctermfg=109
  268. hi LineNr guifg=#9fafaf guibg=#161616 ctermfg=248 ctermbg=233
  269. hi NonText guifg=#404040 gui=bold ctermfg=238
  270. hi Pmenu guibg=#242424 guifg=#ccccbc ctermfg=251 ctermbg=235
  271. hi PmenuSel guibg=#353a37 guifg=#ccdc90 gui=bold ctermfg=187 ctermbg=236 cterm=bold
  272. hi MatchParen guifg=#f0f0c0 guibg=#383838 gui=bold ctermfg=229 ctermbg=237 cterm=bold
  273. hi SignColumn guibg=#181818 ctermbg=233
  274. hi SpecialKey guibg=#242424
  275. hi TabLine guifg=#88b090 guibg=#313633 gui=none ctermbg=236 ctermfg=108 cterm=none
  276. hi TabLineSel guifg=#ccd990 guibg=#222222 ctermbg=235 ctermfg=186 cterm=bold
  277. hi TabLineFill guifg=#88b090 guibg=#313633 gui=none ctermbg=236 ctermfg=108 cterm=none
  278. else
  279. " Original, lighter background
  280. hi Normal guifg=#dcdccc guibg=#3f3f3f ctermfg=188 ctermbg=237
  281. hi ColorColumn guibg=#484848 ctermbg=238
  282. hi CursorLine guibg=#434443 ctermbg=238 cterm=none
  283. hi CursorLineNr guifg=#d2d39b guibg=#262626 ctermfg=230 ctermbg=235
  284. if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
  285. hi CursorColumn guibg=#434343 ctermbg=238 cterm=none
  286. else
  287. hi CursorColumn guibg=#4f4f4f ctermbg=239 cterm=none
  288. endif
  289. hi FoldColumn guibg=#333333 ctermbg=236 ctermfg=109
  290. hi Folded guibg=#333333 ctermbg=236 ctermfg=109
  291. hi LineNr guifg=#9fafaf guibg=#262626 ctermfg=248 ctermbg=235
  292. hi NonText guifg=#5b605e gui=bold ctermfg=240
  293. hi Pmenu guibg=#2c2e2e guifg=#9f9f9f ctermfg=248 ctermbg=235
  294. hi PmenuSel guibg=#242424 guifg=#d0d0a0 gui=bold ctermfg=187 ctermbg=235 cterm=bold
  295. hi MatchParen guifg=#b2b2a0 guibg=#2e2e2e gui=bold ctermfg=145 ctermbg=236 cterm=bold
  296. hi SignColumn guibg=#343434 ctermbg=236
  297. hi SpecialKey guibg=#444444
  298. hi TabLine guifg=#d0d0b8 guibg=#222222 gui=none ctermbg=235 ctermfg=187 cterm=none
  299. hi TabLineSel guifg=#f0f0b0 guibg=#333333 gui=bold ctermbg=236 ctermfg=229 cterm=bold
  300. hi TabLineFill guifg=#dccdcc guibg=#101010 gui=none ctermbg=233 ctermfg=188 cterm=none
  301. hi StatusLine ctermbg=144
  302. endif
  303. if exists("g:zenburn_force_dark_Background") && g:zenburn_force_dark_Background
  304. " Force dark background, because of a bug in VIM: VIM sets background
  305. " automatically during "hi Normal ctermfg=X"; it misinterprets the high
  306. " value (234 or 237 above) as a light color, and wrongly sets background to
  307. " light. See ":help highlight" for details.
  308. set background=dark
  309. endif
  310. if exists("g:zenburn_transparent") && g:zenburn_transparent
  311. hi Normal ctermbg=0 guibg=#000000
  312. hi Statement ctermbg=NONE
  313. hi Title ctermbg=NONE
  314. hi Todo ctermbg=NONE
  315. hi Underlined ctermbg=NONE
  316. hi DiffAdd ctermbg=NONE
  317. hi DiffText ctermbg=NONE
  318. hi ErrorMsg ctermbg=NONE
  319. hi LineNr ctermbg=NONE
  320. endif
  321. if exists("g:zenburn_old_Visual") && g:zenburn_old_Visual
  322. if exists("g:zenburn_alternate_Visual") && g:zenburn_alternate_Visual
  323. " Visual with more contrast, thanks to Steve Hall & Cream posse
  324. " gui=none fixes weird highlight problem in at least GVim 7.0.66, thanks to Kurt Maier
  325. hi Visual guifg=#000000 guibg=#71d3b4 gui=none ctermfg=16 ctermbg=79 cterm=none
  326. hi VisualNOS guifg=#000000 guibg=#71d3b4 gui=none ctermfg=16 ctermbg=79 cterm=none
  327. else
  328. " use default visual
  329. hi Visual guifg=#233323 guibg=#71d3b4 gui=none ctermfg=235 ctermbg=79 cterm=none
  330. hi VisualNOS guifg=#233323 guibg=#71d3b4 gui=none ctermfg=235 ctermbg=79 cterm=none
  331. endif
  332. else
  333. " new Visual style
  334. if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
  335. " high contrast
  336. "hi Visual guibg=#304a3d
  337. "hi VisualNos guibg=#304a3d
  338. "TODO no nice greenish in console, 65 is closest. use full black instead,
  339. "although i like the green..!
  340. hi Visual guibg=#0f0f0f ctermbg=232
  341. hi VisualNOS guibg=#0f0f0f ctermbg=232
  342. if exists("g:zenburn_transparent") && g:zenburn_transparent
  343. hi Visual ctermbg=235
  344. endif
  345. else
  346. " low contrast
  347. hi Visual guibg=#2f2f2f ctermbg=235
  348. hi VisualNOS guibg=#2f2f2f ctermbg=235
  349. endif
  350. endif
  351. if exists("g:zenburn_alternate_Error") && g:zenburn_alternate_Error
  352. " use more jumpy Error
  353. hi Error guifg=#e37170 guibg=#664040 gui=bold ctermfg=210 ctermbg=52 cterm=bold
  354. else
  355. " default is something more zenburn-compatible
  356. hi Error guifg=#e37170 guibg=#3d3535 gui=bold ctermfg=167 ctermbg=236 cterm=bold
  357. endif
  358. if exists("g:zenburn_alternate_Include") && g:zenburn_alternate_Include
  359. " original setting
  360. hi Include guifg=#ffcfaf gui=bold ctermfg=223 cterm=bold
  361. else
  362. " new, less contrasted one
  363. hi Include guifg=#dfaf8f gui=bold ctermfg=180 cterm=bold
  364. endif
  365. if exists("g:zenburn_disable_Label_underline") && g:zenburn_disable_Label_underline
  366. hi Label guifg=#dfcfaf ctermfg=187
  367. else
  368. hi Label guifg=#dfcfaf gui=underline ctermfg=187 cterm=underline
  369. endif
  370. if exists("g:zenburn_color_also_Ignore") && g:zenburn_color_also_Ignore
  371. " color the Ignore groups
  372. " note: if you get strange coloring for your files, turn this off (unlet)
  373. if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
  374. hi Ignore ctermfg=238
  375. else
  376. hi Ignore guifg=#545a4f ctermfg=240
  377. endif
  378. endif
  379. " EXPERIMENTAL TagHighlight support
  380. " link/set sensible defaults here;
  381. "
  382. " For now I mostly link to subset of Zenburn colors, the linkage is based
  383. " on appearance, not semantics. In later versions I might define more new colours.
  384. "
  385. " HELP NEEDED to make this work properly.
  386. if exists("g:zenburn_enable_TagHighlight") && g:zenburn_enable_TagHighlight
  387. " CTag support may vary, but the first step is to start using it so
  388. " we can fix it!
  389. "
  390. " Consult /plugin/TagHighlight/data/kinds.txt for info on your
  391. " language and what's been defined.
  392. "
  393. " There is potential for language indepedent features here. (Acutally,
  394. " seems it may be required for this to be useful...) This way we can
  395. " implement features depending on how well CTags are currently implemented
  396. " for the language. ie. Global problem for python is annoying. Special
  397. " colors are defined for special language features, etc..
  398. "
  399. " For now all I care about is python supported features:
  400. " c:CTagsClass
  401. " f:CTagsFunction
  402. " i:CTagsImport
  403. " m:CTagsMember
  404. " v:CTagsGlobalVariable
  405. "
  406. " Note: TagHighlight defaults to setting new tags to Keyword
  407. " highlighting.
  408. " TODO conditionally run each section
  409. " BEGIN Python Section
  410. hi link Class Function
  411. hi link Import PythonInclude
  412. hi link Member Function
  413. "Note: Function is already defined
  414. " Highlighter seems to think a lot of things are global variables even
  415. " though they're not. Example: python method-local variable is
  416. " coloured as a global variable. They should not be global, since
  417. " they're not visible outside the method.
  418. " If this is some very bright colour group then things look bad.
  419. " hi link GlobalVariable Identifier
  420. " Because of this problem I am disabling the feature by setting it to
  421. " Normal instead
  422. hi link GlobalVariable Normal
  423. " END Python Section
  424. " Starting point for other languages.
  425. hi link GlobalConstant Constant
  426. hi link EnumerationValue Float
  427. hi link EnumerationName Identifier
  428. hi link DefinedName WarningMsg
  429. hi link LocalVariable WarningMsg
  430. hi link Structure WarningMsg
  431. hi link Union WarningMsg
  432. endif
  433. " Terminal support for Vim 8+
  434. if version >= 800
  435. hi Terminal ctermbg=232 guibg=#0f0f0f ctermfg=248 guifg=#a8a8a8
  436. endif
  437. " TODO check for more obscure syntax groups that they're ok