vim-hardaway.vim 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. " vim: fdm=marker
  2. "
  3. " Name: Vim Hardaway
  4. " Author: Evan Turner <ev@evturn.com>
  5. " Maintainer: Evan Turner <ev@evturn.com>
  6. " Repository: https://github.com/evturn/vim-hardaway
  7. " License: MIT
  8. " Last Updated: Nov 2018
  9. " Note: Zip it up and zip it out.
  10. let g:colors_name = 'vim-hardaway'
  11. let g:airline_theme = 'vim_hardaway'
  12. set background=dark
  13. highlight clear
  14. if has("syntax_on")
  15. syntax reset
  16. endif
  17. " Color palette {{{
  18. " Color: Black #000000 0
  19. " Color: Navy #000080 4
  20. " Color: Grey #808080 8
  21. " Color: Yellow #ffff00 11
  22. " Color: Aqua #00ffff 14
  23. " Color: White #ffffff 15
  24. " Color: DodgerBlue1 #0087ff 33
  25. " Color: SpringGreen2 #00d787 42
  26. " Color: Turquoise2 #00d7ff 45
  27. " Color: SpringGreen1 #00ff87 48
  28. " Color: MediumSpringGreen #00ffaf 49
  29. " Color: RoyalBlue1 #5f5fff 63
  30. " Color: SteelBlue1 #5fd7ff 81
  31. " Color: MediumPurple1 #af87ff 141
  32. " Color: DarkSeaGreen2 #afffaf 157
  33. " Color: Yellow2 #d7ff00 190
  34. " Color: Red1 #ff0000 196
  35. " Color: DeepPink1 #ff0087 198
  36. " Color: OrangeRed1 #ff5f00 202
  37. " Color: Grey3 #080808 232
  38. " Color: Grey7 #121212 233
  39. " Color: Grey11 #1c1c1c 234
  40. " Color: Grey15 #262626 235
  41. " Color: Grey19 #303030 236
  42. " Color: Grey23 #3a3a3a 237
  43. " Color: Grey27 #444444 238
  44. " Color: Grey35 #585858 240
  45. " Color: Grey50 #808080 244
  46. " }}}
  47. " Base {{{
  48. highlight Boolean ctermfg=33 guifg=#0087ff
  49. highlight Character ctermfg=15 guifg=#ffffff
  50. highlight ColorColumn ctermfg=240 ctermbg=232 guifg=#585858 guibg=#808080
  51. highlight Comment ctermfg=240 guifg=#585858
  52. highlight Conceal ctermfg=14 ctermbg=233 guifg=#00ffff guibg=#121212
  53. highlight Conditional ctermfg=198 guifg=#ff0087
  54. highlight Constant ctermfg=14 guifg=#00ffff
  55. highlight Cursor ctermfg=0 ctermbg=81 guifg=#000000 guibg=#5fd7ff
  56. highlight CursorIM ctermfg=0 ctermbg=81 guifg=#000000 guibg=#5fd7ff
  57. highlight CursorColumn ctermbg=233 guibg=#121212 cterm=none gui=none
  58. highlight CursorLine ctermbg=233 guibg=#121212 cterm=none gui=none
  59. highlight Debug ctermfg=4 guifg=#000080
  60. highlight Define ctermfg=198 guifg=#ff0087
  61. highlight Delimiter ctermfg=14 guifg=#00ffff
  62. highlight DiffAdd ctermfg=49 ctermbg=235 guifg=#00ffaf guibg=#262626
  63. highlight DiffChange ctermfg=49 ctermbg=235 guifg=#00ffaf guibg=#262626
  64. highlight DiffDelete ctermfg=198 ctermbg=235 guifg=#ff0087 guibg=#262626 cterm=italic gui=italic
  65. highlight DiffText ctermfg=49 ctermbg=235 guifg=#00ffaf guibg=#262626
  66. highlight Directory ctermfg=81 guifg=#5fd7ff
  67. highlight Error ctermfg=202 ctermbg=233 guifg=#ff5f00 guibg=#121212
  68. highlight ErrorMsg ctermfg=49 ctermbg=233 guifg=#00ffaf guibg=#121212
  69. highlight Exception ctermfg=196 guifg=#ff0087
  70. highlight Float ctermfg=141 guifg=#af87ff
  71. highlight FoldColumn ctermfg=240 ctermbg=233 guifg=#585858 guibg=#121212
  72. highlight Folded ctermfg=240 ctermbg=235 guifg=#585858 guibg=#262626
  73. highlight Function ctermfg=190 guifg=#d7ff00
  74. highlight Identifier ctermfg=45 guifg=#00d7ff
  75. highlight Ignore ctermfg=244 ctermbg=233 guifg=#808080 guibg=#121212
  76. highlight IncSearch ctermfg=0 ctermbg=190 guifg=#000000 guibg=#d7ff00 cterm=italic gui=italic
  77. highlight Include ctermfg=198 guifg=#ff0087
  78. highlight Label ctermfg=198 guifg=#ff0087
  79. highlight LineNr ctermfg=236 guifg=#303030
  80. highlight Macro ctermfg=48 guifg=#00ffaf
  81. highlight MatchParen ctermbg=237 guibg=#3a3a3a
  82. highlight ModeMsg ctermfg=49 ctermbg=233 guifg=#00ffaf guibg=#121212
  83. highlight MoreMsg ctermfg=49 ctermbg=233 guifg=#00ffaf guibg=#121212
  84. highlight NonText ctermfg=236 guifg=#303030
  85. " highlight Normal
  86. highlight Number ctermfg=141 guifg=#af87ff
  87. highlight Operator ctermfg=198 guifg=#ff0087
  88. " highlight PMenu
  89. " highlight PMenuSel
  90. " highlight PMenuSbar
  91. " highlight PMenuThumb
  92. highlight PreCondit ctermfg=33 guifg=#0087ff
  93. highlight PreProc ctermfg=49 guifg=#00ffaf
  94. highlight Question ctermfg=49 ctermbg=233 guifg=#00ffaf guibg=#121212
  95. highlight Repeat ctermfg=198 guifg=#ff0087
  96. highlight Search ctermfg=0 ctermbg=190 guifg=#000000 guibg=#d7ff00
  97. " highlight SignColumn
  98. highlight Special ctermfg=81 guifg=#5fd7ff
  99. highlight SpecialChar ctermfg=33 guifg=#0087ff
  100. highlight SpecialComment ctermfg=238 guifg=#444444
  101. highlight SpecialKey ctermfg=235 guifg=#262626
  102. highlight SpellBad ctermbg=235 guibg=#262626
  103. " highlight SpellLocal
  104. highlight SpellCap ctermfg=190 guifg=#d7ff00
  105. highlight SpellRare ctermbg=235 guibg=#262626
  106. highlight StatusLine ctermfg=235 guifg=#262626
  107. highlight StatusLineNC ctermfg=235 guifg=#262626
  108. highlight Statement ctermfg=198 guifg=#ff0087
  109. highlight StorageClass ctermfg=198 guifg=#ff0087
  110. highlight String ctermfg=49 guifg=#00ffaf
  111. highlight Structure ctermfg=81 guifg=#5fd7ff gui=none
  112. " highlight TabLine
  113. " highlight TabLineFill
  114. " highlight TabLineSel
  115. highlight Tag ctermfg=198 guifg=#ff0087
  116. " highlight Title
  117. highlight Todo ctermfg=81 ctermbg=233 guifg=#5fd7ff guibg=#121212
  118. highlight VertSplit ctermfg=233 ctermbg=233 guifg=#121212 guibg=#121212 cterm=none
  119. " highlight Visual
  120. " highlight VisualNOS
  121. highlight WarningMsg ctermbg=235 guibg=#262626
  122. " highlight WildMenu
  123. highlight keyword ctermfg=81 guifg=#5fd7ff cterm=bold gui=bold
  124. highlight type ctermfg=81 guifg=#5fd7ff
  125. highlight Type ctermfg=81 guifg=#5fd7ff
  126. highlight Typedef ctermfg=81 guifg=#5fd7ff
  127. highlight typedef ctermfg=81 guifg=#5fd7ff
  128. " highlight Underlined
  129. " }}}
  130. " CSS / PostCSS {{{
  131. highlight cssAttr ctermfg=14 guifg=#00ffff
  132. highlight cssClassName ctermfg=198 guifg=#ff0087
  133. highlight cssClassNameDot ctermfg=198 guifg=#ff0087
  134. highlight cssColor ctermfg=14 guifg=#00ffff
  135. highlight cssCommonAttr ctermfg=81 guifg=#5fd7ff
  136. highlight cssFlexibleBoxAttr ctermfg=14 guifg=#00ffff
  137. highlight cssFlexibleBoxProp ctermfg=81 guifg=#5fd7ff
  138. highlight cssFontDescriptor ctermfg=198 guifg=#ff0087
  139. highlight cssFontDescriptorFunction ctermfg=141 guifg=#af87ff
  140. highlight cssFunction ctermfg=198 guifg=#ff0087
  141. highlight cssFunctionComma ctermfg=14 guifg=#00ffff
  142. highlight cssFunctionName ctermfg=198 guifg=#ff0087
  143. highlight cssIdentifier ctermfg=49 guifg=#00ffaf
  144. highlight cssIncludeKeyword ctermfg=198 guifg=#ff0087
  145. highlight cssKeyFrameSelector ctermfg=141 guifg=#af87ff
  146. highlight cssMediaProp ctermfg=81 guifg=#5fd7ff
  147. highlight cssNoise ctermfg=14 guifg=#00ffff
  148. highlight cssPagePseudo ctermfg=11 guifg=#ffff00
  149. highlight cssProp ctermfg=81 guifg=#5fd7ff
  150. highlight cssPseudoClass ctermfg=11 guifg=#ffff00
  151. highlight cssPseudoClassFn ctermfg=11 guifg=#ffff00
  152. highlight cssPseudoClassId ctermfg=11 guifg=#ffff00
  153. highlight cssPseudoClassLang ctermfg=11 guifg=#ffff00
  154. highlight cssSelectorOp ctermfg=11 guifg=#ffff00
  155. highlight cssSelectorOp2 ctermfg=11 guifg=#ffff00
  156. highlight cssTagName ctermfg=198 guifg=#ff0087
  157. highlight cssUnitDecorators ctermfg=14 guifg=#00ffff
  158. highlight cssValueAngle ctermfg=14 guifg=#00ffff
  159. highlight cssValueFrequency ctermfg=14 guifg=#00ffff
  160. highlight cssValueInteger ctermfg=141 guifg=#af87ff
  161. highlight cssValueLength ctermfg=141 guifg=#af87ff
  162. highlight cssValueNumber ctermfg=141 guifg=#af87ff
  163. highlight cssValueTime ctermfg=14 guifg=#00ffff
  164. highlight cssVariable ctermfg=11 guifg=#ffff00
  165. highlight cssVariableValue ctermfg=11 guifg=#ffff00
  166. highlight cssVendor ctermfg=198 guifg=#ff0087
  167. " }}}
  168. " Haskell {{{
  169. highlight ConId ctermfg=81 guifg=#5fd7ff
  170. highlight haskellBlock ctermfg=15 guifg=#ffffff
  171. highlight haskellBottom ctermfg=48 guifg=#00ff87 gui=underline cterm=underline
  172. highlight haskellBrackets ctermfg=15 guifg=#ffffff
  173. highlight haskellDecl ctermfg=198 guifg=#ff0087
  174. highlight haskellDeclKeyword ctermfg=198 guifg=#ff0087
  175. highlight haskellDefault ctermfg=15 guifg=#ffffff
  176. highlight haskellIdentifier ctermfg=11 guifg=#ffff00
  177. highlight haskellImport ctermfg=81 guifg=#5fd7ff
  178. highlight haskellImportKeywords ctermfg=198 guifg=#ff0087
  179. highlight haskellKeyword ctermfg=198 guifg=#ff0087
  180. highlight haskellLet ctermfg=198 guifg=#ff0087
  181. highlight haskellParens ctermfg=15 guifg=#ffffff
  182. highlight haskellPatternKeyword ctermfg=48 guifg=#00ff87
  183. highlight haskellPragma ctermfg=11 guifg=#ffff00 gui=italic cterm=italic
  184. highlight haskellPreProc ctermfg=48 guifg=#00ff87 gui=undercurl
  185. highlight haskellStatic ctermfg=48 guifg=#00ff87 gui=undercurl
  186. highlight haskellType ctermfg=81 guifg=#5fd7ff
  187. highlight haskellTypeRoles ctermfg=48 guifg=#00ff87
  188. highlight haskellWhere ctermfg=198 guifg=#ff0087
  189. highlight hsCharacter ctermfg=15 guifg=#ffffff gui=italic cterm=italic
  190. highlight hsComment ctermfg=8 guifg=#808080
  191. highlight hsConSym ctermfg=198 guifg=#ff0087
  192. highlight hsConditional ctermfg=198 guifg=#ff0087
  193. highlight hsDebug ctermfg=48 guifg=#00ff87 gui=underline cterm=underline
  194. highlight hsDelimiter ctermfg=15 guifg=#ffffff
  195. highlight hsEnumConst ctermfg=11 guifg=#ffff00
  196. highlight hsExitCode ctermfg=81 guifg=#5fd7ff
  197. highlight hsFloat ctermfg=141 guifg=#af87ff
  198. highlight hsForeign ctermfg=48 guifg=#00ff87
  199. highlight hsImport ctermfg=198 guifg=#ff0087
  200. highlight hsImportMod ctermfg=198 guifg=#ff0087
  201. highlight hsInfix ctermfg=198 guifg=#ff0087
  202. highlight hsLineComment ctermfg=8 guifg=#808080
  203. highlight hsLineComment ctermfg=8 guifg=#808080
  204. highlight hsMaybe ctermfg=81 guifg=#5fd7ff
  205. highlight hsModule ctermfg=198 guifg=#ff0087
  206. highlight hsNumber ctermfg=141 guifg=#af87ff
  207. highlight hsOperator ctermfg=198 guifg=#ff0087
  208. highlight hsOrdering ctermfg=81 guifg=#5fd7ff
  209. highlight hsPragma ctermfg=11 guifg=#ffff00 gui=italic cterm=italic
  210. highlight hsSpecialChar ctermfg=11 guifg=#ffff00
  211. highlight hsSpecialCharError ctermfg=202 guifg=#ff5f00
  212. highlight hsStatement ctermfg=81 guifg=#5fd7ff
  213. highlight hsString ctermfg=49 guifg=#00ffaf
  214. highlight hsStructure ctermfg=198 guifg=#ff0087
  215. highlight hsType ctermfg=81 guifg=#5fd7ff
  216. highlight hsTypedef ctermfg=198 guifg=#ff0087
  217. highlight hsVarSym ctermfg=198 guifg=#ff0087
  218. " }}}
  219. " JavaScript {{{
  220. highlight jsArrowFuncArgs ctermfg=202 guifg=#ff5f00
  221. highlight jsArrowFunction ctermfg=81 guifg=#5fd7ff
  222. highlight jsAsyncKeyword ctermfg=81 guifg=#5fd7ff gui=italic cterm=italic
  223. highlight jsBlockLabel ctermfg=81 guifg=#5fd7ff
  224. highlight jsBlockLabelKey ctermfg=81 guifg=#5fd7ff
  225. highlight jsBooleanFalse ctermfg=63 guifg=#5fd7ff
  226. highlight jsBooleanTrue ctermfg=63 guifg=#5f5fff
  227. highlight jsBuiltins ctermfg=81 guifg=#5fd7ff
  228. highlight jsCharacter ctermfg=81 guifg=#5fd7ff
  229. highlight jsClassDefinition ctermfg=11 guifg=#ffff00 gui=italic cterm=italic
  230. highlight jsClassFuncName ctermfg=190 guifg=#d7ff00 gui=italic cterm=italic
  231. highlight jsClassKeyword ctermfg=81 guifg=#5fd7ff
  232. highlight jsClassMethodType ctermfg=198 guifg=#ff0087
  233. highlight jsClassProperty ctermfg=190 guifg=#d7ff00
  234. highlight jsComment ctermfg=238 guifg=#444444
  235. highlight jsDecorator ctermfg=198 guifg=#ff0087
  236. highlight jsDecoratorFunction ctermfg=81 guifg=#5fd7ff
  237. highlight jsDestructuringAssignment ctermfg=14 guifg=#00ffff
  238. highlight jsDestructuringBraces ctermfg=14 guifg=#00ffff
  239. highlight jsDestructuringNoise ctermfg=14 guifg=#00ffff
  240. highlight jsExport ctermfg=198 guifg=#ff0087
  241. highlight jsExportDefault ctermfg=198 guifg=#ff0087
  242. highlight jsExtendsKeyword ctermfg=81 guifg=#5fd7ff gui=none cterm=none
  243. highlight jsFloat ctermfg=141 guifg=#af87ff
  244. highlight jsForAwait ctermfg=198 guifg=#ff0087
  245. highlight jsFrom ctermfg=198 guifg=#ff0087
  246. highlight jsFuncArgOperator ctermfg=202 guifg=#ff5f00
  247. highlight jsFuncArgs ctermfg=202 guifg=#ff5f00
  248. highlight jsFuncName ctermfg=190 guifg=#d7ff00 gui=italic cterm=italic
  249. highlight jsFuncParens ctermfg=81 guifg=#5fd7ff
  250. highlight jsFunction ctermfg=81 guifg=#5fd7ff
  251. highlight jsGenerator ctermfg=81 guifg=#5fd7ff
  252. highlight jsGlobalNodeObjects ctermfg=81 guifg=#5fd7ff
  253. highlight jsGlobalObjects ctermfg=81 guifg=#5fd7ff
  254. highlight jsImport ctermfg=198 guifg=#ff0087
  255. highlight jsLabel ctermfg=198 guifg=#ff0087
  256. highlight jsModuleAs ctermfg=198 guifg=#ff0087
  257. highlight jsModuleAsterisk ctermfg=198 guifg=#ff0087
  258. highlight jsNoise ctermfg=14 guifg=#00ffff
  259. highlight jsNull ctermfg=81 guifg=#5fd7ff
  260. highlight jsNumber ctermfg=141 guifg=#af87ff
  261. highlight jsObjectFuncName ctermfg=81 guifg=#5fd7ff gui=italic cterm=italic
  262. highlight jsObjectKey ctermfg=14 guifg=#00ffff
  263. highlight jsObjectKeyComputed ctermfg=157 guifg=#afffaf
  264. highlight jsObjectKeyString ctermfg=157 guifg=#afffaf
  265. highlight jsObjectMethodType ctermfg=190 guifg=#d7ff00
  266. highlight jsObjectStringKey ctermfg=157 guifg=#afffaf
  267. highlight jsPrototype ctermfg=81 guifg=#5fd7ff gui=italic cterm=italic
  268. highlight jsSpecial ctermfg=33 guifg=#0087ff
  269. highlight jsStorageClass ctermfg=81 guifg=#5fd7ff
  270. highlight jsString ctermfg=49 guifg=#00ffaf
  271. highlight jsSuper ctermfg=81 guifg=#5fd7ff gui=italic cterm=italic
  272. highlight jsSwitchBraces ctermfg=81 guifg=#5fd7ff
  273. highlight jsSwitchCase ctermfg=198 guifg=#ff0087
  274. highlight jsSwitchColon ctermfg=198 guifg=#ff0087
  275. highlight jsTaggedTemplate ctermfg=198 guifg=#ff0087
  276. highlight jsTemplateBraces ctermfg=198 guifg=#ff0087
  277. highlight jsTemplateExpression ctermfg=198 guifg=#ff0087
  278. highlight jsTernaryIfOperator ctermfg=198 guifg=#ff0087
  279. highlight jsThis ctermfg=81 guifg=#5fd7ff
  280. highlight jsUndefined ctermfg=81 guifg=#5fd7ff
  281. " }}}
  282. " NERDTree {{{
  283. highlight NERDTreeCWD ctermfg=49 guifg=#00ffaf gui=italic cterm=italic
  284. highlight NERDTREEDir ctermfg=49 guifg=#00ffaf gui=italic cterm=italic
  285. highlight NERDTreeFile ctermfg=81 guifg=#5fd7ff
  286. highlight NERDTreeClosable ctermfg=11 guifg=#ffff00
  287. highlight NERDTreeOpenable ctermfg=81 guifg=#5fd7ff
  288. highlight NERDTreeDirSlash ctermfg=81 guifg=#5fd7ff
  289. highlight NERDTreeHelp ctermfg=49 guifg=#00ffaf
  290. highlight NERDTreeHelpKey ctermfg=81 guifg=#5fd7ff
  291. highlight NERDTreeHelpTitle ctermfg=190 guifg=#d7ff00 gui=underline,italic
  292. " }}}
  293. " netrw {{{
  294. highlight netrwSpecial ctermfg=45 guifg=turquoise2
  295. highlight netrwClassify ctermfg=45 guifg=turquoise2
  296. highlight netrwExe ctermfg=240 guifg=grey35
  297. highlight netrwTreeBar ctermfg=240 ctermbg=233 guifg=grey35 guibg=grey7
  298. highlight netrwPlain ctermfg=81 guifg=steelblue1
  299. " }}}
  300. " Python {{{
  301. highlight pythonBuiltinFunc ctermfg=81 guifg=#5fd7ff
  302. highlight pythonBuiltinObj ctermfg=81 guifg=#5fd7ff
  303. highlight pythonStatement ctermfg=81 guifg=#5fd7ff
  304. " }}}
  305. " XML / JSX {{{
  306. highlight xmlTag ctermfg=198 guifg=deeppink1
  307. highlight xmlTagName ctermfg=198 guifg=deeppink1
  308. highlight xmlEndTag ctermfg=198 guifg=deeppink1
  309. highlight xmlAttrib ctermfg=81 guifg=steelblue1
  310. highlight xmlEqual ctermfg=198 guifg=deeppink1
  311. " }}}
  312. " SH / Bash {{{
  313. highlight shStatement ctermfg=81 guifg=steelblue1
  314. highlight bashStatement ctermfg=81 guifg=steelblue1
  315. highlight shArithmetic ctermfg=141 guifg=mediumpurple1
  316. highlight shEscape ctermfg=15 guifg=white
  317. highlight shCtrlSeq ctermfg=15 guifg=white
  318. highlight shSpecial ctermfg=15 guifg=white
  319. highlight shCaseCommandSub ctermfg=15 guifg=white
  320. highlight shCommandSub ctermfg=15 guifg=white
  321. highlight shDerefSimple ctermfg=15 guifg=white
  322. highlight shDeref ctermfg=15 guifg=white
  323. highlight shExSingleQuote ctermfg=49 guifg=mediumspringgreen
  324. highlight shExDoubleQuote ctermfg=49 guifg=mediumspringgreen
  325. highlight shStatement ctermfg=198 guifg=deeppink1
  326. highlight shExpr ctermfg=198 guifg=deeppink1
  327. highlight shHereDoc ctermfg=198 guifg=deeppink1
  328. highlight shEcho ctermfg=198 guifg=deeppink1
  329. highlight shEchoQuote ctermfg=198 guifg=deeppink1
  330. " }}}