monokai_2.vim 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  1. " File: monokai.vim
  2. " Maintainer: Crusoe Xia (crusoexia)
  3. " URL: https://github.com/crusoexia/vim-monokai
  4. " License: MIT
  5. "
  6. " The colour palette is from http://www.colourlovers.com/
  7. " Initialisation
  8. " --------------
  9. if !has("gui_running") && &t_Co < 256
  10. finish
  11. endif
  12. if ! exists("g:monokai_gui_italic")
  13. let g:monokai_gui_italic = 0
  14. endif
  15. if ! exists("g:monokai_term_italic")
  16. let g:monokai_term_italic = 0
  17. endif
  18. let g:monokai_termcolors = 256 " does not support 16 color term right now.
  19. set background=dark
  20. hi clear
  21. if exists("syntax_on")
  22. syntax reset
  23. endif
  24. let colors_name = "monokai"
  25. function! s:h(group, style)
  26. let s:ctermformat = "NONE"
  27. let s:guiformat = "NONE"
  28. if has_key(a:style, "format")
  29. let s:ctermformat = a:style.format
  30. let s:guiformat = a:style.format
  31. endif
  32. if g:monokai_term_italic == 0
  33. let s:ctermformat = substitute(s:ctermformat, ",italic", "", "")
  34. let s:ctermformat = substitute(s:ctermformat, "italic,", "", "")
  35. let s:ctermformat = substitute(s:ctermformat, "italic", "", "")
  36. endif
  37. if g:monokai_gui_italic == 0
  38. let s:guiformat = substitute(s:guiformat, ",italic", "", "")
  39. let s:guiformat = substitute(s:guiformat, "italic,", "", "")
  40. let s:guiformat = substitute(s:guiformat, "italic", "", "")
  41. endif
  42. if g:monokai_termcolors == 16
  43. let l:ctermfg = (has_key(a:style, "fg") ? a:style.fg.cterm16 : "NONE")
  44. let l:ctermbg = (has_key(a:style, "bg") ? a:style.bg.cterm16 : "NONE")
  45. else
  46. let l:ctermfg = (has_key(a:style, "fg") ? a:style.fg.cterm : "NONE")
  47. let l:ctermbg = (has_key(a:style, "bg") ? a:style.bg.cterm : "NONE")
  48. end
  49. execute "highlight" a:group
  50. \ "guifg=" (has_key(a:style, "fg") ? a:style.fg.gui : "NONE")
  51. \ "guibg=" (has_key(a:style, "bg") ? a:style.bg.gui : "NONE")
  52. \ "guisp=" (has_key(a:style, "sp") ? a:style.sp.gui : "NONE")
  53. \ "gui=" (!empty(s:guiformat) ? s:guiformat : "NONE")
  54. \ "ctermfg=" . l:ctermfg
  55. \ "ctermbg=" . l:ctermbg
  56. \ "cterm=" (!empty(s:ctermformat) ? s:ctermformat : "NONE")
  57. endfunction
  58. " Palettes
  59. " --------
  60. let s:white = { "gui": "#E8E8E3", "cterm": "252" }
  61. let s:white2 = { "gui": "#d8d8d3", "cterm": "250" }
  62. let s:black = { "gui": "#272822", "cterm": "234" }
  63. let s:lightblack = { "gui": "#2D2E27", "cterm": "235" }
  64. let s:lightblack2 = { "gui": "#383a3e", "cterm": "236" }
  65. let s:lightblack3 = { "gui": "#3f4145", "cterm": "237" }
  66. let s:darkblack = { "gui": "#211F1C", "cterm": "233" }
  67. let s:grey = { "gui": "#8F908A", "cterm": "243" }
  68. let s:lightgrey = { "gui": "#575b61", "cterm": "237" }
  69. let s:darkgrey = { "gui": "#64645e", "cterm": "239" }
  70. let s:warmgrey = { "gui": "#75715E", "cterm": "59" }
  71. let s:pink = { "gui": "#F92772", "cterm": "197" }
  72. let s:green = { "gui": "#A6E22D", "cterm": "148" }
  73. let s:aqua = { "gui": "#66d9ef", "cterm": "81" }
  74. let s:yellow = { "gui": "#E6DB74", "cterm": "186" }
  75. let s:orange = { "gui": "#FD9720", "cterm": "208" }
  76. let s:purple = { "gui": "#ae81ff", "cterm": "141" }
  77. let s:red = { "gui": "#e73c50", "cterm": "196" }
  78. let s:purered = { "gui": "#ff0000", "cterm": "52" }
  79. let s:darkred = { "gui": "#5f0000", "cterm": "52" }
  80. let s:addfg = { "gui": "#d7ffaf", "cterm": "193" }
  81. let s:addbg = { "gui": "#5f875f", "cterm": "65" }
  82. let s:delfg = { "gui": "#ff8b8b", "cterm": "210" }
  83. let s:delbg = { "gui": "#f75f5f", "cterm": "124" }
  84. let s:changefg = { "gui": "#d7d7ff", "cterm": "189" }
  85. let s:changebg = { "gui": "#5f5f87", "cterm": "60" }
  86. let s:cyan = { "gui": "#A1EFE4" }
  87. let s:br_green = { "gui": "#9EC400" }
  88. let s:br_yellow = { "gui": "#E7C547" }
  89. let s:br_blue = { "gui": "#7AA6DA" }
  90. let s:br_purple = { "gui": "#B77EE0" }
  91. let s:br_cyan = { "gui": "#54CED6" }
  92. let s:br_white = { "gui": "#FFFFFF" }
  93. " Highlighting
  94. " ------------
  95. " editor
  96. call s:h("Normal", { "fg": s:white, "bg": s:black })
  97. call s:h("ColorColumn", { "bg": s:lightblack })
  98. call s:h("Cursor", { "fg": s:black, "bg": s:white })
  99. call s:h("CursorColumn", { "bg": s:lightblack2 })
  100. call s:h("CursorLine", { "bg": s:lightblack2 })
  101. call s:h("NonText", { "fg": s:lightgrey })
  102. call s:h("Visual", { "bg": s:lightgrey })
  103. call s:h("Search", { "fg": s:black, "bg": s:yellow })
  104. call s:h("MatchParen", { "fg": s:purple, "format": "underline,bold" })
  105. call s:h("Question", { "fg": s:yellow })
  106. call s:h("ModeMsg", { "fg": s:yellow })
  107. call s:h("MoreMsg", { "fg": s:yellow })
  108. call s:h("ErrorMsg", { "fg": s:black, "bg": s:red, "format": "standout" })
  109. call s:h("WarningMsg", { "fg": s:red })
  110. call s:h("VertSplit", { "fg": s:darkgrey, "bg": s:darkblack })
  111. call s:h("LineNr", { "fg": s:grey, "bg": s:lightblack })
  112. call s:h("CursorLineNr", { "fg": s:orange, "bg": s:lightblack })
  113. call s:h("SignColumn", { "bg": s:lightblack })
  114. " statusline
  115. call s:h("StatusLine", { "fg": s:black, "bg": s:lightgrey })
  116. call s:h("StatusLineNC", { "fg": s:lightgrey, "bg": s:black })
  117. call s:h("TabLine", { "fg": s:lightgrey, "bg": s:lightblack })
  118. call s:h("TabLineSel", { "fg": s:darkblack, "bg": s:warmgrey, "format": "bold" })
  119. call s:h("TabLineFill", { "bg": s:lightblack })
  120. call s:h("User1", { "fg": s:yellow, "bg": s:lightgrey, "format": "bold" })
  121. call s:h("User2", { "fg": s:orange, "bg": s:lightgrey, "format": "bold" })
  122. call s:h("User3", { "fg": s:purple, "bg": s:lightgrey, "format": "bold" })
  123. call s:h("User4", { "fg": s:aqua, "bg": s:lightgrey, "format": "bold" })
  124. " spell
  125. call s:h("SpellBad", { "fg": s:red, "format": "underline" })
  126. call s:h("SpellCap", { "fg": s:purple, "format": "underline" })
  127. call s:h("SpellRare", { "fg": s:aqua, "format": "underline" })
  128. call s:h("SpellLocal", { "fg": s:pink, "format": "underline" })
  129. " misc
  130. call s:h("SpecialKey", { "fg": s:pink })
  131. call s:h("Title", { "fg": s:yellow })
  132. call s:h("Directory", { "fg": s:aqua })
  133. " diff
  134. call s:h("DiffAdd", { "fg": s:addfg, "bg": s:addbg })
  135. call s:h("DiffDelete", { "fg": s:delfg, "bg": s:delbg })
  136. call s:h("DiffChange", { "fg": s:changefg, "bg": s:changebg })
  137. call s:h("DiffText", { "fg": s:black, "bg": s:aqua })
  138. " fold
  139. call s:h("Folded", { "fg": s:warmgrey, "bg": s:darkblack })
  140. call s:h("FoldColumn", { "bg": s:darkblack })
  141. " Incsearch"
  142. " popup menu
  143. call s:h("Pmenu", { "fg": s:white2, "bg": s:lightblack3 })
  144. call s:h("PmenuSel", { "fg": s:aqua, "bg": s:lightblack3, "format": "reverse,bold" })
  145. call s:h("PmenuThumb", { "fg": s:lightblack, "bg": s:grey })
  146. " PmenuSbar"
  147. " Generic Syntax Highlighting
  148. " ---------------------------
  149. call s:h("Constant", { "fg": s:purple })
  150. call s:h("Number", { "fg": s:purple })
  151. call s:h("Float", { "fg": s:purple })
  152. call s:h("Boolean", { "fg": s:purple })
  153. call s:h("Character", { "fg": s:yellow })
  154. call s:h("String", { "fg": s:yellow })
  155. call s:h("Type", { "fg": s:aqua })
  156. call s:h("Structure", { "fg": s:aqua })
  157. call s:h("StorageClass", { "fg": s:aqua })
  158. call s:h("Typedef", { "fg": s:aqua })
  159. call s:h("Identifier", { "fg": s:green })
  160. call s:h("Function", { "fg": s:green })
  161. call s:h("Statement", { "fg": s:pink })
  162. call s:h("Operator", { "fg": s:pink })
  163. call s:h("Label", { "fg": s:pink })
  164. call s:h("Keyword", { "fg": s:pink })
  165. " Conditional"
  166. " Repeat"
  167. " Exception"
  168. call s:h("PreProc", { "fg": s:green })
  169. call s:h("Include", { "fg": s:pink })
  170. call s:h("Define", { "fg": s:pink })
  171. call s:h("Macro", { "fg": s:green })
  172. call s:h("PreCondit", { "fg": s:green })
  173. call s:h("Special", { "fg": s:purple })
  174. call s:h("SpecialChar", { "fg": s:pink })
  175. call s:h("Delimiter", { "fg": s:pink })
  176. call s:h("SpecialComment",{ "fg": s:aqua })
  177. call s:h("Tag", { "fg": s:pink })
  178. " Debug"
  179. call s:h("Todo", { "fg": s:orange, "format": "bold,italic" })
  180. call s:h("Comment", { "fg": s:warmgrey, "format": "italic" })
  181. call s:h("Underlined", { "fg": s:green })
  182. call s:h("Ignore", {})
  183. call s:h("Error", { "fg": s:red, "bg": s:darkred })
  184. " NerdTree
  185. " --------
  186. call s:h("NERDTreeOpenable", { "fg": s:yellow })
  187. call s:h("NERDTreeClosable", { "fg": s:yellow })
  188. call s:h("NERDTreeHelp", { "fg": s:yellow })
  189. call s:h("NERDTreeBookmarksHeader", { "fg": s:pink })
  190. call s:h("NERDTreeBookmarksLeader", { "fg": s:black })
  191. call s:h("NERDTreeBookmarkName", { "fg": s:yellow })
  192. call s:h("NERDTreeCWD", { "fg": s:pink })
  193. call s:h("NERDTreeUp", { "fg": s:white })
  194. call s:h("NERDTreeDirSlash", { "fg": s:grey })
  195. call s:h("NERDTreeDir", { "fg": s:grey })
  196. " Syntastic
  197. " ---------
  198. hi! link SyntasticErrorSign Error
  199. call s:h("SyntasticWarningSign", { "fg": s:lightblack, "bg": s:orange })
  200. " coc
  201. " ---
  202. hi! link CocErrorSign Error
  203. call s:h("CocErrorHighlight", { "fg": s:red, "format": "underline" })
  204. call s:h("CocErrorFloat", { "fg": s:purered, "bg": s:lightblack3 })
  205. call s:h("CocWarningSign", { "fg": s:orange, "bg": s:lightblack })
  206. call s:h("CocWarningHighlight", { "format": "underline" })
  207. call s:h("CocWarningFloat", { "fg": s:orange, "bg": s:lightblack3 })
  208. call s:h("CocInfoSign", { "fg": s:yellow, "bg": s:lightblack3 })
  209. call s:h("CocInfoHighlight", { "format": "underline" })
  210. call s:h("CocHintSign", { "fg": s:white, "bg": s:lightblack3 })
  211. call s:h("CocHintHighlight", { "format": "underline" })
  212. " Language highlight
  213. " ------------------
  214. " Java properties
  215. call s:h("jpropertiesIdentifier", { "fg": s:pink })
  216. " Vim command
  217. call s:h("vimCommand", { "fg": s:pink })
  218. " Javascript
  219. call s:h("jsClassKeyword", { "fg": s:aqua, "format": "italic" })
  220. call s:h("jsGlobalObjects", { "fg": s:aqua, "format": "italic" })
  221. call s:h("jsFuncName", { "fg": s:green })
  222. call s:h("jsThis", { "fg": s:orange, "format": "italic" })
  223. call s:h("jsObjectKey", { "fg": s:white })
  224. call s:h("jsFunctionKey", { "fg": s:green })
  225. call s:h("jsPrototype", { "fg": s:aqua })
  226. call s:h("jsExceptions", { "fg": s:aqua })
  227. call s:h("jsFutureKeys", { "fg": s:aqua })
  228. call s:h("jsBuiltins", { "fg": s:aqua })
  229. call s:h("jsStatic", { "fg": s:aqua })
  230. call s:h("jsSuper", { "fg": s:orange, "format": "italic" })
  231. call s:h("jsFuncArgRest", { "fg": s:purple, "format": "italic" })
  232. call s:h("jsFuncArgs", { "fg": s:orange, "format": "italic" })
  233. call s:h("jsStorageClass", { "fg": s:aqua, "format": "italic" })
  234. call s:h("jsDocTags", { "fg": s:aqua, "format": "italic" })
  235. call s:h("jsFunction", { "fg": s:aqua, "format": "italic" })
  236. " Typescript
  237. call s:h("typescriptBraces", { "fg": s:white })
  238. call s:h("typescriptParens", { "fg": s:white })
  239. call s:h("typescriptOperator", { "fg": s:pink })
  240. call s:h("typescriptEndColons", { "fg": s:white })
  241. call s:h("typescriptModule", { "fg": s:aqua })
  242. call s:h("typescriptPredefinedType", { "fg": s:aqua })
  243. call s:h("typescriptImport", { "fg": s:pink })
  244. call s:h("typescriptExport", { "fg": s:pink })
  245. call s:h("typescriptIdentifier", { "fg": s:orange, "format": "italic" })
  246. call s:h("typescriptVariable", { "fg": s:aqua })
  247. call s:h("typescriptCastKeyword", { "fg": s:pink })
  248. call s:h("typescriptAmbientDeclaration", { "fg": s:pink })
  249. call s:h("typescriptTestGlobal", { "fg": s:pink })
  250. call s:h("typescriptFuncKeyword", { "fg": s:aqua })
  251. call s:h("typescriptFuncTypeArrow", { "fg": s:aqua })
  252. call s:h("typescriptFuncType", { "fg": s:orange, "format": "italic" })
  253. call s:h("typescriptFuncName", { "fg": s:green })
  254. call s:h("typescriptArrowFuncArg", { "fg": s:orange, "format": "italic" })
  255. call s:h("typescriptCall", { "fg": s:orange, "format": "italic" })
  256. call s:h("typescriptClassKeyword", { "fg": s:aqua, "format": "italic" })
  257. call s:h("typescriptClassName", { "fg": s:white })
  258. call s:h("typescriptClassHeritage", { "fg": s:white })
  259. call s:h("typescriptInterfaceKeyword", { "fg": s:aqua, "format": "italic" })
  260. call s:h("typescriptInterfaceName", { "fg": s:white })
  261. call s:h("typescriptObjectLabel", { "fg": s:green })
  262. call s:h("typescriptMember", { "fg": s:green })
  263. call s:h("typescriptTypeReference", { "fg": s:purple, "format": "italic" })
  264. call s:h("typescriptTypeParameter", { "fg": s:purple, "format": "italic" })
  265. call s:h("typescriptOptionalMark", { "fg": s:pink })
  266. call s:h("tsxAttrib", { "fg": s:green })
  267. call s:h("tsxTagName", { "fg": s:pink })
  268. " Dart
  269. call s:h("dartStorageClass", { "fg": s:pink })
  270. call s:h("dartExceptions", { "fg": s:pink })
  271. call s:h("dartConditional", { "fg": s:pink })
  272. call s:h("dartRepeat", { "fg": s:pink })
  273. call s:h("dartTypedef", { "fg": s:pink })
  274. call s:h("dartKeyword", { "fg": s:pink })
  275. call s:h("dartConstant", { "fg": s:purple })
  276. call s:h("dartBoolean", { "fg": s:purple })
  277. call s:h("dartCoreType", { "fg": s:aqua })
  278. call s:h("dartType", { "fg": s:aqua })
  279. " HTML
  280. call s:h("htmlTag", { "fg": s:white })
  281. call s:h("htmlEndTag", { "fg": s:white })
  282. call s:h("htmlTagName", { "fg": s:pink })
  283. call s:h("htmlArg", { "fg": s:green })
  284. call s:h("htmlSpecialChar", { "fg": s:purple })
  285. " XML
  286. call s:h("xmlTag", { "fg": s:pink })
  287. call s:h("xmlEndTag", { "fg": s:pink })
  288. call s:h("xmlTagName", { "fg": s:orange })
  289. call s:h("xmlAttrib", { "fg": s:green })
  290. " JSX
  291. call s:h("jsxTag", { "fg": s:white })
  292. call s:h("jsxCloseTag", { "fg": s:white })
  293. call s:h("jsxCloseString", { "fg": s:white })
  294. call s:h("jsxPunct", { "fg": s:white })
  295. call s:h("jsxClosePunct", { "fg": s:white })
  296. call s:h("jsxTagName", { "fg": s:pink })
  297. call s:h("jsxComponentName", { "fg": s:pink })
  298. call s:h("jsxAttrib", { "fg": s:green })
  299. call s:h("jsxEqual", { "fg": s:white })
  300. call s:h("jsxBraces", { "fg": s:white })
  301. " CSS
  302. call s:h("cssProp", { "fg": s:yellow })
  303. call s:h("cssUIAttr", { "fg": s:yellow })
  304. call s:h("cssFunctionName", { "fg": s:aqua })
  305. call s:h("cssColor", { "fg": s:purple })
  306. call s:h("cssPseudoClassId", { "fg": s:purple })
  307. call s:h("cssClassName", { "fg": s:green })
  308. call s:h("cssValueLength", { "fg": s:purple })
  309. call s:h("cssCommonAttr", { "fg": s:pink })
  310. call s:h("cssBraces" , { "fg": s:white })
  311. call s:h("cssClassNameDot", { "fg": s:pink })
  312. call s:h("cssURL", { "fg": s:orange, "format": "underline,italic" })
  313. " LESS
  314. call s:h("lessVariable", { "fg": s:green })
  315. " SASS
  316. call s:h("sassMixing", { "fg": s:aqua })
  317. call s:h("sassMixin", { "fg": s:aqua })
  318. call s:h("sassFunctionDecl", { "fg": s:aqua })
  319. call s:h("sassReturn", { "fg": s:aqua })
  320. call s:h("sassClass", { "fg": s:green })
  321. call s:h("sassClassChar", { "fg": s:pink })
  322. call s:h("sassIdChar", { "fg": s:pink })
  323. call s:h("sassControl", { "fg": s:aqua })
  324. call s:h("sassFor", { "fg": s:aqua })
  325. " ruby
  326. call s:h("rubyInterpolationDelimiter", {})
  327. call s:h("rubyInstanceVariable", {})
  328. call s:h("rubyGlobalVariable", {})
  329. call s:h("rubyClassVariable", {})
  330. call s:h("rubyPseudoVariable", {})
  331. call s:h("rubyFunction", { "fg": s:green })
  332. call s:h("rubyStringDelimiter", { "fg": s:yellow })
  333. call s:h("rubyRegexp", { "fg": s:yellow })
  334. call s:h("rubyRegexpDelimiter", { "fg": s:yellow })
  335. call s:h("rubySymbol", { "fg": s:purple })
  336. call s:h("rubyEscape", { "fg": s:purple })
  337. call s:h("rubyInclude", { "fg": s:pink })
  338. call s:h("rubyOperator", { "fg": s:pink })
  339. call s:h("rubyControl", { "fg": s:pink })
  340. call s:h("rubyClass", { "fg": s:pink })
  341. call s:h("rubyDefine", { "fg": s:pink })
  342. call s:h("rubyException", { "fg": s:pink })
  343. call s:h("rubyRailsARAssociationMethod",{ "fg": s:orange })
  344. call s:h("rubyRailsARMethod", { "fg": s:orange })
  345. call s:h("rubyRailsRenderMethod", { "fg": s:orange })
  346. call s:h("rubyRailsMethod", { "fg": s:orange })
  347. call s:h("rubyConstant", { "fg": s:aqua })
  348. call s:h("rubyBlockArgument", { "fg": s:orange })
  349. call s:h("rubyBlockParameter", { "fg": s:orange })
  350. " eruby
  351. call s:h("erubyDelimiter", {})
  352. call s:h("erubyRailsMethod", { "fg": s:aqua })
  353. " c
  354. call s:h("cLabel", { "fg": s:pink })
  355. call s:h("cStructure", { "fg": s:aqua })
  356. call s:h("cStorageClass", { "fg": s:pink })
  357. call s:h("cInclude", { "fg": s:pink })
  358. call s:h("cDefine", { "fg": s:pink })
  359. call s:h("cSpecial", { "fg": s:purple })
  360. " Markdown
  361. call s:h("markdownCode", { "fg": s:purple, "format": "italic" } )
  362. call s:h("markdownListMarker", { "fg": s:purple } )
  363. " vim-notes
  364. call s:h("notesTitle", { "fg": s:aqua, "format": "bold" } )
  365. call s:h("notesAtxMarker", { "fg": s:pink, "format": "italic,bold" } )
  366. call s:h("notesShortHeading", { "fg": s:white, "format": "bold" } )
  367. call s:h("notesListBullet", { "fg": s:purple } )
  368. call s:h("notesListNumber", { "fg": s:purple, "format": "italic" } )
  369. call s:h("notesBold", { "format": "bold" } )
  370. call s:h("notesDoneMarker", { "fg": s:green } )
  371. " Terminal Colors
  372. " ---------------
  373. if has('nvim')
  374. let g:terminal_color_0 = s:black.gui
  375. let g:terminal_color_1 = s:red.gui
  376. let g:terminal_color_2 = s:green.gui
  377. let g:terminal_color_3 = s:yellow.gui
  378. let g:terminal_color_4 = s:aqua.gui
  379. let g:terminal_color_5 = s:purple.gui
  380. let g:terminal_color_6 = s:cyan.gui
  381. let g:terminal_color_7 = s:white.gui
  382. let g:terminal_color_8 = s:darkgrey.gui
  383. let g:terminal_color_9 = s:pink.gui
  384. let g:terminal_color_10 = s:br_green.gui
  385. let g:terminal_color_11 = s:br_yellow.gui
  386. let g:terminal_color_12 = s:br_blue.gui
  387. let g:terminal_color_13 = s:br_purple.gui
  388. let g:terminal_color_14 = s:br_cyan.gui
  389. let g:terminal_color_15 = s:br_white.gui
  390. else
  391. let g:terminal_ansi_colors = [
  392. \ s:black.gui,
  393. \ s:red.gui,
  394. \ s:green.gui,
  395. \ s:yellow.gui,
  396. \ s:aqua.gui,
  397. \ s:purple.gui,
  398. \ s:cyan.gui,
  399. \ s:white.gui,
  400. \ s:darkgrey.gui,
  401. \ s:pink.gui,
  402. \ s:br_green.gui,
  403. \ s:br_yellow.gui,
  404. \ s:br_blue.gui,
  405. \ s:br_purple.gui,
  406. \ s:br_cyan.gui,
  407. \ s:br_white.gui]
  408. endif