my 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.

2258 lines
203 KiB

  1. " AnsiEsc.vim: Uses vim 7.0 syntax highlighting
  2. " Language: Text with ansi escape sequences
  3. " Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
  4. " Version: 13i ASTRO-ONLY
  5. " Date: Apr 02, 2015
  6. "
  7. " Usage: :AnsiEsc (toggles)
  8. " Note: This plugin requires +conceal
  9. "
  10. " GetLatestVimScripts: 302 1 :AutoInstall: AnsiEsc.vim
  11. "redraw!|call DechoSep()|call inputsave()|call input("Press <cr> to continue")|call inputrestore()
  12. " ---------------------------------------------------------------------
  13. "DechoRemOn
  14. " Load Once: {{{1
  15. if exists("g:loaded_AnsiEsc")
  16. finish
  17. endif
  18. let g:loaded_AnsiEsc = "v13i"
  19. if v:version < 700
  20. echohl WarningMsg
  21. echo "***warning*** this version of AnsiEsc needs vim 7.0"
  22. echohl Normal
  23. finish
  24. endif
  25. let s:keepcpo= &cpo
  26. set cpo&vim
  27. " ---------------------------------------------------------------------
  28. " AnsiEsc#AnsiEsc: toggles ansi-escape code visualization {{{2
  29. fun! AnsiEsc#AnsiEsc(rebuild)
  30. " call Dfunc("AnsiEsc#AnsiEsc(rebuild=".a:rebuild.")")
  31. if a:rebuild
  32. " call Decho("rebuilding AnsiEsc tables")
  33. call AnsiEsc#AnsiEsc(0)
  34. call AnsiEsc#AnsiEsc(0)
  35. " call Dret("AnsiEsc#AnsiEsc")
  36. return
  37. endif
  38. let bn= bufnr("%")
  39. if !exists("s:AnsiEsc_enabled_{bn}")
  40. let s:AnsiEsc_enabled_{bn}= 0
  41. endif
  42. if s:AnsiEsc_enabled_{bn}
  43. " disable AnsiEsc highlighting
  44. " call Decho("disable AnsiEsc highlighting: s:AnsiEsc_ft_".bn."<".s:AnsiEsc_ft_{bn}."> bn#".bn)
  45. if exists("g:colors_name")|let colorname= g:colors_name|endif
  46. if exists("s:conckeep_{bufnr('%')}")|let &l:conc= s:conckeep_{bufnr('%')}|unlet s:conckeep_{bufnr('%')}|endif
  47. if exists("s:colekeep_{bufnr('%')}")|let &l:cole= s:colekeep_{bufnr('%')}|unlet s:colekeep_{bufnr('%')}|endif
  48. if exists("s:cocukeep_{bufnr('%')}")|let &l:cocu= s:cocukeep_{bufnr('%')}|unlet s:cocukeep_{bufnr('%')}|endif
  49. hi! link ansiStop NONE
  50. syn clear
  51. hi clear
  52. syn reset
  53. exe "set ft=".s:AnsiEsc_ft_{bn}
  54. if exists("colorname")|exe "colors ".colorname|endif
  55. let s:AnsiEsc_enabled_{bn}= 0
  56. if !exists('g:no_drchip_menu') && !exists('g:no_ansiesc_menu')
  57. if has("gui_running") && has("menu") && &go =~# 'm'
  58. " menu support
  59. exe 'silent! unmenu '.g:DrChipTopLvlMenu.'AnsiEsc'
  60. exe 'menu '.g:DrChipTopLvlMenu.'AnsiEsc.Start<tab>:AnsiEsc :AnsiEsc<cr>'
  61. endif
  62. endif
  63. let &l:hl= s:hlkeep_{bufnr("%")}
  64. " call Dret("AnsiEsc#AnsiEsc")
  65. return
  66. else
  67. let s:AnsiEsc_ft_{bn} = &ft
  68. let s:AnsiEsc_enabled_{bn} = 1
  69. " call Decho("enable AnsiEsc highlighting: s:AnsiEsc_ft_".bn."<".s:AnsiEsc_ft_{bn}."> bn#".bn)
  70. if !exists('g:no_drchip_menu') && !exists('g:no_ansiesc_menu')
  71. if has("gui_running") && has("menu") && &go =~# 'm'
  72. " menu support
  73. exe 'sil! unmenu '.g:DrChipTopLvlMenu.'AnsiEsc'
  74. exe 'menu '.g:DrChipTopLvlMenu.'AnsiEsc.Stop<tab>:AnsiEsc :AnsiEsc<cr>'
  75. endif
  76. endif
  77. " -----------------
  78. " Conceal Support: {{{2
  79. " -----------------
  80. if has("conceal")
  81. if v:version < 703
  82. if &l:conc != 3
  83. let s:conckeep_{bufnr('%')}= &cole
  84. setlocal conc=3
  85. " call Decho("l:conc=".&l:conc)
  86. endif
  87. else
  88. if &l:cole != 3 || &l:cocu != "nv"
  89. let s:colekeep_{bufnr('%')}= &l:cole
  90. let s:cocukeep_{bufnr('%')}= &l:cocu
  91. setlocal cole=3 cocu=nv
  92. " call Decho("l:cole=".&l:cole." l:cocu=".&l:cocu)
  93. endif
  94. endif
  95. endif
  96. endif
  97. syn clear
  98. if has("conceal")
  99. syn match ansiConceal contained conceal "\e\[\(\d*;\)*\d*[A-Za-z]"
  100. else
  101. syn match ansiConceal contained "\e\[\(\d*;\)*\d*[A-Za-z]"
  102. endif
  103. " suppress escaped sequences that we don't handle (which may or may not be ansi-compliant)
  104. if has("conceal")
  105. syn match ansiSuppress conceal '\e\[[0-9;]*[A-Za-z]'
  106. syn match ansiSuppress conceal '\e\[?\d*[A-Za-z]'
  107. syn match ansiSuppress conceal '\b'
  108. else
  109. syn match ansiSuppress '\e\[[0-9;]*[A-Za-z]'
  110. syn match ansiSuppress '\e\[?\d*[A-Za-z]'
  111. syn match ansiSuppress '\b'
  112. endif
  113. " ------------------------------
  114. " Ansi Escape Sequence Handling: {{{2
  115. " ------------------------------
  116. syn region ansiNone start="\e\[[01;]m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  117. syn region ansiNone start="\e\[m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  118. syn region ansiNone start="\e\[\%(0;\)\=39;49m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  119. syn region ansiNone start="\e\[\%(0;\)\=49;39m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  120. syn region ansiNone start="\e\[\%(0;\)\=39m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  121. syn region ansiNone start="\e\[\%(0;\)\=49m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  122. syn region ansiNone start="\e\[\%(0;\)\=22m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  123. " disable bold/italic/etc. - no way to disable one attribute, so disable them all
  124. syn region ansiNone start="\e\[\%(0;\)\=23m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  125. syn region ansiNone start="\e\[\%(0;\)\=24m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  126. syn region ansiNone start="\e\[\%(0;\)\=27m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  127. syn region ansiNone start="\e\[\%(0;\)\=29m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  128. syn region ansiBlack start="\e\[;\=0\{0,2};\=30m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  129. syn region ansiRed start="\e\[;\=0\{0,2};\=31m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  130. syn region ansiGreen start="\e\[;\=0\{0,2};\=32m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  131. syn region ansiYellow start="\e\[;\=0\{0,2};\=33m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  132. syn region ansiBlue start="\e\[;\=0\{0,2};\=34m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  133. syn region ansiMagenta start="\e\[;\=0\{0,2};\=35m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  134. syn region ansiCyan start="\e\[;\=0\{0,2};\=36m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  135. syn region ansiWhite start="\e\[;\=0\{0,2};\=37m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  136. syn region ansiGray start="\e\[;\=0\{0,2};\=90m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  137. " set default ansi to white
  138. syn region ansiWhite start="\e\[;\=0\{0,2};\=39m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  139. syn region ansiBold start="\e\[;\=0\{0,2};\=1m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  140. syn region ansiBoldBlack start="\e\[;\=0\{0,2};\=\%(1;30\|30;0\{0,2}1\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  141. " this is supposed to be bold-black, ie, dark grey, but it doesn't work well
  142. " on a lot of displays. We'll settle for non-bold white
  143. syn region ansiWhite start="\e\[;\=0\{0,2};\=90m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  144. syn region ansiBoldRed start="\e\[;\=0\{0,2};\=\%(1;31\|31;0\{0,2}1\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  145. syn region ansiBoldRed start="\e\[;\=0\{0,2};\=91m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  146. syn region ansiBoldGreen start="\e\[;\=0\{0,2};\=\%(1;32\|32;0\{0,2}1\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  147. syn region ansiBoldGreen start="\e\[;\=0\{0,2};\=92m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  148. syn region ansiBoldYellow start="\e\[;\=0\{0,2};\=\%(1;33\|33;0\{0,2}1\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  149. syn region ansiBoldYellow start="\e\[;\=0\{0,2};\=93m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  150. syn region ansiBoldBlue start="\e\[;\=0\{0,2};\=\%(1;34\|34;0\{0,2}1\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  151. syn region ansiBoldBlue start="\e\[;\=0\{0,2};\=94m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  152. syn region ansiBoldMagenta start="\e\[;\=0\{0,2};\=\%(1;35\|35;0\{0,2}1\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  153. syn region ansiBoldMagenta start="\e\[;\=0\{0,2};\=95m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  154. syn region ansiBoldCyan start="\e\[;\=0\{0,2};\=\%(1;36\|36;0\{0,2}1\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  155. syn region ansiBoldCyan start="\e\[;\=0\{0,2};\=96m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  156. syn region ansiBoldWhite start="\e\[;\=0\{0,2};\=\%(1;37\|37;0\{0,2}1\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  157. syn region ansiBoldWhite start="\e\[;\=0\{0,2};\=\%(1;39\|39;0\{0,2}1\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  158. syn region ansiBoldWhite start="\e\[;\=0\{0,2};\=97m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  159. syn region ansiBoldGray start="\e\[;\=0\{0,2};\=\%(1;90\|90;0\{0,2}1\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  160. syn region ansiStandout start="\e\[;\=0\{0,2};\=\%(1;\)\=3m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  161. syn region ansiStandoutBlack start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(3;30\|30;0\{0,2}3\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  162. syn region ansiStandoutRed start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(3;31\|31;0\{0,2}3\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  163. syn region ansiStandoutGreen start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(3;32\|32;0\{0,2}3\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  164. syn region ansiStandoutYellow start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(3;33\|33;0\{0,2}3\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  165. syn region ansiStandoutBlue start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(3;34\|34;0\{0,2}3\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  166. syn region ansiStandoutMagenta start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(3;35\|35;0\{0,2}3\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  167. syn region ansiStandoutCyan start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(3;36\|36;0\{0,2}3\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  168. syn region ansiStandoutWhite start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(3;37\|37;0\{0,2}3\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  169. syn region ansiStandoutGray start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(3;90\|90;0\{0,2}3\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  170. syn region ansiItalic start="\e\[;\=0\{0,2};\=\%(1;\)\=2m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  171. syn region ansiItalicBlack start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(2;30\|30;0\{0,2}2\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  172. syn region ansiItalicRed start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(2;31\|31;0\{0,2}2\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  173. syn region ansiItalicGreen start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(2;32\|32;0\{0,2}2\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  174. syn region ansiItalicYellow start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(2;33\|33;0\{0,2}2\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  175. syn region ansiItalicBlue start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(2;34\|34;0\{0,2}2\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  176. syn region ansiItalicMagenta start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(2;35\|35;0\{0,2}2\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  177. syn region ansiItalicCyan start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(2;36\|36;0\{0,2}2\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  178. syn region ansiItalicWhite start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(2;37\|37;0\{0,2}2\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  179. syn region ansiItalicGray start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(2;90\|90;0\{0,2}2\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  180. syn region ansiUnderline start="\e\[;\=0\{0,2};\=\%(1;\)\=4m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  181. syn region ansiUnderlineBlack start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(4;30\|30;0\{0,2}4\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  182. syn region ansiUnderlineRed start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(4;31\|31;0\{0,2}4\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  183. syn region ansiUnderlineGreen start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(4;32\|32;0\{0,2}4\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  184. syn region ansiUnderlineYellow start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(4;33\|33;0\{0,2}4\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  185. syn region ansiUnderlineBlue start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(4;34\|34;0\{0,2}4\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  186. syn region ansiUnderlineMagenta start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(4;35\|35;0\{0,2}4\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  187. syn region ansiUnderlineCyan start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(4;36\|36;0\{0,2}4\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  188. syn region ansiUnderlineWhite start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(4;37\|37;0\{0,2}4\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  189. syn region ansiUnderlineGray start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(4;90\|90;0\{0,2}4\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  190. syn region ansiBlink start="\e\[;\=0\{0,2};\=\%(1;\)\=5m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  191. syn region ansiBlinkBlack start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(5;30\|30;0\{0,2}5\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  192. syn region ansiBlinkRed start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(5;31\|31;0\{0,2}5\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  193. syn region ansiBlinkGreen start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(5;32\|32;0\{0,2}5\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  194. syn region ansiBlinkYellow start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(5;33\|33;0\{0,2}5\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  195. syn region ansiBlinkBlue start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(5;34\|34;0\{0,2}5\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  196. syn region ansiBlinkMagenta start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(5;35\|35;0\{0,2}5\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  197. syn region ansiBlinkCyan start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(5;36\|36;0\{0,2}5\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  198. syn region ansiBlinkWhite start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(5;37\|37;0\{0,2}5\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  199. syn region ansiBlinkGray start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(5;90\|90;0\{0,2}5\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  200. syn region ansiRapidBlink start="\e\[;\=0\{0,2};\=\%(1;\)\=6m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  201. syn region ansiRapidBlinkBlack start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(6;30\|30;0\{0,2}6\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  202. syn region ansiRapidBlinkRed start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(6;31\|31;0\{0,2}6\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  203. syn region ansiRapidBlinkGreen start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(6;32\|32;0\{0,2}6\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  204. syn region ansiRapidBlinkYellow start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(6;33\|33;0\{0,2}6\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  205. syn region ansiRapidBlinkBlue start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(6;34\|34;0\{0,2}6\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  206. syn region ansiRapidBlinkMagenta start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(6;35\|35;0\{0,2}6\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  207. syn region ansiRapidBlinkCyan start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(6;36\|36;0\{0,2}6\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  208. syn region ansiRapidBlinkWhite start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(6;37\|37;0\{0,2}6\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  209. syn region ansiRapidBlinkGray start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(6;90\|90;0\{0,2}6\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  210. syn region ansiRV start="\e\[;\=0\{0,2};\=\%(1;\)\=7m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  211. syn region ansiRVBlack start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(7;30\|30;0\{0,2}7\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  212. syn region ansiRVRed start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(7;31\|31;0\{0,2}7\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  213. syn region ansiRVGreen start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(7;32\|32;0\{0,2}7\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  214. syn region ansiRVYellow start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(7;33\|33;0\{0,2}7\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  215. syn region ansiRVBlue start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(7;34\|34;0\{0,2}7\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  216. syn region ansiRVMagenta start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(7;35\|35;0\{0,2}7\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  217. syn region ansiRVCyan start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(7;36\|36;0\{0,2}7\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  218. syn region ansiRVWhite start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(7;37\|37;0\{0,2}7\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  219. syn region ansiRVGray start="\e\[;\=0\{0,2};\=\%(1;\)\=\%(7;90\|90;0\{0,2}7\)m" skip='\e\[K' end="\e\["me=e-2 contains=ansiConceal
  220. if v:version >= 703
  221. " "-----------------------------------------
  222. " " handles implicit background highlighting
  223. " "-----------------------------------------
  224. " call Decho("installing implicit background highlighting")
  225. syn cluster AnsiDefaultBgGroup contains=ansiBgBoldDefault,ansiBgUnderlineDefault,ansiBgDefaultDefault,ansiBgBlackDefault,ansiBgRedDefault,ansiBgGreenDefault,ansiBgYellowDefault,ansiBgBlueDefault,ansiBgMagentaDefault,ansiBgCyanDefault,ansiBgWhiteDefault,ansiBgGrayDefault
  226. syn region ansiDefaultBg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(0\{0,2};\)\=49\%(0\{0,2};\)\=m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=@AnsiDefaultBgGroup,ansiConceal
  227. syn region ansiBgBoldDefault contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  228. syn region ansiBgUnderlineDefault contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  229. syn region ansiBgDefaultDefault contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  230. syn region ansiBgBlackDefault contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  231. syn region ansiBgRedDefault contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  232. syn region ansiBgGreenDefault contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  233. syn region ansiBgYellowDefault contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  234. syn region ansiBgBlueDefault contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  235. syn region ansiBgMagentaDefault contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  236. syn region ansiBgCyanDefault contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  237. syn region ansiBgWhiteDefault contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  238. syn region ansiBgGrayDefault contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  239. hi link ansiBgBoldDefault ansiBold
  240. hi link ansiBgUnderlineDefault ansiUnderline
  241. hi link ansiBgDefaultDefault ansiDefaultDefault
  242. hi link ansiBgBlackDefault ansiBlackDefault
  243. hi link ansiBgRedDefault ansiRedDefault
  244. hi link ansiBgGreenDefault ansiGreenDefault
  245. hi link ansiBgYellowDefault ansiYellowDefault
  246. hi link ansiBgBlueDefault ansiBlueDefault
  247. hi link ansiBgMagentaDefault ansiMagentaDefault
  248. hi link ansiBgCyanDefault ansiCyanDefault
  249. hi link ansiBgWhiteDefault ansiWhiteDefault
  250. hi link ansiBgGrayDefault ansiGrayDefault
  251. syn cluster AnsiBlackBgGroup contains=ansiBgBoldBlack,ansiBgUnderlineBlack,ansiBgDefaultBlack,ansiBgBlackBlack,ansiBgRedBlack,ansiBgGreenBlack,ansiBgYellowBlack,ansiBgBlueBlack,ansiBgMagentaBlack,ansiBgCyanBlack,ansiBgWhiteBlack,ansiBgGrayBlack
  252. syn region ansiBlackBg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=40\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiBlackBgGroup,ansiConceal
  253. syn region ansiBgBoldBlack contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  254. syn region ansiBgUnderlineBlack contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  255. syn region ansiBgDefaultBlack contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  256. syn region ansiBgBlackBlack contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  257. syn region ansiBgRedBlack contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  258. syn region ansiBgGreenBlack contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  259. syn region ansiBgYellowBlack contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  260. syn region ansiBgBlueBlack contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  261. syn region ansiBgMagentaBlack contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  262. syn region ansiBgCyanBlack contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  263. syn region ansiBgWhiteBlack contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  264. syn region ansiBgGrayBlack contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  265. hi link ansiBgBoldBlack ansiBoldBlack
  266. hi link ansiBgUnderlineBlack ansiUnderlineBlack
  267. hi link ansiBgDefaultBlack ansiDefaultBlack
  268. hi link ansiBgBlackBlack ansiBlackBlack
  269. hi link ansiBgRedBlack ansiRedBlack
  270. hi link ansiBgGreenBlack ansiGreenBlack
  271. hi link ansiBgYellowBlack ansiYellowBlack
  272. hi link ansiBgBlueBlack ansiBlueBlack
  273. hi link ansiBgMagentaBlack ansiMagentaBlack
  274. hi link ansiBgCyanBlack ansiCyanBlack
  275. hi link ansiBgWhiteBlack ansiWhiteBlack
  276. hi link ansiBgGrayBlack ansiGrayBlack
  277. syn cluster AnsiRedBgGroup contains=ansiBgBoldRed,ansiBgUnderlineRed,ansiBgDefaultRed,ansiBgBlackRed,ansiBgRedRed,ansiBgGreenRed,ansiBgYellowRed,ansiBgBlueRed,ansiBgMagentaRed,ansiBgCyanRed,ansiBgWhiteRed,ansiBgGrayRed
  278. syn region ansiRedBg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=41\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiRedBgGroup,ansiConceal
  279. syn region ansiBgBoldRed contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  280. syn region ansiBgUnderlineRed contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  281. syn region ansiBgDefaultRed contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  282. syn region ansiBgBlackRed contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  283. syn region ansiBgRedRed contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  284. syn region ansiBgGreenRed contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  285. syn region ansiBgYellowRed contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  286. syn region ansiBgBlueRed contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  287. syn region ansiBgMagentaRed contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  288. syn region ansiBgCyanRed contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  289. syn region ansiBgWhiteRed contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  290. syn region ansiBgGrayRed contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  291. hi link ansiBgBoldRed ansiBoldRed
  292. hi link ansiBgUnderlineRed ansiUnderlineRed
  293. hi link ansiBgDefaultRed ansiDefaultRed
  294. hi link ansiBgBlackRed ansiBlackRed
  295. hi link ansiBgRedRed ansiRedRed
  296. hi link ansiBgGreenRed ansiGreenRed
  297. hi link ansiBgYellowRed ansiYellowRed
  298. hi link ansiBgBlueRed ansiBlueRed
  299. hi link ansiBgMagentaRed ansiMagentaRed
  300. hi link ansiBgCyanRed ansiCyanRed
  301. hi link ansiBgWhiteRed ansiWhiteRed
  302. hi link ansiBgGrayRed ansiGrayRed
  303. syn cluster AnsiGreenBgGroup contains=ansiBgBoldGreen,ansiBgUnderlineGreen,ansiBgDefaultGreen,ansiBgBlackGreen,ansiBgRedGreen,ansiBgGreenGreen,ansiBgYellowGreen,ansiBgBlueGreen,ansiBgMagentaGreen,ansiBgCyanGreen,ansiBgWhiteGreen,ansiBgGrayGreen
  304. syn region ansiGreenBg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=42\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiGreenBgGroup,ansiConceal
  305. syn region ansiBgBoldGreen contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  306. syn region ansiBgUnderlineGreen contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  307. syn region ansiBgDefaultGreen contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  308. syn region ansiBgBlackGreen contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  309. syn region ansiBgRedGreen contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  310. syn region ansiBgGreenGreen contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  311. syn region ansiBgYellowGreen contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  312. syn region ansiBgBlueGreen contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  313. syn region ansiBgMagentaGreen contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  314. syn region ansiBgCyanGreen contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  315. syn region ansiBgWhiteGreen contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  316. syn region ansiBgGrayGreen contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  317. hi link ansiBgBoldGreen ansiBoldGreen
  318. hi link ansiBgUnderlineGreen ansiUnderlineGreen
  319. hi link ansiBgDefaultGreen ansiDefaultGreen
  320. hi link ansiBgBlackGreen ansiBlackGreen
  321. hi link ansiBgGreenGreen ansiGreenGreen
  322. hi link ansiBgRedGreen ansiRedGreen
  323. hi link ansiBgYellowGreen ansiYellowGreen
  324. hi link ansiBgBlueGreen ansiBlueGreen
  325. hi link ansiBgMagentaGreen ansiMagentaGreen
  326. hi link ansiBgCyanGreen ansiCyanGreen
  327. hi link ansiBgWhiteGreen ansiWhiteGreen
  328. hi link ansiBgGrayGreen ansiGrayGreen
  329. syn cluster AnsiYellowBgGroup contains=ansiBgBoldYellow,ansiBgUnderlineYellow,ansiBgDefaultYellow,ansiBgBlackYellow,ansiBgRedYellow,ansiBgGreenYellow,ansiBgYellowYellow,ansiBgBlueYellow,ansiBgMagentaYellow,ansiBgCyanYellow,ansiBgWhiteYellow,ansiBgGrayYellow
  330. syn region ansiYellowBg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=43\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiYellowBgGroup,ansiConceal
  331. syn region ansiBgBoldYellow contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  332. syn region ansiBgUnderlineYellow contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  333. syn region ansiBgDefaultYellow contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  334. syn region ansiBgBlackYellow contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  335. syn region ansiBgRedYellow contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  336. syn region ansiBgGreenYellow contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  337. syn region ansiBgYellowYellow contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  338. syn region ansiBgBlueYellow contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  339. syn region ansiBgMagentaYellow contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  340. syn region ansiBgCyanYellow contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  341. syn region ansiBgWhiteYellow contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  342. syn region ansiBgGrayYellow contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  343. hi link ansiBgBoldYellow ansiBoldYellow
  344. hi link ansiBgUnderlineYellow ansiUnderlineYellow
  345. hi link ansiBgDefaultYellow ansiDefaultYellow
  346. hi link ansiBgBlackYellow ansiBlackYellow
  347. hi link ansiBgRedYellow ansiRedYellow
  348. hi link ansiBgGreenYellow ansiGreenYellow
  349. hi link ansiBgYellowYellow ansiYellowYellow
  350. hi link ansiBgBlueYellow ansiBlueYellow
  351. hi link ansiBgMagentaYellow ansiMagentaYellow
  352. hi link ansiBgCyanYellow ansiCyanYellow
  353. hi link ansiBgWhiteYellow ansiWhiteYellow
  354. hi link ansiBgGrayYellow ansiGrayYellow
  355. syn cluster AnsiBlueBgGroup contains=ansiBgBoldBlue,ansiBgUnderlineBlue,ansiBgDefaultBlue,ansiBgBlackBlue,ansiBgRedBlue,ansiBgGreenBlue,ansiBgYellowBlue,ansiBgBlueBlue,ansiBgMagentaBlue,ansiBgCyanBlue,ansiBgWhiteBlue,ansiBgGrayBlue
  356. syn region ansiBlueBg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=44\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiBlueBgGroup,ansiConceal
  357. syn region ansiBgBoldBlue contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  358. syn region ansiBgUnderlineBlue contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  359. syn region ansiBgDefaultBlue contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  360. syn region ansiBgBlackBlue contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  361. syn region ansiBgRedBlue contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  362. syn region ansiBgGreenBlue contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  363. syn region ansiBgYellowBlue contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  364. syn region ansiBgBlueBlue contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  365. syn region ansiBgMagentaBlue contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  366. syn region ansiBgCyanBlue contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  367. syn region ansiBgWhiteBlue contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  368. syn region ansiBgGrayBlue contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  369. hi link ansiBgBoldBlue ansiBoldBlue
  370. hi link ansiBgUnderlineBlue ansiUnderlineBlue
  371. hi link ansiBgDefaultBlue ansiDefaultBlue
  372. hi link ansiBgBlackBlue ansiBlackBlue
  373. hi link ansiBgRedBlue ansiRedBlue
  374. hi link ansiBgGreenBlue ansiGreenBlue
  375. hi link ansiBgYellowBlue ansiYellowBlue
  376. hi link ansiBgBlueBlue ansiBlueBlue
  377. hi link ansiBgMagentaBlue ansiMagentaBlue
  378. hi link ansiBgCyanBlue ansiCyanBlue
  379. hi link ansiBgWhiteBlue ansiWhiteBlue
  380. hi link ansiBgGrayBlue ansiGrayBlue
  381. syn cluster AnsiMagentaBgGroup contains=ansiBgBoldMagenta,ansiBgUnderlineMagenta,ansiBgDefaultMagenta,ansiBgBlackMagenta,ansiBgRedMagenta,ansiBgGreenMagenta,ansiBgYellowMagenta,ansiBgBlueMagenta,ansiBgMagentaMagenta,ansiBgCyanMagenta,ansiBgWhiteMagenta,ansiBgGrayMagenta
  382. syn region ansiMagentaBg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=45\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiMagentaBgGroup,ansiConceal
  383. syn region ansiBgBoldMagenta contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  384. syn region ansiBgUnderlineMagenta contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  385. syn region ansiBgDefaultMagenta contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  386. syn region ansiBgBlackMagenta contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  387. syn region ansiBgRedMagenta contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  388. syn region ansiBgGreenMagenta contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  389. syn region ansiBgYellowMagenta contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  390. syn region ansiBgBlueMagenta contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  391. syn region ansiBgMagentaMagenta contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  392. syn region ansiBgCyanMagenta contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  393. syn region ansiBgWhiteMagenta contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  394. syn region ansiBgGrayMagenta contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  395. hi link ansiBgBoldMagenta ansiBoldMagenta
  396. hi link ansiBgUnderlineMagenta ansiUnderlineMagenta
  397. hi link ansiBgDefaultMagenta ansiDefaultMagenta
  398. hi link ansiBgBlackMagenta ansiBlackMagenta
  399. hi link ansiBgRedMagenta ansiRedMagenta
  400. hi link ansiBgGreenMagenta ansiGreenMagenta
  401. hi link ansiBgYellowMagenta ansiYellowMagenta
  402. hi link ansiBgBlueMagenta ansiBlueMagenta
  403. hi link ansiBgMagentaMagenta ansiMagentaMagenta
  404. hi link ansiBgCyanMagenta ansiCyanMagenta
  405. hi link ansiBgWhiteMagenta ansiWhiteMagenta
  406. hi link ansiBgGrayMagenta ansiGrayMagenta
  407. syn cluster AnsiCyanBgGroup contains=ansiBgBoldCyan,ansiBgUnderlineCyan,ansiBgDefaultCyan,ansiBgBlackCyan,ansiBgRedCyan,ansiBgGreenCyan,ansiBgYellowCyan,ansiBgBlueCyan,ansiBgMagentaCyan,ansiBgCyanCyan,ansiBgWhiteCyan,ansiBgGrayCyan
  408. syn region ansiCyanBg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=46\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiCyanBgGroup,ansiConceal
  409. syn region ansiBgBoldCyan contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  410. syn region ansiBgUnderlineCyan contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  411. syn region ansiBgDefaultCyan contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  412. syn region ansiBgBlackCyan contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  413. syn region ansiBgRedCyan contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  414. syn region ansiBgGreenCyan contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  415. syn region ansiBgYellowCyan contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  416. syn region ansiBgBlueCyan contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  417. syn region ansiBgMagentaCyan contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  418. syn region ansiBgCyanCyan contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  419. syn region ansiBgWhiteCyan contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  420. syn region ansiBgGrayCyan contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  421. hi link ansiBgBoldCyan ansiBoldCyan
  422. hi link ansiBgUnderlineCyan ansiUnderlineCyan
  423. hi link ansiBgDefaultCyan ansiDefaultCyan
  424. hi link ansiBgBlackCyan ansiBlackCyan
  425. hi link ansiBgRedCyan ansiRedCyan
  426. hi link ansiBgGreenCyan ansiGreenCyan
  427. hi link ansiBgYellowCyan ansiYellowCyan
  428. hi link ansiBgBlueCyan ansiBlueCyan
  429. hi link ansiBgMagentaCyan ansiMagentaCyan
  430. hi link ansiBgCyanCyan ansiCyanCyan
  431. hi link ansiBgWhiteCyan ansiWhiteCyan
  432. hi link ansiBgGrayCyan ansiGrayCyan
  433. syn cluster AnsiWhiteBgGroup contains=ansiBgBoldWhite,ansiBgUnderlineWhite,ansiBgDefaultWhite,ansiBgBlackWhite,ansiBgRedWhite,ansiBgGreenWhite,ansiBgYellowWhite,ansiBgBlueWhite,ansiBgMagentaWhite,ansiBgCyanWhite,ansiBgWhiteWhite,ansiBgGrayWhite
  434. syn region ansiWhiteBg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=47\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiWhiteBgGroup,ansiConceal
  435. syn region ansiBgBoldWhite contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  436. syn region ansiBgUnderlineWhite contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  437. syn region ansiBgDefaultWhite contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  438. syn region ansiBgBlackWhite contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  439. syn region ansiBgRedWhite contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  440. syn region ansiBgGreenWhite contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  441. syn region ansiBgYellowWhite contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  442. syn region ansiBgBlueWhite contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  443. syn region ansiBgMagentaWhite contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  444. syn region ansiBgCyanWhite contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  445. syn region ansiBgWhiteWhite contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  446. syn region ansiBgGrayWhite contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  447. hi link ansiBgBoldWhite ansiBoldWhite
  448. hi link ansiBgUnderlineWhite ansiUnderlineWhite
  449. hi link ansiBgDefaultWhite ansiDefaultWhite
  450. hi link ansiBgBlackWhite ansiBlackWhite
  451. hi link ansiBgRedWhite ansiRedWhite
  452. hi link ansiBgGreenWhite ansiGreenWhite
  453. hi link ansiBgYellowWhite ansiYellowWhite
  454. hi link ansiBgBlueWhite ansiBlueWhite
  455. hi link ansiBgMagentaWhite ansiMagentaWhite
  456. hi link ansiBgCyanWhite ansiCyanWhite
  457. hi link ansiBgWhiteWhite ansiWhiteWhite
  458. hi link ansiBgGrayWhite ansiGrayWhite
  459. "-----------------------------------------
  460. " handles implicit foreground highlighting
  461. "-----------------------------------------
  462. " call Decho("installing implicit foreground highlighting")
  463. syn cluster AnsiDefaultFgGroup contains=ansiFgDefaultBold,ansiFgDefaultUnderline,ansiFgDefaultDefault,ansiFgDefaultBlack,ansiFgDefaultRed,ansiFgDefaultGreen,ansiFgDefaultYellow,ansiFgDefaultBlue,ansiFgDefaultMagenta,ansiFgDefaultCyan,ansiFgDefaultWhite
  464. syn region ansiDefaultFg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(0;\)\=39\%(;0\)\=m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=@AnsiDefaultFgGroup,ansiConceal
  465. syn region ansiFgDefaultBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  466. syn region ansiFgDefaultUnerline contained start="\e\[4m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  467. syn region ansiFgDefaultDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  468. syn region ansiFgDefaultBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  469. syn region ansiFgDefaultRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  470. syn region ansiFgDefaultGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  471. syn region ansiFgDefaultYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  472. syn region ansiFgDefaultBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  473. syn region ansiFgDefaultMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  474. syn region ansiFgDefaultCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  475. syn region ansiFgDefaultWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  476. hi link ansiFgDefaultBold ansiDefaultBold
  477. hi link ansiFgDefaultUnderline ansiDefaultUnderline
  478. hi link ansiFgDefaultDefault ansiDefaultDefault
  479. hi link ansiFgDefaultBlack ansiDefaultBlack
  480. hi link ansiFgDefaultRed ansiDefaultRed
  481. hi link ansiFgDefaultGreen ansiDefaultGreen
  482. hi link ansiFgDefaultYellow ansiDefaultYellow
  483. hi link ansiFgDefaultBlue ansiDefaultBlue
  484. hi link ansiFgDefaultMagenta ansiDefaultMagenta
  485. hi link ansiFgDefaultCyan ansiDefaultCyan
  486. hi link ansiFgDefaultWhite ansiDefaultWhite
  487. syn cluster AnsiBlackFgGroup contains=ansiFgBlackBold,ansiFgBlackUnderline,ansiFgBlackDefault,ansiFgBlackBlack,ansiFgBlackRed,ansiFgBlackGreen,ansiFgBlackYellow,ansiFgBlackBlue,ansiFgBlackMagenta,ansiFgBlackCyan,ansiFgBlackWhite
  488. syn region ansiBlackFg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=30\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiBlackFgGroup,ansiConceal
  489. syn region ansiFgBlackBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  490. syn region ansiFgBlackUnerline contained start="\e\[4m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  491. syn region ansiFgBlackDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  492. syn region ansiFgBlackBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  493. syn region ansiFgBlackRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  494. syn region ansiFgBlackGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  495. syn region ansiFgBlackYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  496. syn region ansiFgBlackBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  497. syn region ansiFgBlackMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  498. syn region ansiFgBlackCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  499. syn region ansiFgBlackWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  500. hi link ansiFgBlackBold ansiBlackBold
  501. hi link ansiFgBlackUnderline ansiBlackUnderline
  502. hi link ansiFgBlackDefault ansiBlackDefault
  503. hi link ansiFgBlackBlack ansiBlackBlack
  504. hi link ansiFgBlackRed ansiBlackRed
  505. hi link ansiFgBlackGreen ansiBlackGreen
  506. hi link ansiFgBlackYellow ansiBlackYellow
  507. hi link ansiFgBlackBlue ansiBlackBlue
  508. hi link ansiFgBlackMagenta ansiBlackMagenta
  509. hi link ansiFgBlackCyan ansiBlackCyan
  510. hi link ansiFgBlackWhite ansiBlackWhite
  511. syn cluster AnsiRedFgGroup contains=ansiFgRedBold,ansiFgRedUnderline,ansiFgRedDefault,ansiFgRedBlack,ansiFgRedRed,ansiFgRedGreen,ansiFgRedYellow,ansiFgRedBlue,ansiFgRedMagenta,ansiFgRedCyan,ansiFgRedWhite
  512. syn region ansiRedFg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=31\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiRedFgGroup,ansiConceal
  513. syn region ansiFgRedBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  514. syn region ansiFgRedUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  515. syn region ansiFgRedDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  516. syn region ansiFgRedBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  517. syn region ansiFgRedRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  518. syn region ansiFgRedGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  519. syn region ansiFgRedYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  520. syn region ansiFgRedBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  521. syn region ansiFgRedMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  522. syn region ansiFgRedCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  523. syn region ansiFgRedWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  524. hi link ansiFgRedBold ansiRedBold
  525. hi link ansiFgRedUnderline ansiRedUnderline
  526. hi link ansiFgRedDefault ansiRedDefault
  527. hi link ansiFgRedBlack ansiRedBlack
  528. hi link ansiFgRedRed ansiRedRed
  529. hi link ansiFgRedGreen ansiRedGreen
  530. hi link ansiFgRedYellow ansiRedYellow
  531. hi link ansiFgRedBlue ansiRedBlue
  532. hi link ansiFgRedMagenta ansiRedMagenta
  533. hi link ansiFgRedCyan ansiRedCyan
  534. hi link ansiFgRedWhite ansiRedWhite
  535. syn cluster AnsiGreenFgGroup contains=ansiFgGreenBold,ansiFgGreenUnderline,ansiFgGreenDefault,ansiFgGreenBlack,ansiFgGreenRed,ansiFgGreenGreen,ansiFgGreenYellow,ansiFgGreenBlue,ansiFgGreenMagenta,ansiFgGreenCyan,ansiFgGreenWhite
  536. syn region ansiGreenFg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=32\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiGreenFgGroup,ansiConceal
  537. syn region ansiFgGreenBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  538. syn region ansiFgGreenUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  539. syn region ansiFgGreenDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  540. syn region ansiFgGreenBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  541. syn region ansiFgGreenRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  542. syn region ansiFgGreenGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  543. syn region ansiFgGreenYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  544. syn region ansiFgGreenBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  545. syn region ansiFgGreenMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  546. syn region ansiFgGreenCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  547. syn region ansiFgGreenWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  548. hi link ansiFgGreenBold ansiGreenBold
  549. hi link ansiFgGreenUnderline ansiGreenUnderline
  550. hi link ansiFgGreenDefault ansiGreenDefault
  551. hi link ansiFgGreenBlack ansiGreenBlack
  552. hi link ansiFgGreenGreen ansiGreenGreen
  553. hi link ansiFgGreenRed ansiGreenRed
  554. hi link ansiFgGreenYellow ansiGreenYellow
  555. hi link ansiFgGreenBlue ansiGreenBlue
  556. hi link ansiFgGreenMagenta ansiGreenMagenta
  557. hi link ansiFgGreenCyan ansiGreenCyan
  558. hi link ansiFgGreenWhite ansiGreenWhite
  559. syn cluster AnsiYellowFgGroup contains=ansiFgYellowBold,ansiFgYellowUnderline,ansiFgYellowDefault,ansiFgYellowBlack,ansiFgYellowRed,ansiFgYellowGreen,ansiFgYellowYellow,ansiFgYellowBlue,ansiFgYellowMagenta,ansiFgYellowCyan,ansiFgYellowWhite
  560. syn region ansiYellowFg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=33\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiYellowFgGroup,ansiConceal
  561. syn region ansiFgYellowBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  562. syn region ansiFgYellowUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  563. syn region ansiFgYellowDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  564. syn region ansiFgYellowBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  565. syn region ansiFgYellowRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  566. syn region ansiFgYellowGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  567. syn region ansiFgYellowYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  568. syn region ansiFgYellowBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  569. syn region ansiFgYellowMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  570. syn region ansiFgYellowCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  571. syn region ansiFgYellowWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  572. hi link ansiFgYellowBold ansiYellowBold
  573. hi link ansiFgYellowUnderline ansiYellowUnderline
  574. hi link ansiFgYellowDefault ansiYellowDefault
  575. hi link ansiFgYellowBlack ansiYellowBlack
  576. hi link ansiFgYellowRed ansiYellowRed
  577. hi link ansiFgYellowGreen ansiYellowGreen
  578. hi link ansiFgYellowYellow ansiYellowYellow
  579. hi link ansiFgYellowBlue ansiYellowBlue
  580. hi link ansiFgYellowMagenta ansiYellowMagenta
  581. hi link ansiFgYellowCyan ansiYellowCyan
  582. hi link ansiFgYellowWhite ansiYellowWhite
  583. syn cluster AnsiBlueFgGroup contains=ansiFgBlueBold,ansiFgBlueUnderline,ansiFgBlueDefault,ansiFgBlueBlack,ansiFgBlueRed,ansiFgBlueGreen,ansiFgBlueYellow,ansiFgBlueBlue,ansiFgBlueMagenta,ansiFgBlueCyan,ansiFgBlueWhite
  584. syn region ansiBlueFg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=34\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiBlueFgGroup,ansiConceal
  585. syn region ansiFgBlueBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  586. syn region ansiFgBlueUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  587. syn region ansiFgBlueDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  588. syn region ansiFgBlueBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  589. syn region ansiFgBlueRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  590. syn region ansiFgBlueGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  591. syn region ansiFgBlueYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  592. syn region ansiFgBlueBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  593. syn region ansiFgBlueMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  594. syn region ansiFgBlueCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  595. syn region ansiFgBlueWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  596. hi link ansiFgBlueBold ansiBlueBold
  597. hi link ansiFgBlueUnderline ansiBlueUnderline
  598. hi link ansiFgBlueDefault ansiBlueDefault
  599. hi link ansiFgBlueBlack ansiBlueBlack
  600. hi link ansiFgBlueRed ansiBlueRed
  601. hi link ansiFgBlueGreen ansiBlueGreen
  602. hi link ansiFgBlueYellow ansiBlueYellow
  603. hi link ansiFgBlueBlue ansiBlueBlue
  604. hi link ansiFgBlueMagenta ansiBlueMagenta
  605. hi link ansiFgBlueCyan ansiBlueCyan
  606. hi link ansiFgBlueWhite ansiBlueWhite
  607. syn cluster AnsiMagentaFgGroup contains=ansiFgMagentaBold,ansiFgMagentaUnderline,ansiFgMagentaDefault,ansiFgMagentaBlack,ansiFgMagentaRed,ansiFgMagentaGreen,ansiFgMagentaYellow,ansiFgMagentaBlue,ansiFgMagentaMagenta,ansiFgMagentaCyan,ansiFgMagentaWhite
  608. syn region ansiMagentaFg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=35\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiMagentaFgGroup,ansiConceal
  609. syn region ansiFgMagentaBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  610. syn region ansiFgMagentaUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  611. syn region ansiFgMagentaDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  612. syn region ansiFgMagentaBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  613. syn region ansiFgMagentaRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  614. syn region ansiFgMagentaGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  615. syn region ansiFgMagentaYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  616. syn region ansiFgMagentaBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  617. syn region ansiFgMagentaMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  618. syn region ansiFgMagentaCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  619. syn region ansiFgMagentaWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  620. hi link ansiFgMagentaBold ansiMagentaBold
  621. hi link ansiFgMagentaUnderline ansiMagentaUnderline
  622. hi link ansiFgMagentaDefault ansiMagentaDefault
  623. hi link ansiFgMagentaBlack ansiMagentaBlack
  624. hi link ansiFgMagentaRed ansiMagentaRed
  625. hi link ansiFgMagentaGreen ansiMagentaGreen
  626. hi link ansiFgMagentaYellow ansiMagentaYellow
  627. hi link ansiFgMagentaBlue ansiMagentaBlue
  628. hi link ansiFgMagentaMagenta ansiMagentaMagenta
  629. hi link ansiFgMagentaCyan ansiMagentaCyan
  630. hi link ansiFgMagentaWhite ansiMagentaWhite
  631. syn cluster AnsiCyanFgGroup contains=ansiFgCyanBold,ansiFgCyanUnderline,ansiFgCyanDefault,ansiFgCyanBlack,ansiFgCyanRed,ansiFgCyanGreen,ansiFgCyanYellow,ansiFgCyanBlue,ansiFgCyanMagenta,ansiFgCyanCyan,ansiFgCyanWhite
  632. syn region ansiCyanFg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=36\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiCyanFgGroup,ansiConceal
  633. syn region ansiFgCyanBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  634. syn region ansiFgCyanUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  635. syn region ansiFgCyanDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  636. syn region ansiFgCyanBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  637. syn region ansiFgCyanRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  638. syn region ansiFgCyanGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  639. syn region ansiFgCyanYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  640. syn region ansiFgCyanBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  641. syn region ansiFgCyanMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  642. syn region ansiFgCyanCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  643. syn region ansiFgCyanWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  644. hi link ansiFgCyanBold ansiCyanBold
  645. hi link ansiFgCyanUnderline ansiCyanUnderline
  646. hi link ansiFgCyanDefault ansiCyanDefault
  647. hi link ansiFgCyanBlack ansiCyanBlack
  648. hi link ansiFgCyanRed ansiCyanRed
  649. hi link ansiFgCyanGreen ansiCyanGreen
  650. hi link ansiFgCyanYellow ansiCyanYellow
  651. hi link ansiFgCyanBlue ansiCyanBlue
  652. hi link ansiFgCyanMagenta ansiCyanMagenta
  653. hi link ansiFgCyanCyan ansiCyanCyan
  654. hi link ansiFgCyanWhite ansiCyanWhite
  655. syn cluster AnsiWhiteFgGroup contains=ansiFgWhiteBold,ansiFgWhiteUnderline,ansiFgWhiteDefault,ansiFgWhiteBlack,ansiFgWhiteRed,ansiFgWhiteGreen,ansiFgWhiteYellow,ansiFgWhiteBlue,ansiFgWhiteMagenta,ansiFgWhiteCyan,ansiFgWhiteWhite
  656. syn region ansiWhiteFg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=37\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiWhiteFgGroup,ansiConceal
  657. syn region ansiFgWhiteBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  658. syn region ansiFgWhiteUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  659. syn region ansiFgWhiteDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  660. syn region ansiFgWhiteBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  661. syn region ansiFgWhiteRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  662. syn region ansiFgWhiteGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  663. syn region ansiFgWhiteYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  664. syn region ansiFgWhiteBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  665. syn region ansiFgWhiteMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  666. syn region ansiFgWhiteCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  667. syn region ansiFgWhiteWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  668. hi link ansiFgWhiteBold ansiWhiteBold
  669. hi link ansiFgWhiteUnderline ansiWhiteUnderline
  670. hi link ansiFgWhiteDefault ansiWhiteDefault
  671. hi link ansiFgWhiteBlack ansiWhiteBlack
  672. hi link ansiFgWhiteRed ansiWhiteRed
  673. hi link ansiFgWhiteGreen ansiWhiteGreen
  674. hi link ansiFgWhiteYellow ansiWhiteYellow
  675. hi link ansiFgWhiteBlue ansiWhiteBlue
  676. hi link ansiFgWhiteMagenta ansiWhiteMagenta
  677. hi link ansiFgWhiteCyan ansiWhiteCyan
  678. hi link ansiFgWhiteWhite ansiWhiteWhite
  679. syn cluster AnsiGrayFgGroup contains=ansiFgGrayBold,ansiFgGrayUnderline,ansiFgGrayDefault,ansiFgGrayBlack,ansiFgGrayRed,ansiFgGrayGreen,ansiFgGrayYellow,ansiFgGrayBlue,ansiFgGrayMagenta,ansiFgGrayCyan,ansiFgGrayWhite
  680. syn region ansiGrayFg concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=90\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[039m]" contains=@AnsiGrayFgGroup,ansiConceal
  681. syn region ansiFgGrayBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  682. syn region ansiFgGrayUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  683. syn region ansiFgGrayDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  684. syn region ansiFgGrayBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  685. syn region ansiFgGrayRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  686. syn region ansiFgGrayGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  687. syn region ansiFgGrayYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  688. syn region ansiFgGrayBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  689. syn region ansiFgGrayMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  690. syn region ansiFgGrayCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  691. syn region ansiFgGrayWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  692. hi link ansiFgGrayBold ansiGrayBold
  693. hi link ansiFgGrayUnderline ansiGrayUnderline
  694. hi link ansiFgGrayDefault ansiGrayDefault
  695. hi link ansiFgGrayBlack ansiGrayBlack
  696. hi link ansiFgGrayRed ansiGrayRed
  697. hi link ansiFgGrayGreen ansiGrayGreen
  698. hi link ansiFgGrayYellow ansiGrayYellow
  699. hi link ansiFgGrayBlue ansiGrayBlue
  700. hi link ansiFgGrayMagenta ansiGrayMagenta
  701. hi link ansiFgGrayCyan ansiGrayCyan
  702. hi link ansiFgGrayWhite ansiGrayWhite
  703. syn cluster AnsiBoldGroup contains=ansiUnderlineBoldRegion,ansiDefaultBoldRegion,ansiBlackBoldRegion,ansiWhiteBoldRegion,ansiGrayBoldRegion,ansiRedBoldRegion,ansiGreenBoldRegion,ansiYellowBoldRegion,ansiBlueBoldRegion,ansiMagentaBoldRegion,ansiCyanBoldRegion
  704. syn region ansiBoldRegion concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=1;\=m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(0*\|22\)\=m" contains=@AnsiBoldGroup,ansiConceal
  705. syn region ansiUnderlineBoldRegion contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  706. syn region ansiDefaultBoldRegion contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  707. syn region ansiBlackBoldRegion contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  708. syn region ansiRedBoldRegion contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  709. syn region ansiGreenBoldRegion contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  710. syn region ansiYellowBoldRegion contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  711. syn region ansiBlueBoldRegion contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  712. syn region ansiMagentaBoldRegion contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  713. syn region ansiCyanBoldRegion contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  714. syn region ansiWhiteBoldRegion contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  715. syn region ansiGrayBoldRegion contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  716. hi link ansiBoldRegion ansiBold
  717. hi link ansiUnderlineBoldRegion ansiBoldUnderline
  718. hi link ansiDefaultBoldRegion ansiBoldDefault
  719. hi link ansiBlackBoldRegion ansiBoldBlack
  720. hi link ansiRedBoldRegion ansiBoldRed
  721. hi link ansiGreenBoldRegion ansiBoldGreen
  722. hi link ansiYellowBoldRegion ansiBoldYellow
  723. hi link ansiBlueBoldRegion ansiBoldBlue
  724. hi link ansiMagentaBoldRegion ansiBoldMagenta
  725. hi link ansiCyanBoldRegion ansiBoldCyan
  726. hi link ansiWhiteBoldRegion ansiBoldWhite
  727. hi link ansiGrayBoldRegion ansiBoldGray
  728. syn cluster AnsiUnderlineGroup contains=ansiBoldUnderlineRegion,ansiDefaultUnderlineRegion,ansiBlackUnderlineRegion,ansiWhiteUnderlineRegion,ansiGrayUnderlineRegion,ansiRedUnderlineRegion,ansiGreenUnderlineRegion,ansiYellowUnderlineRegion,ansiBlueUnderlineRegion,ansiMagentaUnderlineRegion,ansiCyanUnderlineRegion
  729. syn region ansiUnderlineRegion concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=4;\=m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(0*\|24\)\=m" contains=@AnsiUnderlineGroup,ansiConceal
  730. syn region ansiBoldUnderlineRegion contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  731. syn region ansiDefaultUnderlineRegion contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  732. syn region ansiBlackUnderlineRegion contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  733. syn region ansiRedUnderlineRegion contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  734. syn region ansiGreenUnderlineRegion contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  735. syn region ansiYellowUnderlineRegion contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  736. syn region ansiBlueUnderlineRegion contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  737. syn region ansiMagentaUnderlineRegion contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  738. syn region ansiCyanUnderlineRegion contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  739. syn region ansiWhiteUnderlineRegion contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  740. syn region ansiGrayUnderlineRegion contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  741. hi link ansiUnderlineRegion ansiUnderline
  742. hi link ansiBoldUnderlineRegion ansiBoldUnderline
  743. hi link ansiDefaultUnderlineRegion ansiUnderlineDefault
  744. hi link ansiBlackUnderlineRegion ansiUnderlineBlack
  745. hi link ansiRedUnderlineRegion ansiUnderlineRed
  746. hi link ansiGreenUnderlineRegion ansiUnderlineGreen
  747. hi link ansiYellowUnderlineRegion ansiUnderlineYellow
  748. hi link ansiBlueUnderlineRegion ansiUnderlineBlue
  749. hi link ansiMagentaUnderlineRegion ansiUnderlineMagenta
  750. hi link ansiCyanUnderlineRegion ansiUnderlineCyan
  751. hi link ansiWhiteUnderlineRegion ansiUnderlineWhite
  752. hi link ansiGrayUnderlineRegion ansiUnderlineGray
  753. "-----------------------------------------
  754. " handles implicit reverse background highlighting
  755. "-----------------------------------------
  756. " call Decho("installing implicit reverse background highlighting")
  757. syn cluster AnsiReverseGroup contains=ansiUnderlineReverse,ansiBoldReverse,ansiDefaultReverse,ansiBlackReverse,ansiWhiteReverse,ansiGrayReverse,ansiRedReverse,ansiGreenReverse,ansiYellowReverse,ansiBlueReverse,ansiMagentaReverse,ansiCyanReverse,ansiDefaultReverseBg,ansiBlackReverseBg,ansiRedReverseBg,ansiGreenReverseBg,ansiYellowReverseBg,ansiBlueReverseBg,ansiMagentaReverseBg,ansiCyanReverseBg,ansiWhiteReverseBg,ansiDefaultReverseFg,ansiBlackReverseFg,ansiWhiteReverseFg,ansiGrayReverseFg,ansiRedReverseFg,ansiGreenReverseFg,ansiYellowReverseFg,ansiBlueReverseFg,ansiMagentaReverseFg,ansiCyanReverseFg,ansiReverseBoldRegion,ansiReverseUnderlineRegion
  758. syn region ansiReverseRegion concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=7;\=m" skip='\e\[K' end="\ze\e\[\%(0\|27\)\=m" contains=@AnsiReverseGroup,ansiConceal
  759. syn region ansiUnderlineReverse contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  760. syn region ansiBgBoldReverse contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  761. syn region ansiDefaultReverse contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  762. syn region ansiBlackReverse contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  763. syn region ansiRedReverse contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  764. syn region ansiGreenReverse contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  765. syn region ansiYellowReverse contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  766. syn region ansiBlueReverse contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  767. syn region ansiMagentaReverse contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  768. syn region ansiCyanReverse contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  769. syn region ansiWhiteReverse contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  770. syn region ansiGrayReverse contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  771. hi link ansiReverseRegion ansiReverse
  772. hi link ansiUnderlineReverse ansiReverseUnderline
  773. hi link ansiBgBoldReverse ansiReverseBold
  774. hi link ansiDefaultReverse ansiReverseDefault
  775. hi link ansiBlackReverse ansiReverseBlack
  776. hi link ansiRedReverse ansiReverseRed
  777. hi link ansiGreenReverse ansiReverseGreen
  778. hi link ansiYellowReverse ansiReverseYellow
  779. hi link ansiBlueReverse ansiReverseBlue
  780. hi link ansiMagentaReverse ansiReverseMagenta
  781. hi link ansiCyanReverse ansiReverseCyan
  782. hi link ansiWhiteReverse ansiReverseWhite
  783. hi link ansiGrayReverse ansiReverseGray
  784. syn cluster AnsiDefaultReverseBgGroup contains=ansiReverseBgBoldDefault,ansiReverseBgUnderlineDefault,ansiReverseBgDefaultDefault,ansiReverseBgBlackDefault,ansiReverseBgRedDefault,ansiReverseBgGreenDefault,ansiReverseBgYellowDefault,ansiReverseBgBlueDefault,ansiReverseBgMagentaDefault,ansiReverseBgCyanDefault,ansiReverseBgWhiteDefault,ansiReverseBgGrayDefault
  785. syn region ansiDefaultReverseBg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(0\{0,2};\)\=49\%(0\{0,2};\)\=m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=@AnsiDefaultBgGroup,ansiConceal
  786. syn region ansiReverseBgBoldDefault contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  787. syn region ansiReverseBgUnderlineDefault contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  788. syn region ansiReverseBgDefaultDefault contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  789. syn region ansiReverseBgBlackDefault contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  790. syn region ansiReverseBgRedDefault contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  791. syn region ansiReverseBgGreenDefault contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  792. syn region ansiReverseBgYellowDefault contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  793. syn region ansiReverseBgBlueDefault contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  794. syn region ansiReverseBgMagentaDefault contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  795. syn region ansiReverseBgCyanDefault contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  796. syn region ansiReverseBgWhiteDefault contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  797. syn region ansiReverseBgGrayDefault contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  798. hi link ansiReverseBgBoldDefault ansiReverseBold
  799. hi link ansiReverseBgUnderlineDefault ansiReverseUnderline
  800. hi link ansiReverseBgDefaultDefault ansiDefaultDefault
  801. hi link ansiReverseBgBlackDefault ansiDefaultBlack
  802. hi link ansiReverseBgRedDefault ansiDefaultRed
  803. hi link ansiReverseBgGreenDefault ansiDefaultGreen
  804. hi link ansiReverseBgYellowDefault ansiDefaultYellow
  805. hi link ansiReverseBgBlueDefault ansiDefaultBlue
  806. hi link ansiReverseBgMagentaDefault ansiDefaultMagenta
  807. hi link ansiReverseBgCyanDefault ansiDefaultCyan
  808. hi link ansiReverseBgWhiteDefault ansiDefaultWhite
  809. hi link ansiReverseBgGrayDefault ansiDefaultGray
  810. syn cluster AnsiBlackReverseBgGroup contains=ansiReverseBgBoldBlack,ansiReverseBgUnderlineBlack,ansiReverseBgDefaultBlack,ansiReverseBgBlackBlack,ansiReverseBgRedBlack,ansiReverseBgGreenBlack,ansiReverseBgYellowBlack,ansiReverseBgBlueBlack,ansiReverseBgMagentaBlack,ansiReverseBgCyanBlack,ansiReverseBgWhiteBlack,ansiReverseBgGrayBlack
  811. syn region ansiBlackReverseBg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=40\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiBlackReverseBgGroup,ansiConceal
  812. syn region ansiReverseBgBoldBlack contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  813. syn region ansiReverseBgUnderlineBlack contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  814. syn region ansiReverseBgDefaultBlack contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  815. syn region ansiReverseBgBlackBlack contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  816. syn region ansiReverseBgRedBlack contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  817. syn region ansiReverseBgGreenBlack contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  818. syn region ansiReverseBgYellowBlack contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  819. syn region ansiReverseBgBlueBlack contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  820. syn region ansiReverseBgMagentaBlack contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  821. syn region ansiReverseBgCyanBlack contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  822. syn region ansiReverseBgWhiteBlack contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  823. syn region ansiReverseBgGrayBlack contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  824. hi link ansiReverseBgBoldBlack ansiBlackBold
  825. hi link ansiReverseBgUnderlineBlack ansiBlackUnderline
  826. hi link ansiReverseBgDefaultBlack ansiDefaultBlack
  827. hi link ansiReverseBgBlackBlack ansiBlackBlack
  828. hi link ansiReverseBgRedBlack ansiBlackRed
  829. hi link ansiReverseBgGreenBlack ansiBlackGreen
  830. hi link ansiReverseBgYellowBlack ansiBlackYellow
  831. hi link ansiReverseBgBlueBlack ansiBlackBlue
  832. hi link ansiReverseBgMagentaBlack ansiBlackMagenta
  833. hi link ansiReverseBgCyanBlack ansiBlackCyan
  834. hi link ansiReverseBgWhiteBlack ansiBlackWhite
  835. hi link ansiReverseBgGrayBlack ansiBlackGray
  836. syn cluster AnsiRedReverseBgGroup contains=ansiReverseBgBoldRed,ansiReverseBgUnderlineRed,ansiReverseBgDefaultRed,ansiReverseBgBlackRed,ansiReverseBgRedRed,ansiReverseBgGreenRed,ansiReverseBgYellowRed,ansiReverseBgBlueRed,ansiReverseBgMagentaRed,ansiReverseBgCyanRed,ansiReverseBgWhiteRed,ansiReverseBgGrayRed
  837. syn region ansiRedReverseBg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=41\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiRedReverseBgGroup,ansiConceal
  838. syn region ansiReverseBgBoldRed contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  839. syn region ansiReverseBgUnderlineRed contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  840. syn region ansiReverseBgDefaultRed contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  841. syn region ansiReverseBgBlackRed contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  842. syn region ansiReverseBgRedRed contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  843. syn region ansiReverseBgGreenRed contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  844. syn region ansiReverseBgYellowRed contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  845. syn region ansiReverseBgBlueRed contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  846. syn region ansiReverseBgMagentaRed contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  847. syn region ansiReverseBgCyanRed contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  848. syn region ansiReverseBgWhiteRed contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  849. syn region ansiReverseBgGrayRed contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  850. hi link ansiReverseBgBoldRed ansiRedBold
  851. hi link ansiReverseBgUnderlineRed ansiRedUnderline
  852. hi link ansiReverseBgDefaultRed ansiRedDefault
  853. hi link ansiReverseBgBlackRed ansiRedBlack
  854. hi link ansiReverseBgRedRed ansiRedRed
  855. hi link ansiReverseBgGreenRed ansiRedGreen
  856. hi link ansiReverseBgYellowRed ansiRedYellow
  857. hi link ansiReverseBgBlueRed ansiRedBlue
  858. hi link ansiReverseBgMagentaRed ansiRedMagenta
  859. hi link ansiReverseBgCyanRed ansiRedCyan
  860. hi link ansiReverseBgWhiteRed ansiRedWhite
  861. hi link ansiReverseBgGrayRed ansiRedGray
  862. syn cluster AnsiGreenReverseBgGroup contains=ansiReverseBgBoldGreen,ansiReverseBgUnderlineGreen,ansiReverseBgDefaultGreen,ansiReverseBgBlackGreen,ansiReverseBgRedGreen,ansiReverseBgGreenGreen,ansiReverseBgYellowGreen,ansiReverseBgBlueGreen,ansiReverseBgMagentaGreen,ansiReverseBgCyanGreen,ansiReverseBgWhiteGreen,ansiReverseBgGrayGreen
  863. syn region ansiGreenReverseBg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=42\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiGreenReverseBgGroup,ansiConceal
  864. syn region ansiReverseBgBoldGreen contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  865. syn region ansiReverseBgUnderlineGreen contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  866. syn region ansiReverseBgDefaultGreen contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  867. syn region ansiReverseBgBlackGreen contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  868. syn region ansiReverseBgRedGreen contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  869. syn region ansiReverseBgGreenGreen contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  870. syn region ansiReverseBgYellowGreen contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  871. syn region ansiReverseBgBlueGreen contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  872. syn region ansiReverseBgMagentaGreen contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  873. syn region ansiReverseBgCyanGreen contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  874. syn region ansiReverseBgWhiteGreen contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  875. syn region ansiReverseBgGrayGreen contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  876. hi link ansiReverseBgBoldGreen ansiGreenBold
  877. hi link ansiReverseBgUnderlineGreen ansiGreenUnderline
  878. hi link ansiReverseBgDefaultGreen ansiGreenDefault
  879. hi link ansiReverseBgBlackGreen ansiGreenBlack
  880. hi link ansiReverseBgGreenGreen ansiGreenGreen
  881. hi link ansiReverseBgGreenGreen ansiGreenGreen
  882. hi link ansiReverseBgYellowGreen ansiGreenYellow
  883. hi link ansiReverseBgBlueGreen ansiGreenBlue
  884. hi link ansiReverseBgMagentaGreen ansiGreenMagenta
  885. hi link ansiReverseBgCyanGreen ansiGreenCyan
  886. hi link ansiReverseBgWhiteGreen ansiGreenWhite
  887. hi link ansiReverseBgGrayGreen ansiGreenGray
  888. syn cluster AnsiYellowReverseBgGroup contains=ansiReverseFgBoldYellow,ansiReverseFgUnderlineYellow,ansiReverseFgDefaultYellow,ansiReverseFgBlackYellow,ansiReverseFgRedYellow,ansiReverseFgGreenYellow,ansiReverseFgYellowYellow,ansiReverseFgBlueYellow,ansiReverseFgMagentaYellow,ansiReverseFgCyanYellow,ansiReverseFgWhiteYellow,ansiReverseFgGrayYellow
  889. syn region ansiYellowReverseBg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=43\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiYellowReverseBgGroup,ansiConceal
  890. syn region ansiReverseFgBoldYellow contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  891. syn region ansiReverseFgUnderlineYellow contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  892. syn region ansiReverseFgDefaultYellow contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  893. syn region ansiReverseFgBlackYellow contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  894. syn region ansiReverseFgRedYellow contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  895. syn region ansiReverseFgGreenYellow contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  896. syn region ansiReverseFgYellowYellow contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  897. syn region ansiReverseFgBlueYellow contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  898. syn region ansiReverseFgMagentaYellow contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  899. syn region ansiReverseFgCyanYellow contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  900. syn region ansiReverseFgWhiteYellow contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  901. syn region ansiReverseFgGrayYellow contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  902. hi link ansiReverseFgBoldYellow ansiYellowBold
  903. hi link ansiReverseFgUnderlineYellow ansiYellowUnderline
  904. hi link ansiReverseFgDefaultYellow ansiYellowDefault
  905. hi link ansiReverseFgBlackYellow ansiYellowBlack
  906. hi link ansiReverseFgYellowYellow ansiYellowYellow
  907. hi link ansiReverseFgGreenYellow ansiYellowGreen
  908. hi link ansiReverseFgYellowYellow ansiYellowYellow
  909. hi link ansiReverseFgBlueYellow ansiYellowBlue
  910. hi link ansiReverseFgMagentaYellow ansiYellowMagenta
  911. hi link ansiReverseFgCyanYellow ansiYellowCyan
  912. hi link ansiReverseFgWhiteYellow ansiYellowWhite
  913. hi link ansiReverseFgGrayYellow ansiYellowGray
  914. syn cluster AnsiBlueReverseBgGroup contains=ansiReverseBgBoldBlue,ansiReverseBgUnderlineBlue,ansiReverseBgDefaultBlue,ansiReverseBgBlackBlue,ansiReverseBgRedBlue,ansiReverseBgGreenBlue,ansiReverseBgYellowBlue,ansiReverseBgBlueBlue,ansiReverseBgMagentaBlue,ansiReverseBgCyanBlue,ansiReverseBgWhiteBlue,ansiReverseBgGrayBlue
  915. syn region ansiBlueReverseBg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=44\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiBlueReverseBgGroup,ansiConceal
  916. syn region ansiReverseBgBoldBlue contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  917. syn region ansiReverseBgUnderlineBlue contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  918. syn region ansiReverseBgDefaultBlue contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  919. syn region ansiReverseBgBlackBlue contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  920. syn region ansiReverseBgRedBlue contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  921. syn region ansiReverseBgGreenBlue contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  922. syn region ansiReverseBgYellowBlue contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  923. syn region ansiReverseBgBlueBlue contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  924. syn region ansiReverseBgMagentaBlue contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  925. syn region ansiReverseBgCyanBlue contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  926. syn region ansiReverseBgWhiteBlue contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  927. syn region ansiReverseBgGrayBlue contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  928. hi link ansiReverseBgBoldBlue ansiBlueBold
  929. hi link ansiReverseBgUnderlineBlue ansiBlueUnderline
  930. hi link ansiReverseBgDefaultBlue ansiBlueDefault
  931. hi link ansiReverseBgBlackBlue ansiBlueBlack
  932. hi link ansiReverseBgBlueBlue ansiBlueBlue
  933. hi link ansiReverseBgGreenBlue ansiBlueGreen
  934. hi link ansiReverseBgYellowBlue ansiBlueYellow
  935. hi link ansiReverseBgBlueBlue ansiBlueBlue
  936. hi link ansiReverseBgMagentaBlue ansiBlueMagenta
  937. hi link ansiReverseBgCyanBlue ansiBlueCyan
  938. hi link ansiReverseBgWhiteBlue ansiBlueWhite
  939. hi link ansiReverseBgGrayBlue ansiBlueGray
  940. syn cluster AnsiMagentaReverseBgGroup contains=ansiReverseBgBoldMagenta,ansiReverseBgUnderlineMagenta,ansiReverseBgDefaultMagenta,ansiReverseBgBlackMagenta,ansiReverseBgRedMagenta,ansiReverseBgGreenMagenta,ansiReverseBgYellowMagenta,ansiReverseBgBlueMagenta,ansiReverseBgMagentaMagenta,ansiReverseBgCyanMagenta,ansiReverseBgWhiteMagenta,ansiReverseBgGrayMagenta
  941. syn region ansiMagentaReverseBg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=45\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiMagentaReverseBgGroup,ansiConceal
  942. syn region ansiReverseBgBoldMagenta contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  943. syn region ansiReverseBgUnderlineMagenta contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  944. syn region ansiReverseBgDefaultMagenta contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  945. syn region ansiReverseBgBlackMagenta contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  946. syn region ansiReverseBgRedMagenta contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  947. syn region ansiReverseBgGreenMagenta contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  948. syn region ansiReverseBgYellowMagenta contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  949. syn region ansiReverseBgBlueMagenta contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  950. syn region ansiReverseBgMagentaMagenta contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  951. syn region ansiReverseBgCyanMagenta contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  952. syn region ansiReverseBgWhiteMagenta contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  953. syn region ansiReverseBgGrayMagenta contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  954. hi link ansiReverseBgBoldMagenta ansiMagentaBold
  955. hi link ansiReverseBgUnderlineMagenta ansiMagentaUnderline
  956. hi link ansiReverseBgDefaultMagenta ansiMagentaDefault
  957. hi link ansiReverseBgBlackMagenta ansiMagentaBlack
  958. hi link ansiReverseBgMagentaMagenta ansiMagentaMagenta
  959. hi link ansiReverseBgGreenMagenta ansiMagentaGreen
  960. hi link ansiReverseBgYellowMagenta ansiMagentaYellow
  961. hi link ansiReverseBgBlueMagenta ansiMagentaBlue
  962. hi link ansiReverseBgMagentaMagenta ansiMagentaMagenta
  963. hi link ansiReverseBgCyanMagenta ansiMagentaCyan
  964. hi link ansiReverseBgWhiteMagenta ansiMagentaWhite
  965. hi link ansiReverseBgGrayMagenta ansiMagentaGray
  966. syn cluster AnsiCyanReverseBgGroup contains=ansiReverseBgBoldCyan,ansiReverseBgUnderlineCyan,ansiReverseBgDefaultCyan,ansiReverseBgBlackCyan,ansiReverseBgRedCyan,ansiReverseBgGreenCyan,ansiReverseBgYellowCyan,ansiReverseBgBlueCyan,ansiReverseBgMagentaCyan,ansiReverseBgCyanCyan,ansiReverseBgWhiteCyan,ansiReverseBgGrayCyan
  967. syn region ansiCyanReverseBg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=46\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiCyanReverseBgGroup,ansiConceal
  968. syn region ansiReverseBgBoldCyan contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  969. syn region ansiReverseBgUnderlineCyan contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  970. syn region ansiReverseBgDefaultCyan contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  971. syn region ansiReverseBgBlackCyan contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  972. syn region ansiReverseBgRedCyan contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  973. syn region ansiReverseBgGreenCyan contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  974. syn region ansiReverseBgYellowCyan contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  975. syn region ansiReverseBgBlueCyan contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  976. syn region ansiReverseBgMagentaCyan contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  977. syn region ansiReverseBgCyanCyan contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  978. syn region ansiReverseBgWhiteCyan contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  979. syn region ansiReverseBgGrayCyan contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  980. hi link ansiReverseBgBoldCyan ansiCyanBold
  981. hi link ansiReverseBgUnderlineCyan ansiCyanUnderline
  982. hi link ansiReverseBgDefaultCyan ansiCyanDefault
  983. hi link ansiReverseBgBlackCyan ansiCyanBlack
  984. hi link ansiReverseBgCyanCyan ansiCyanCyan
  985. hi link ansiReverseBgGreenCyan ansiCyanGreen
  986. hi link ansiReverseBgYellowCyan ansiCyanYellow
  987. hi link ansiReverseBgBlueCyan ansiCyanBlue
  988. hi link ansiReverseBgMagentaCyan ansiCyanMagenta
  989. hi link ansiReverseBgCyanCyan ansiCyanCyan
  990. hi link ansiReverseBgWhiteCyan ansiCyanWhite
  991. hi link ansiReverseBgGrayCyan ansiCyanGray
  992. syn cluster AnsiWhiteReverseBgGroup contains=ansiReverseBgBoldWhite,ansiReverseBgUnderlineWhite,ansiReverseBgDefaultWhite,ansiReverseBgBlackWhite,ansiReverseBgRedWhite,ansiReverseBgGreenWhite,ansiReverseBgYellowWhite,ansiReverseBgBlueWhite,ansiReverseBgMagentaWhite,ansiReverseBgCyanWhite,ansiReverseBgWhiteWhite,ansiReverseBgGrayWhite
  993. syn region ansiWhiteReverseBg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=47\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=49m\|\ze\e\[[04m]" contains=@AnsiWhiteReverseBgGroup,ansiConceal
  994. syn region ansiReverseBgBoldWhite contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  995. syn region ansiReverseBgUnderlineWhite contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  996. syn region ansiReverseBgDefaultWhite contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  997. syn region ansiReverseBgBlackWhite contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  998. syn region ansiReverseBgRedWhite contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  999. syn region ansiReverseBgGreenWhite contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1000. syn region ansiReverseBgYellowWhite contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1001. syn region ansiReverseBgBlueWhite contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1002. syn region ansiReverseBgMagentaWhite contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1003. syn region ansiReverseBgCyanWhite contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1004. syn region ansiReverseBgWhiteWhite contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1005. syn region ansiReverseBgGrayWhite contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1006. hi link ansiReverseBgBoldWhite ansiWhiteBold
  1007. hi link ansiReverseBgUnderlineWhite ansiWhiteUnderline
  1008. hi link ansiReverseBgDefaultWhite ansiWhiteDefault
  1009. hi link ansiReverseBgBlackWhite ansiWhiteBlack
  1010. hi link ansiReverseBgRedWhite ansiWhiteRed
  1011. hi link ansiReverseBgGreenWhite ansiWhiteGreen
  1012. hi link ansiReverseBgYellowWhite ansiWhiteYellow
  1013. hi link ansiReverseBgBlueWhite ansiWhiteBlue
  1014. hi link ansiReverseBgMagentaWhite ansiWhiteMagenta
  1015. hi link ansiReverseBgCyanWhite ansiWhiteCyan
  1016. hi link ansiReverseBgWhiteWhite ansiWhiteWhite
  1017. hi link ansiReverseBgGrayWhite ansiWhiteGray
  1018. "-----------------------------------------
  1019. " handles implicit reverse foreground highlighting
  1020. "-----------------------------------------
  1021. " call Decho("installing implicit reverse foreground highlighting")
  1022. syn cluster AnsiDefaultReverseFgGroup contains=ansiReverseFgDefaultBold,ansiReverseFgDefaultUnderline,ansiReverseFgDefaultDefault,ansiReverseFgDefaultBlack,ansiReverseFgDefaultRed,ansiReverseFgDefaultGreen,ansiReverseFgDefaultYellow,ansiReverseFgDefaultBlue,ansiReverseFgDefaultMagenta,ansiReverseFgDefaultCyan,ansiReverseFgDefaultWhite
  1023. syn region ansiDefaultReverseFg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=39\%(;1\)\=m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=@AnsiDefaultReverseFgGroup,ansiConceal
  1024. syn region ansiReverseFgDefaultBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  1025. syn region ansiReverseFgDefaultUnerline contained start="\e\[4m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1026. syn region ansiReverseFgDefaultDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1027. syn region ansiReverseFgDefaultBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1028. syn region ansiReverseFgDefaultRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1029. syn region ansiReverseFgDefaultGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1030. syn region ansiReverseFgDefaultYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1031. syn region ansiReverseFgDefaultBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1032. syn region ansiReverseFgDefaultMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1033. syn region ansiReverseFgDefaultCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1034. syn region ansiReverseFgDefaultWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1035. hi link ansiDefaultReverseFg ansiReverseDefault
  1036. hi link ansiReverseFgDefaultBold ansiBoldDefault
  1037. hi link ansiReverseFgDefaultUnderline ansiUnderlineDefault
  1038. hi link ansiReverseFgDefaultDefault ansiDefaultDefault
  1039. hi link ansiReverseFgDefaultBlack ansiBlackDefault
  1040. hi link ansiReverseFgDefaultRed ansiRedDefault
  1041. hi link ansiReverseFgDefaultGreen ansiGreenDefault
  1042. hi link ansiReverseFgDefaultYellow ansiYellowDefault
  1043. hi link ansiReverseFgDefaultBlue ansiBlueDefault
  1044. hi link ansiReverseFgDefaultMagenta ansiMagentaDefault
  1045. hi link ansiReverseFgDefaultCyan ansiCyanDefault
  1046. hi link ansiReverseFgDefaultWhite ansiWhiteDefault
  1047. syn cluster AnsiBlackReverseFgGroup contains=ansiReverseFgBlackBold,ansiReverseFgBlackUnderline,ansiReverseFgBlackDefault,ansiReverseFgBlackBlack,ansiReverseFgBlackRed,ansiReverseFgBlackGreen,ansiReverseFgBlackYellow,ansiReverseFgBlackBlue,ansiReverseFgBlackMagenta,ansiReverseFgBlackCyan,ansiReverseFgBlackWhite
  1048. syn region ansiBlackReverseFg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=30\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiBlackReverseFgGroup,ansiConceal
  1049. syn region ansiReverseFgBlackBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  1050. syn region ansiReverseFgBlackUnerline contained start="\e\[4m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1051. syn region ansiReverseFgBlackDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1052. syn region ansiReverseFgBlackBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1053. syn region ansiReverseFgBlackRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1054. syn region ansiReverseFgBlackGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1055. syn region ansiReverseFgBlackYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1056. syn region ansiReverseFgBlackBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1057. syn region ansiReverseFgBlackMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1058. syn region ansiReverseFgBlackCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1059. syn region ansiReverseFgBlackWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1060. hi link ansiBlackReverseFg ansiReverseBlack
  1061. hi link ansiReverseFgBlackBold ansiBoldBlack
  1062. hi link ansiReverseFgBlackUnderline ansiUnderlineBlack
  1063. hi link ansiReverseFgBlackDefault ansiDefaultBlack
  1064. hi link ansiReverseFgBlackBlack ansiBlackBlack
  1065. hi link ansiReverseFgBlackRed ansiRedBlack
  1066. hi link ansiReverseFgBlackGreen ansiGreenBlack
  1067. hi link ansiReverseFgBlackYellow ansiYellowBlack
  1068. hi link ansiReverseFgBlackBlue ansiBlueBlack
  1069. hi link ansiReverseFgBlackMagenta ansiMagentaBlack
  1070. hi link ansiReverseFgBlackCyan ansiCyanBlack
  1071. hi link ansiReverseFgBlackWhite ansiWhiteBlack
  1072. syn cluster AnsiRedReverseFgGroup contains=ansiReverseFgRedBold,ansiReverseFgRedUnderline,ansiReverseFgRedDefault,ansiReverseFgRedBlack,ansiReverseFgRedRed,ansiReverseFgRedGreen,ansiReverseFgRedYellow,ansiReverseFgRedBlue,ansiReverseFgRedMagenta,ansiReverseFgRedCyan,ansiReverseFgRedWhite
  1073. syn region ansiRedReverseFg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=31\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiRedReverseFgGroup,ansiConceal
  1074. syn region ansiReverseFgRedBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  1075. syn region ansiReverseFgRedUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  1076. syn region ansiReverseFgRedDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1077. syn region ansiReverseFgRedBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1078. syn region ansiReverseFgRedRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1079. syn region ansiReverseFgRedGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1080. syn region ansiReverseFgRedYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1081. syn region ansiReverseFgRedBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1082. syn region ansiReverseFgRedMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1083. syn region ansiReverseFgRedCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1084. syn region ansiReverseFgRedWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1085. hi link ansiRedReverseFg ansiReverseRed
  1086. hi link ansiReverseFgRedBold ansiBoldRed
  1087. hi link ansiReverseFgRedUnderline ansiUnderlineRed
  1088. hi link ansiReverseFgRedDefault ansiDefaultRed
  1089. hi link ansiReverseFgRedBlack ansiBlackRed
  1090. hi link ansiReverseFgRedRed ansiRedRed
  1091. hi link ansiReverseFgRedGreen ansiGreenRed
  1092. hi link ansiReverseFgRedYellow ansiYellowRed
  1093. hi link ansiReverseFgRedBlue ansiBlueRed
  1094. hi link ansiReverseFgRedMagenta ansiMagentaRed
  1095. hi link ansiReverseFgRedCyan ansiCyanRed
  1096. hi link ansiReverseFgRedWhite ansiWhiteRed
  1097. syn cluster AnsiGreenReverseFgGroup contains=ansiReverseFgGreenBold,ansiReverseFgGreenUnderline,ansiReverseFgGreenDefault,ansiReverseFgGreenBlack,ansiReverseFgGreenRed,ansiReverseFgGreenGreen,ansiReverseFgGreenYellow,ansiReverseFgGreenBlue,ansiReverseFgGreenMagenta,ansiReverseFgGreenCyan,ansiReverseFgGreenWhite
  1098. syn region ansiGreenReverseFg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=32\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiGreenReverseFgGroup,ansiConceal
  1099. syn region ansiReverseFgGreenBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  1100. syn region ansiReverseFgGreenUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  1101. syn region ansiReverseFgGreenDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1102. syn region ansiReverseFgGreenBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1103. syn region ansiReverseFgGreenRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1104. syn region ansiReverseFgGreenGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1105. syn region ansiReverseFgGreenYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1106. syn region ansiReverseFgGreenBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1107. syn region ansiReverseFgGreenMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1108. syn region ansiReverseFgGreenCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1109. syn region ansiReverseFgGreenWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1110. hi link ansiGreenReverseFg ansiReverseGreen
  1111. hi link ansiReverseFgGreenBold ansiBoldGreen
  1112. hi link ansiReverseFgGreenUnderline ansiUnderlineGreen
  1113. hi link ansiReverseFgGreenDefault ansiDefaultGreen
  1114. hi link ansiReverseFgGreenBlack ansiBlackGreen
  1115. hi link ansiReverseFgGreenGreen ansiGreenGreen
  1116. hi link ansiReverseFgGreenRed ansiRedGreen
  1117. hi link ansiReverseFgGreenYellow ansiYellowGreen
  1118. hi link ansiReverseFgGreenBlue ansiBlueGreen
  1119. hi link ansiReverseFgGreenMagenta ansiMagentaGreen
  1120. hi link ansiReverseFgGreenCyan ansiCyanGreen
  1121. hi link ansiReverseFgGreenWhite ansiWhiteGreen
  1122. syn cluster AnsiYellowReverseFgGroup contains=ansiReverseFgYellowBold,ansiReverseFgYellowUnderline,ansiReverseFgYellowDefault,ansiReverseFgYellowBlack,ansiReverseFgYellowRed,ansiReverseFgYellowGreen,ansiReverseFgYellowYellow,ansiReverseFgYellowBlue,ansiReverseFgYellowMagenta,ansiReverseFgYellowCyan,ansiReverseFgYellowWhite
  1123. syn region ansiYellowReverseFg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=33\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiYellowReverseFgGroup,ansiConceal
  1124. syn region ansiReverseFgYellowBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  1125. syn region ansiReverseFgYellowUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  1126. syn region ansiReverseFgYellowDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1127. syn region ansiReverseFgYellowBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1128. syn region ansiReverseFgYellowRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1129. syn region ansiReverseFgYellowGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1130. syn region ansiReverseFgYellowYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1131. syn region ansiReverseFgYellowBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1132. syn region ansiReverseFgYellowMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1133. syn region ansiReverseFgYellowCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1134. syn region ansiReverseFgYellowWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1135. hi link ansiYellowReverseFg ansiReverseYellow
  1136. hi link ansiReverseFgYellowBold ansiBoldYellow
  1137. hi link ansiReverseFgYellowUnderline ansiUnderlineYellow
  1138. hi link ansiReverseFgYellowDefault ansiDefaultYellow
  1139. hi link ansiReverseFgYellowBlack ansiBlackYellow
  1140. hi link ansiReverseFgYellowRed ansiRedYellow
  1141. hi link ansiReverseFgYellowGreen ansiGreenYellow
  1142. hi link ansiReverseFgYellowYellow ansiYellowYellow
  1143. hi link ansiReverseFgYellowBlue ansiBlueYellow
  1144. hi link ansiReverseFgYellowMagenta ansiMagentaYellow
  1145. hi link ansiReverseFgYellowCyan ansiCyanYellow
  1146. hi link ansiReverseFgYellowWhite ansiWhiteYellow
  1147. syn cluster AnsiBlueReverseFgGroup contains=ansiReverseFgBlueBold,ansiReverseFgBlueUnderline,ansiReverseFgBlueDefault,ansiReverseFgBlueBlack,ansiReverseFgBlueRed,ansiReverseFgBlueGreen,ansiReverseFgBlueYellow,ansiReverseFgBlueBlue,ansiReverseFgBlueMagenta,ansiReverseFgBlueCyan,ansiReverseFgBlueWhite
  1148. syn region ansiBlueReverseFg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=34\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiBlueReverseFgGroup,ansiConceal
  1149. syn region ansiReverseFgBlueBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  1150. syn region ansiReverseFgBlueUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  1151. syn region ansiReverseFgBlueDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1152. syn region ansiReverseFgBlueBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1153. syn region ansiReverseFgBlueRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1154. syn region ansiReverseFgBlueGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1155. syn region ansiReverseFgBlueYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1156. syn region ansiReverseFgBlueBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1157. syn region ansiReverseFgBlueMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1158. syn region ansiReverseFgBlueCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1159. syn region ansiReverseFgBlueWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1160. hi link ansiBlueReverseFg ansiReverseBlue
  1161. hi link ansiReverseFgBlueBold ansiBoldBlue
  1162. hi link ansiReverseFgBlueUnderline ansiUnderlineBlue
  1163. hi link ansiReverseFgBlueDefault ansiDefaultBlue
  1164. hi link ansiReverseFgBlueBlack ansiBlackBlue
  1165. hi link ansiReverseFgBlueRed ansiRedBlue
  1166. hi link ansiReverseFgBlueGreen ansiGreenBlue
  1167. hi link ansiReverseFgBlueYellow ansiYellowBlue
  1168. hi link ansiReverseFgBlueBlue ansiBlueBlue
  1169. hi link ansiReverseFgBlueMagenta ansiMagentaBlue
  1170. hi link ansiReverseFgBlueCyan ansiCyanBlue
  1171. hi link ansiReverseFgBlueWhite ansiWhiteBlue
  1172. syn cluster AnsiMagentaReverseFgGroup contains=ansiReverseFgMagentaBold,ansiReverseFgMagentaUnderline,ansiReverseFgMagentaDefault,ansiReverseFgMagentaBlack,ansiReverseFgMagentaRed,ansiReverseFgMagentaGreen,ansiReverseFgMagentaYellow,ansiReverseFgMagentaBlue,ansiReverseFgMagentaMagenta,ansiReverseFgMagentaCyan,ansiReverseFgMagentaWhite
  1173. syn region ansiMagentaReverseFg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=35\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiMagentaReverseFgGroup,ansiConceal
  1174. syn region ansiReverseFgMagentaBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  1175. syn region ansiReverseFgMagentaUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  1176. syn region ansiReverseFgMagentaDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1177. syn region ansiReverseFgMagentaBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1178. syn region ansiReverseFgMagentaRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1179. syn region ansiReverseFgMagentaGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1180. syn region ansiReverseFgMagentaYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1181. syn region ansiReverseFgMagentaBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1182. syn region ansiReverseFgMagentaMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1183. syn region ansiReverseFgMagentaCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1184. syn region ansiReverseFgMagentaWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1185. hi link ansiMagentaReverseFg ansiReverseMagenta
  1186. hi link ansiReverseFgMagentaBold ansiBoldMagenta
  1187. hi link ansiReverseFgMagentaUnderline ansiUnderlineMagenta
  1188. hi link ansiReverseFgMagentaDefault ansiDefaultMagenta
  1189. hi link ansiReverseFgMagentaBlack ansiBlackMagenta
  1190. hi link ansiReverseFgMagentaRed ansiRedMagenta
  1191. hi link ansiReverseFgMagentaGreen ansiGreenMagenta
  1192. hi link ansiReverseFgMagentaYellow ansiYellowMagenta
  1193. hi link ansiReverseFgMagentaBlue ansiBlueMagenta
  1194. hi link ansiReverseFgMagentaMagenta ansiMagentaMagenta
  1195. hi link ansiReverseFgMagentaCyan ansiCyanMagenta
  1196. hi link ansiReverseFgMagentaWhite ansiWhiteMagenta
  1197. syn cluster AnsiCyanReverseFgGroup contains=ansiReverseFgCyanBold,ansiReverseFgCyanUnderline,ansiReverseFgCyanDefault,ansiReverseFgCyanBlack,ansiReverseFgCyanRed,ansiReverseFgCyanGreen,ansiReverseFgCyanYellow,ansiReverseFgCyanBlue,ansiReverseFgCyanMagenta,ansiReverseFgCyanCyan,ansiReverseFgCyanWhite
  1198. syn region ansiCyanReverseFg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=36\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiCyanReverseFgGroup,ansiConceal
  1199. syn region ansiReverseFgCyanBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  1200. syn region ansiReverseFgCyanUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  1201. syn region ansiReverseFgCyanDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1202. syn region ansiReverseFgCyanBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1203. syn region ansiReverseFgCyanRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1204. syn region ansiReverseFgCyanGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1205. syn region ansiReverseFgCyanYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1206. syn region ansiReverseFgCyanBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1207. syn region ansiReverseFgCyanMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1208. syn region ansiReverseFgCyanCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1209. syn region ansiReverseFgCyanWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1210. hi link ansiCyanReverseFg ansiReverseCyan
  1211. hi link ansiReverseFgCyanBold ansiBoldCyan
  1212. hi link ansiReverseFgCyanUnderline ansiUnderlineCyan
  1213. hi link ansiReverseFgCyanDefault ansiDefaultCyan
  1214. hi link ansiReverseFgCyanBlack ansiBlackCyan
  1215. hi link ansiReverseFgCyanRed ansiRedCyan
  1216. hi link ansiReverseFgCyanGreen ansiGreenCyan
  1217. hi link ansiReverseFgCyanYellow ansiYellowCyan
  1218. hi link ansiReverseFgCyanBlue ansiBlueCyan
  1219. hi link ansiReverseFgCyanMagenta ansiMagentaCyan
  1220. hi link ansiReverseFgCyanCyan ansiCyanCyan
  1221. hi link ansiReverseFgCyanWhite ansiWhiteCyan
  1222. syn cluster AnsiWhiteReverseFgGroup contains=ansiReverseFgWhiteBold,ansiReverseFgWhiteUnderline,ansiReverseFgWhiteDefault,ansiReverseFgWhiteBlack,ansiReverseFgWhiteRed,ansiReverseFgWhiteGreen,ansiReverseFgWhiteYellow,ansiReverseFgWhiteBlue,ansiReverseFgWhiteMagenta,ansiReverseFgWhiteCyan,ansiReverseFgWhiteWhite
  1223. syn region ansiWhiteReverseFg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=37\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[03m]" contains=@AnsiWhiteReverseFgGroup,ansiConceal
  1224. syn region ansiReverseFgWhiteBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  1225. syn region ansiReverseFgWhiteUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  1226. syn region ansiReverseFgWhiteDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1227. syn region ansiReverseFgWhiteBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1228. syn region ansiReverseFgWhiteRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1229. syn region ansiReverseFgWhiteGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1230. syn region ansiReverseFgWhiteYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1231. syn region ansiReverseFgWhiteBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1232. syn region ansiReverseFgWhiteMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1233. syn region ansiReverseFgWhiteCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1234. syn region ansiReverseFgWhiteWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1235. hi link ansiWhiteReverseFg ansiReverseWhite
  1236. hi link ansiReverseFgWhiteBold ansiBoldWhite
  1237. hi link ansiReverseFgWhiteUnderline ansiUnderlineWhite
  1238. hi link ansiReverseFgWhiteDefault ansiDefaultWhite
  1239. hi link ansiReverseFgWhiteBlack ansiBlackWhite
  1240. hi link ansiReverseFgWhiteRed ansiRedWhite
  1241. hi link ansiReverseFgWhiteGreen ansiGreenWhite
  1242. hi link ansiReverseFgWhiteYellow ansiYellowWhite
  1243. hi link ansiReverseFgWhiteBlue ansiBlueWhite
  1244. hi link ansiReverseFgWhiteMagenta ansiMagentaWhite
  1245. hi link ansiReverseFgWhiteCyan ansiCyanWhite
  1246. hi link ansiReverseFgWhiteWhite ansiWhiteWhite
  1247. syn cluster AnsiGrayReverseFgGroup contains=ansiReverseFgGrayBold,ansiReverseFgGrayUnderline,ansiReverseFgGrayDefault,ansiReverseFgGrayBlack,ansiReverseFgGrayRed,ansiReverseFgGrayGreen,ansiReverseFgGrayYellow,ansiReverseFgGrayBlue,ansiReverseFgGrayMagenta,ansiReverseFgGrayCyan,ansiReverseFgGrayWhite
  1248. syn region ansiGrayReverseFg contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=\%(1;\)\=90\%(;1\)\=m" skip='\e\[K' end="\e\[\%(0*;*\)\=39m\|\ze\e\[[039m]" contains=@AnsiGrayReverseFgGroup,ansiConceal
  1249. syn region ansiReverseFgGrayBold contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  1250. syn region ansiReverseFgGrayUnderline contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  1251. syn region ansiReverseFgGrayDefault contained start="\e\[49m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1252. syn region ansiReverseFgGrayBlack contained start="\e\[40m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1253. syn region ansiReverseFgGrayRed contained start="\e\[41m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1254. syn region ansiReverseFgGrayGreen contained start="\e\[42m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1255. syn region ansiReverseFgGrayYellow contained start="\e\[43m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1256. syn region ansiReverseFgGrayBlue contained start="\e\[44m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1257. syn region ansiReverseFgGrayMagenta contained start="\e\[45m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1258. syn region ansiReverseFgGrayCyan contained start="\e\[46m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1259. syn region ansiReverseFgGrayWhite contained start="\e\[47m" skip='\e\[K' end="\e\[[04m]"me=e-3 contains=ansiConceal
  1260. hi link ansiGrayReverseFg ansiReverseGray
  1261. hi link ansiReverseFgGrayBold ansiBoldGray
  1262. hi link ansiReverseFgGrayUnderline ansiUnderlineGray
  1263. hi link ansiReverseFgGrayDefault ansiDefaultGray
  1264. hi link ansiReverseFgGrayBlack ansiBlackGray
  1265. hi link ansiReverseFgGrayRed ansiRedGray
  1266. hi link ansiReverseFgGrayGreen ansiGreenGray
  1267. hi link ansiReverseFgGrayYellow ansiYellowGray
  1268. hi link ansiReverseFgGrayBlue ansiBlueGray
  1269. hi link ansiReverseFgGrayMagenta ansiMagentaGray
  1270. hi link ansiReverseFgGrayCyan ansiCyanGray
  1271. hi link ansiReverseFgGrayWhite ansiWhiteGray
  1272. syn cluster AnsiReverseBoldGroup contains=ansiUnderlineReverseBoldRegion,ansiDefaultReverseBoldRegion,ansiBlackReverseBoldRegion,ansiWhiteReverseBoldRegion,ansiGrayReverseBoldRegion,ansiRedReverseBoldRegion,ansiGreenReverseBoldRegion,ansiYellowReverseBoldRegion,ansiBlueReverseBoldRegion,ansiMagentaReverseBoldRegion,ansiCyanReverseBoldRegion
  1273. syn region ansiReverseBoldRegion contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=1;\=m" end="\ze\e\[\%(0*;*\)\=\%(0*\|22\)\=m" contains=@AnsiBoldGroup,ansiConceal
  1274. syn region ansiUnderlineReverseBoldRegion contained start="\e\[4m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(24\|0*\)\=m" contains=ansiConceal
  1275. syn region ansiDefaultReverseBoldRegion contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1276. syn region ansiBlackReverseBoldRegion contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1277. syn region ansiRedReverseBoldRegion contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1278. syn region ansiGreenReverseBoldRegion contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1279. syn region ansiYellowReverseBoldRegion contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1280. syn region ansiBlueReverseBoldRegion contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1281. syn region ansiMagentaReverseBoldRegion contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1282. syn region ansiCyanReverseBoldRegion contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1283. syn region ansiWhiteReverseBoldRegion contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1284. syn region ansiGrayReverseBoldRegion contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1285. hi link ansiReverseBoldRegion ansiReverseBold
  1286. hi link ansiUnderlineReverseBoldRegion ansiReverseBoldUnderline
  1287. hi link ansiDefaultReverseBoldRegion ansiDefaultBold
  1288. hi link ansiBlackReverseBoldRegion ansiBlackBold
  1289. hi link ansiRedReverseBoldRegion ansiRedBold
  1290. hi link ansiGreenReverseBoldRegion ansiGreenBold
  1291. hi link ansiYellowReverseBoldRegion ansiYellowBold
  1292. hi link ansiBlueReverseBoldRegion ansiBlueBold
  1293. hi link ansiMagentaReverseBoldRegion ansiMagentaBold
  1294. hi link ansiCyanReverseBoldRegion ansiCyanBold
  1295. hi link ansiWhiteReverseBoldRegion ansiWhiteBold
  1296. hi link ansiGrayReverseBoldRegion ansiGrayBold
  1297. syn cluster AnsiReverseUnderlineGroup contains=ansiBoldReverseUnderlineRegion,ansiDefaultReverseUnderlineRegion,ansiBlackReverseUnderlineRegion,ansiWhiteReverseUnderlineRegion,ansiGrayReverseUnderlineRegion,ansiRedReverseUnderlineRegion,ansiGreenReverseUnderlineRegion,ansiYellowReverseUnderlineRegion,ansiBlueReverseUnderlineRegion,ansiMagentaReverseUnderlineRegion,ansiCyanReverseUnderlineRegion,ansiBgStop,ansiBoldStop
  1298. syn region ansiReverseUnderlineRegion contained concealends matchgroup=ansiNone start="\e\[;\=0\{0,2};\=4;\=m" end="\ze\e\[\%(0*;*\)\=\%(0*\|24\)\=m" contains=@AnsiUnderlineGroup,ansiConceal
  1299. syn region ansiBoldReverseUnderlineRegion contained start="\e\[1m" skip='\e\[K' end="\ze\e\[\%(0*;*\)\=\%(22\|0*\)\=m" contains=ansiConceal
  1300. syn region ansiDefaultReverseUnderlineRegion contained start="\e\[39m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1301. syn region ansiBlackReverseUnderlineRegion contained start="\e\[30m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1302. syn region ansiRedReverseUnderlineRegion contained start="\e\[31m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1303. syn region ansiGreenReverseUnderlineRegion contained start="\e\[32m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1304. syn region ansiYellowReverseUnderlineRegion contained start="\e\[33m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1305. syn region ansiBlueReverseUnderlineRegion contained start="\e\[34m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1306. syn region ansiMagentaReverseUnderlineRegion contained start="\e\[35m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1307. syn region ansiCyanReverseUnderlineRegion contained start="\e\[36m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1308. syn region ansiWhiteReverseUnderlineRegion contained start="\e\[37m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1309. syn region ansiGrayReverseUnderlineRegion contained start="\e\[90m" skip='\e\[K' end="\e\[[03m]"me=e-3 contains=ansiConceal
  1310. hi link ansiReverseUnderlineRegion ansiReverseUnderline
  1311. hi link ansiBoldReverseUnderlineRegion ansiReverseBoldUnderline
  1312. hi link ansiDefaultReverseUnderlineRegion ansiDefaultUnderline
  1313. hi link ansiBlackReverseUnderlineRegion ansiBlackUnderline
  1314. hi link ansiRedReverseUnderlineRegion ansiRedUnderline
  1315. hi link ansiGreenReverseUnderlineRegion ansiGreenUnderline
  1316. hi link ansiYellowReverseUnderlineRegion ansiYellowUnderline
  1317. hi link ansiBlueReverseUnderlineRegion ansiBlueUnderline
  1318. hi link ansiMagentaReverseUnderlineRegion ansiMagentaUnderline
  1319. hi link ansiCyanReverseUnderlineRegion ansiCyanUnderline
  1320. hi link ansiWhiteReverseUnderlineRegion ansiWhiteUnderline
  1321. hi link ansiGrayReverseUnderlineRegion ansiGrayUnderline
  1322. endif
  1323. if has("conceal")
  1324. syn match ansiStop conceal "\e\[;\=0\{0,2}m"
  1325. syn match ansiStop conceal "\e\[K"
  1326. syn match ansiStop conceal "\e\[H"
  1327. syn match ansiStop conceal "\e\[2J"
  1328. else
  1329. syn match ansiStop "\e\[;\=0\{0,2}m"
  1330. syn match ansiStop "\e\[K"
  1331. syn match ansiStop "\e\[H"
  1332. syn match ansiStop "\e\[2J"
  1333. endif
  1334. " ---------------------------------------------------------------------
  1335. " Some Color Combinations: - can't do 'em all, the qty of highlighting groups is limited! {{{2
  1336. " ---------------------------------------------------------------------
  1337. syn region ansiBlackDefault start="\e\[0\{0,2};\=\(30;49\|49;30\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1338. syn region ansiRedDefault start="\e\[0\{0,2};\=\(31;49\|49;31\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1339. syn region ansiGreenDefault start="\e\[0\{0,2};\=\(32;49\|49;32\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1340. syn region ansiYellowDefault start="\e\[0\{0,2};\=\(33;49\|49;33\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1341. syn region ansiBlueDefault start="\e\[0\{0,2};\=\(34;49\|49;34\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1342. syn region ansiMagentaDefault start="\e\[0\{0,2};\=\(35;49\|49;35\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1343. syn region ansiCyanDefault start="\e\[0\{0,2};\=\(36;49\|49;36\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1344. syn region ansiWhiteDefault start="\e\[0\{0,2};\=\(37;49\|49;37\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1345. syn region ansiDefaultDefault start="\e\[0\{0,2};\=\(39;49\|49;39\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1346. syn region ansiGrayDefault start="\e\[0\{0,2};\=\(90;49\|49;90\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1347. syn region ansiBlackBlack start="\e\[0\{0,2};\=\(30;40\|40;30\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1348. syn region ansiRedBlack start="\e\[0\{0,2};\=\(31;40\|40;31\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1349. syn region ansiGreenBlack start="\e\[0\{0,2};\=\(32;40\|40;32\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1350. syn region ansiYellowBlack start="\e\[0\{0,2};\=\(33;40\|40;33\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1351. syn region ansiBlueBlack start="\e\[0\{0,2};\=\(34;40\|40;34\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1352. syn region ansiMagentaBlack start="\e\[0\{0,2};\=\(35;40\|40;35\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1353. syn region ansiCyanBlack start="\e\[0\{0,2};\=\(36;40\|40;36\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1354. syn region ansiWhiteBlack start="\e\[0\{0,2};\=\(37;40\|40;37\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1355. syn region ansiDefaultBlack start="\e\[0\{0,2};\=\(39;40\|40;39\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1356. syn region ansiGrayBlack start="\e\[0\{0,2};\=\(90;40\|40;90\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1357. syn region ansiBlackRed start="\e\[0\{0,2};\=\(30;41\|41;30\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1358. syn region ansiRedRed start="\e\[0\{0,2};\=\(31;41\|41;31\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1359. syn region ansiGreenRed start="\e\[0\{0,2};\=\(32;41\|41;32\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1360. syn region ansiYellowRed start="\e\[0\{0,2};\=\(33;41\|41;33\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1361. syn region ansiBlueRed start="\e\[0\{0,2};\=\(34;41\|41;34\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1362. syn region ansiMagentaRed start="\e\[0\{0,2};\=\(35;41\|41;35\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1363. syn region ansiCyanRed start="\e\[0\{0,2};\=\(36;41\|41;36\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1364. syn region ansiWhiteRed start="\e\[0\{0,2};\=\(37;41\|41;37\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1365. syn region ansiDefaultRed start="\e\[0\{0,2};\=\(39;41\|41;39\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1366. syn region ansiGrayRed start="\e\[0\{0,2};\=\(90;41\|41;90\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1367. syn region ansiBlackGreen start="\e\[0\{0,2};\=\(30;42\|42;30\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1368. syn region ansiRedGreen start="\e\[0\{0,2};\=\(31;42\|42;31\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1369. syn region ansiGreenGreen start="\e\[0\{0,2};\=\(32;42\|42;32\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1370. syn region ansiYellowGreen start="\e\[0\{0,2};\=\(33;42\|42;33\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1371. syn region ansiBlueGreen start="\e\[0\{0,2};\=\(34;42\|42;34\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1372. syn region ansiMagentaGreen start="\e\[0\{0,2};\=\(35;42\|42;35\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1373. syn region ansiCyanGreen start="\e\[0\{0,2};\=\(36;42\|42;36\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1374. syn region ansiWhiteGreen start="\e\[0\{0,2};\=\(37;42\|42;37\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1375. syn region ansiDefaultGreen start="\e\[0\{0,2};\=\(39;42\|42;39\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1376. syn region ansiGrayGreen start="\e\[0\{0,2};\=\(90;42\|42;90\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1377. syn region ansiBlackYellow start="\e\[0\{0,2};\=\(30;43\|43;30\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1378. syn region ansiRedYellow start="\e\[0\{0,2};\=\(31;43\|43;31\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1379. syn region ansiGreenYellow start="\e\[0\{0,2};\=\(32;43\|43;32\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1380. syn region ansiYellowYellow start="\e\[0\{0,2};\=\(33;43\|43;33\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1381. syn region ansiBlueYellow start="\e\[0\{0,2};\=\(34;43\|43;34\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1382. syn region ansiMagentaYellow start="\e\[0\{0,2};\=\(35;43\|43;35\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1383. syn region ansiCyanYellow start="\e\[0\{0,2};\=\(36;43\|43;36\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1384. syn region ansiWhiteYellow start="\e\[0\{0,2};\=\(37;43\|43;37\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1385. syn region ansiDefaultYellow start="\e\[0\{0,2};\=\(39;43\|43;39\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1386. syn region ansiGrayYellow start="\e\[0\{0,2};\=\(90;43\|43;90\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1387. syn region ansiBlackBlue start="\e\[0\{0,2};\=\(30;44\|44;30\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1388. syn region ansiRedBlue start="\e\[0\{0,2};\=\(31;44\|44;31\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1389. syn region ansiGreenBlue start="\e\[0\{0,2};\=\(32;44\|44;32\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1390. syn region ansiYellowBlue start="\e\[0\{0,2};\=\(33;44\|44;33\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1391. syn region ansiBlueBlue start="\e\[0\{0,2};\=\(34;44\|44;34\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1392. syn region ansiMagentaBlue start="\e\[0\{0,2};\=\(35;44\|44;35\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1393. syn region ansiCyanBlue start="\e\[0\{0,2};\=\(36;44\|44;36\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1394. syn region ansiWhiteBlue start="\e\[0\{0,2};\=\(37;44\|44;37\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1395. syn region ansiDefaultBlue start="\e\[0\{0,2};\=\(39;44\|44;39\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1396. syn region ansiGrayBlue start="\e\[0\{0,2};\=\(90;44\|44;90\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1397. syn region ansiBlackMagenta start="\e\[0\{0,2};\=\(30;45\|45;30\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1398. syn region ansiRedMagenta start="\e\[0\{0,2};\=\(31;45\|45;31\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1399. syn region ansiGreenMagenta start="\e\[0\{0,2};\=\(32;45\|45;32\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1400. syn region ansiYellowMagenta start="\e\[0\{0,2};\=\(33;45\|45;33\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1401. syn region ansiBlueMagenta start="\e\[0\{0,2};\=\(34;45\|45;34\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1402. syn region ansiMagentaMagenta start="\e\[0\{0,2};\=\(35;45\|45;35\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1403. syn region ansiCyanMagenta start="\e\[0\{0,2};\=\(36;45\|45;36\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1404. syn region ansiWhiteMagenta start="\e\[0\{0,2};\=\(37;45\|45;37\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1405. syn region ansiDefaultMagenta start="\e\[0\{0,2};\=\(39;45\|45;39\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1406. syn region ansiGrayMagenta start="\e\[0\{0,2};\=\(90;45\|45;90\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1407. syn region ansiBlackCyan start="\e\[0\{0,2};\=\(30;46\|46;30\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1408. syn region ansiRedCyan start="\e\[0\{0,2};\=\(31;46\|46;31\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1409. syn region ansiGreenCyan start="\e\[0\{0,2};\=\(32;46\|46;32\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1410. syn region ansiYellowCyan start="\e\[0\{0,2};\=\(33;46\|46;33\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1411. syn region ansiBlueCyan start="\e\[0\{0,2};\=\(34;46\|46;34\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1412. syn region ansiMagentaCyan start="\e\[0\{0,2};\=\(35;46\|46;35\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1413. syn region ansiCyanCyan start="\e\[0\{0,2};\=\(36;46\|46;36\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1414. syn region ansiWhiteCyan start="\e\[0\{0,2};\=\(37;46\|46;37\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1415. syn region ansiDefaultCyan start="\e\[0\{0,2};\=\(39;46\|46;39\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1416. syn region ansiGrayCyan start="\e\[0\{0,2};\=\(90;46\|46;90\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1417. syn region ansiBlackWhite start="\e\[0\{0,2};\=\(30;47\|47;30\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1418. syn region ansiRedWhite start="\e\[0\{0,2};\=\(31;47\|47;31\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1419. syn region ansiGreenWhite start="\e\[0\{0,2};\=\(32;47\|47;32\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1420. syn region ansiYellowWhite start="\e\[0\{0,2};\=\(33;47\|47;33\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1421. syn region ansiBlueWhite start="\e\[0\{0,2};\=\(34;47\|47;34\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1422. syn region ansiMagentaWhite start="\e\[0\{0,2};\=\(35;47\|47;35\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1423. syn region ansiCyanWhite start="\e\[0\{0,2};\=\(36;47\|47;36\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1424. syn region ansiWhiteWhite start="\e\[0\{0,2};\=\(37;47\|47;37\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1425. syn region ansiDefaultWhite start="\e\[0\{0,2};\=\(39;47\|47;39\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1426. syn region ansiGrayWhite start="\e\[0\{0,2};\=\(90;47\|47;90\)m" skip="\e\[K" end="\e\["me=e-2 contains=ansiConceal
  1427. syn match ansiExtended "\e\[;\=\(0;\)\=[34]8;\(\d*;\)*\d*m" contains=ansiConceal
  1428. " -------------
  1429. " Highlighting: {{{2
  1430. " -------------
  1431. if !has("conceal")
  1432. " --------------
  1433. " ansiesc_ignore: {{{3
  1434. " --------------
  1435. hi def link ansiConceal Ignore
  1436. hi def link ansiSuppress Ignore
  1437. hi def link ansiIgnore ansiStop
  1438. hi def link ansiStop Ignore
  1439. hi def link ansiExtended Ignore
  1440. endif
  1441. let s:hlkeep_{bufnr("%")}= &l:hl
  1442. exe "setlocal hl=".substitute(&hl,'8:[^,]\{-},','8:Ignore,',"")
  1443. " handle 3 or more element ansi escape sequences by building syntax and highlighting rules
  1444. " specific to the current file
  1445. call s:MultiElementHandler()
  1446. hi ansiNone cterm=NONE gui=NONE
  1447. if &t_Co == 8 || &t_Co == 256
  1448. " ---------------------
  1449. " eight-color handling: {{{3
  1450. " ---------------------
  1451. " call Decho("set up 8-color highlighting groups")
  1452. hi ansiBlack ctermfg=Black guifg=Black cterm=NONE gui=NONE
  1453. hi ansiRed ctermfg=DarkRed guifg=DarkRed cterm=NONE gui=NONE
  1454. hi ansiGreen ctermfg=DarkGreen guifg=DarkGreen cterm=NONE gui=NONE
  1455. hi ansiYellow ctermfg=DarkYellow guifg=DarkYellow cterm=NONE gui=NONE
  1456. hi ansiBlue ctermfg=DarkBlue guifg=DarkBlue cterm=NONE gui=NONE
  1457. hi ansiMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=NONE gui=NONE
  1458. hi ansiCyan ctermfg=DarkCyan guifg=DarkCyan cterm=NONE gui=NONE
  1459. hi ansiWhite ctermfg=LightGray guifg=LightGray cterm=NONE gui=NONE
  1460. hi ansiGray ctermfg=DarkGray guifg=DarkGray cterm=NONE gui=NONE
  1461. hi ansiDefaultBg ctermbg=NONE guibg=NONE cterm=NONE gui=NONE
  1462. hi ansiBlackBg ctermbg=Black guibg=Black cterm=NONE gui=NONE
  1463. hi ansiRedBg ctermbg=DarkRed guibg=DarkRed cterm=NONE gui=NONE
  1464. hi ansiGreenBg ctermbg=DarkGreen guibg=DarkGreen cterm=NONE gui=NONE
  1465. hi ansiYellowBg ctermbg=DarkYellow guibg=DarkYellow cterm=NONE gui=NONE
  1466. hi ansiBlueBg ctermbg=DarkBlue guibg=DarkBlue cterm=NONE gui=NONE
  1467. hi ansiMagentaBg ctermbg=DarkMagenta guibg=DarkMagenta cterm=NONE gui=NONE
  1468. hi ansiCyanBg ctermbg=DarkCyan guibg=DarkCyan cterm=NONE gui=NONE
  1469. hi ansiWhiteBg ctermbg=LightGray guibg=LightGray cterm=NONE gui=NONE
  1470. hi ansiGrayBg ctermbg=DarkGray guibg=DarkGray cterm=NONE gui=NONE
  1471. hi ansiBlackFg ctermfg=Black guifg=Black cterm=NONE gui=NONE
  1472. hi ansiRedFg ctermfg=DarkRed guifg=DarkRed cterm=NONE gui=NONE
  1473. hi ansiGreenFg ctermfg=DarkGreen guifg=DarkGreen cterm=NONE gui=NONE
  1474. hi ansiYellowFg ctermfg=DarkYellow guifg=DarkYellow cterm=NONE gui=NONE
  1475. hi ansiBlueFg ctermfg=DarkBlue guifg=DarkBlue cterm=NONE gui=NONE
  1476. hi ansiMagentaFg ctermfg=DarkMagenta guifg=DarkMagenta cterm=NONE gui=NONE
  1477. hi ansiCyanFg ctermfg=DarkCyan guifg=DarkCyan cterm=NONE gui=NONE
  1478. hi ansiWhiteFg ctermfg=LightGray guifg=LightGray cterm=NONE gui=NONE
  1479. hi ansiGrayFg ctermfg=DarkGray guifg=DarkGray cterm=NONE gui=NONE
  1480. hi ansiDefaultReverseBg ctermbg=NONE guibg=NONE cterm=reverse gui=reverse
  1481. hi ansiBlackReverseBg ctermbg=Black guibg=Black cterm=reverse gui=reverse
  1482. hi ansiRedReverseBg ctermbg=DarkRed guibg=DarkRed cterm=reverse gui=reverse
  1483. hi ansiGreenReverseBg ctermbg=DarkGreen guibg=DarkGreen cterm=reverse gui=reverse
  1484. hi ansiYellowReverseBg ctermbg=DarkYellow guibg=DarkYellow cterm=reverse gui=reverse
  1485. hi ansiBlueReverseBg ctermbg=DarkBlue guibg=DarkBlue cterm=reverse gui=reverse
  1486. hi ansiMagentaReverseBg ctermbg=DarkMagenta guibg=DarkMagenta cterm=reverse gui=reverse
  1487. hi ansiCyanReverseBg ctermbg=DarkCyan guibg=DarkCyan cterm=reverse gui=reverse
  1488. hi ansiWhiteReverseBg ctermbg=LightGray guibg=LightGray cterm=reverse gui=reverse
  1489. hi ansiBold cterm=bold gui=bold
  1490. hi ansiBoldUnderline cterm=bold,underline gui=bold,underline
  1491. hi ansiBoldBlack ctermfg=Black guifg=Black cterm=bold gui=bold
  1492. hi ansiBoldRed ctermfg=DarkRed guifg=DarkRed cterm=bold gui=bold
  1493. hi ansiBoldGreen ctermfg=DarkGreen guifg=DarkGreen cterm=bold gui=bold
  1494. hi ansiBoldYellow ctermfg=DarkYellow guifg=DarkYellow cterm=bold gui=bold
  1495. hi ansiBoldBlue ctermfg=DarkBlue guifg=DarkBlue cterm=bold gui=bold
  1496. hi ansiBoldMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=bold gui=bold
  1497. hi ansiBoldCyan ctermfg=DarkCyan guifg=DarkCyan cterm=bold gui=bold
  1498. hi ansiBoldWhite ctermfg=LightGray guifg=LightGray cterm=bold gui=bold
  1499. hi ansiBoldGray ctermbg=DarkGray guibg=DarkGray cterm=bold gui=bold
  1500. hi ansiBlackBold ctermbg=Black guibg=Black cterm=bold gui=bold
  1501. hi ansiRedBold ctermbg=DarkRed guibg=DarkRed cterm=bold gui=bold
  1502. hi ansiGreenBold ctermbg=DarkGreen guibg=DarkGreen cterm=bold gui=bold
  1503. hi ansiYellowBold ctermbg=DarkYellow guibg=DarkYellow cterm=bold gui=bold
  1504. hi ansiBlueBold ctermbg=DarkBlue guibg=DarkBlue cterm=bold gui=bold
  1505. hi ansiMagentaBold ctermbg=DarkMagenta guibg=DarkMagenta cterm=bold gui=bold
  1506. hi ansiCyanBold ctermbg=DarkCyan guibg=DarkCyan cterm=bold gui=bold
  1507. hi ansiWhiteBold ctermbg=LightGray guibg=LightGray cterm=bold gui=bold
  1508. hi ansiReverse cterm=reverse gui=reverse
  1509. hi ansiReverseUnderline cterm=reverse,underline gui=reverse,underline
  1510. hi ansiReverseBold cterm=reverse,bold gui=reverse,bold
  1511. hi ansiReverseBoldUnderline cterm=reverse,bold,underline gui=reverse,bold,underline
  1512. hi ansiReverseBlack ctermfg=Black guifg=Black cterm=reverse gui=reverse
  1513. hi ansiReverseRed ctermfg=DarkRed guifg=DarkRed cterm=reverse gui=reverse
  1514. hi ansiReverseGreen ctermfg=DarkGreen guifg=DarkGreen cterm=reverse gui=reverse
  1515. hi ansiReverseYellow ctermfg=DarkYellow guifg=DarkYellow cterm=reverse gui=reverse
  1516. hi ansiReverseBlue ctermfg=DarkBlue guifg=DarkBlue cterm=reverse gui=reverse
  1517. hi ansiReverseMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=reverse gui=reverse
  1518. hi ansiReverseCyan ctermfg=DarkCyan guifg=DarkCyan cterm=reverse gui=reverse
  1519. hi ansiReverseWhite ctermfg=LightGray guifg=LightGray cterm=reverse gui=reverse
  1520. hi ansiReverseGray ctermfg=DarkGray guifg=DarkGray cterm=reverse gui=reverse
  1521. hi ansiStandout cterm=standout gui=standout
  1522. hi ansiStandoutBlack ctermfg=Black guifg=Black cterm=standout gui=standout
  1523. hi ansiStandoutRed ctermfg=DarkRed guifg=DarkRed cterm=standout gui=standout
  1524. hi ansiStandoutGreen ctermfg=DarkGreen guifg=DarkGreen cterm=standout gui=standout
  1525. hi ansiStandoutYellow ctermfg=DarkYellow guifg=DarkYellow cterm=standout gui=standout
  1526. hi ansiStandoutBlue ctermfg=DarkBlue guifg=DarkBlue cterm=standout gui=standout
  1527. hi ansiStandoutMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=standout gui=standout
  1528. hi ansiStandoutCyan ctermfg=DarkCyan guifg=DarkCyan cterm=standout gui=standout
  1529. hi ansiStandoutWhite ctermfg=LightGray guifg=LightGray cterm=standout gui=standout
  1530. hi ansiStandoutGray ctermfg=DarkGray guifg=DarkGray cterm=standout gui=standout
  1531. hi ansiItalic cterm=italic gui=italic
  1532. hi ansiItalicBlack ctermfg=Black guifg=Black cterm=italic gui=italic
  1533. hi ansiItalicRed ctermfg=DarkRed guifg=DarkRed cterm=italic gui=italic
  1534. hi ansiItalicGreen ctermfg=DarkGreen guifg=DarkGreen cterm=italic gui=italic
  1535. hi ansiItalicYellow ctermfg=DarkYellow guifg=DarkYellow cterm=italic gui=italic
  1536. hi ansiItalicBlue ctermfg=DarkBlue guifg=DarkBlue cterm=italic gui=italic
  1537. hi ansiItalicMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=italic gui=italic
  1538. hi ansiItalicCyan ctermfg=DarkCyan guifg=DarkCyan cterm=italic gui=italic
  1539. hi ansiItalicWhite ctermfg=LightGray guifg=LightGray cterm=italic gui=italic
  1540. hi ansiItalicGray ctermfg=DarkGray guifg=DarkGray cterm=italic gui=italic
  1541. hi ansiUnderline cterm=underline gui=underline
  1542. hi ansiUnderlineBlack ctermfg=Black guifg=Black cterm=underline gui=underline
  1543. hi ansiUnderlineRed ctermfg=DarkRed guifg=DarkRed cterm=underline gui=underline
  1544. hi ansiUnderlineGreen ctermfg=DarkGreen guifg=DarkGreen cterm=underline gui=underline
  1545. hi ansiUnderlineYellow ctermfg=DarkYellow guifg=DarkYellow cterm=underline gui=underline
  1546. hi ansiUnderlineBlue ctermfg=DarkBlue guifg=DarkBlue cterm=underline gui=underline
  1547. hi ansiUnderlineMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=underline gui=underline
  1548. hi ansiUnderlineCyan ctermfg=DarkCyan guifg=DarkCyan cterm=underline gui=underline
  1549. hi ansiUnderlineWhite ctermfg=LightGray guifg=LightGray cterm=underline gui=underline
  1550. hi ansiUnderlineGray ctermfg=DarkGray guifg=DarkGray cterm=underline gui=underline
  1551. hi ansiBlackUnderline ctermbg=Black guibg=Black cterm=underline gui=underline
  1552. hi ansiRedUnderline ctermbg=DarkRed guibg=DarkRed cterm=underline gui=underline
  1553. hi ansiGreenUnderline ctermbg=DarkGreen guibg=DarkGreen cterm=underline gui=underline
  1554. hi ansiYellowUnderline ctermbg=DarkYellow guibg=DarkYellow cterm=underline gui=underline
  1555. hi ansiBlueUnderline ctermbg=DarkBlue guibg=DarkBlue cterm=underline gui=underline
  1556. hi ansiMagentaUnderline ctermbg=DarkMagenta guibg=DarkMagenta cterm=underline gui=underline
  1557. hi ansiCyanUnderline ctermbg=DarkCyan guibg=DarkCyan cterm=underline gui=underline
  1558. hi ansiWhiteUnderline ctermbg=LightGray guibg=LightGray cterm=underline gui=underline
  1559. hi ansiBlink cterm=standout gui=undercurl
  1560. hi ansiBlinkBlack ctermfg=Black guifg=Black cterm=standout gui=undercurl
  1561. hi ansiBlinkRed ctermfg=DarkRed guifg=DarkRed cterm=standout gui=undercurl
  1562. hi ansiBlinkGreen ctermfg=DarkGreen guifg=DarkGreen cterm=standout gui=undercurl
  1563. hi ansiBlinkYellow ctermfg=DarkYellow guifg=DarkYellow cterm=standout gui=undercurl
  1564. hi ansiBlinkBlue ctermfg=DarkBlue guifg=DarkBlue cterm=standout gui=undercurl
  1565. hi ansiBlinkMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=standout gui=undercurl
  1566. hi ansiBlinkCyan ctermfg=DarkCyan guifg=DarkCyan cterm=standout gui=undercurl
  1567. hi ansiBlinkWhite ctermfg=LightGray guifg=LightGray cterm=standout gui=undercurl
  1568. hi ansiBlinkGray ctermfg=DarkGray guifg=DarkGray cterm=standout gui=undercurl
  1569. hi ansiRapidBlink cterm=standout gui=undercurl
  1570. hi ansiRapidBlinkBlack ctermfg=Black guifg=Black cterm=standout gui=undercurl
  1571. hi ansiRapidBlinkRed ctermfg=DarkRed guifg=DarkRed cterm=standout gui=undercurl
  1572. hi ansiRapidBlinkGreen ctermfg=DarkGreen guifg=DarkGreen cterm=standout gui=undercurl
  1573. hi ansiRapidBlinkYellow ctermfg=DarkYellow guifg=DarkYellow cterm=standout gui=undercurl
  1574. hi ansiRapidBlinkBlue ctermfg=DarkBlue guifg=DarkBlue cterm=standout gui=undercurl
  1575. hi ansiRapidBlinkMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=standout gui=undercurl
  1576. hi ansiRapidBlinkCyan ctermfg=DarkCyan guifg=DarkCyan cterm=standout gui=undercurl
  1577. hi ansiRapidBlinkWhite ctermfg=LightGray guifg=LightGray cterm=standout gui=undercurl
  1578. hi ansiRapidBlinkGray ctermfg=DarkGray guifg=DarkGray cterm=standout gui=undercurl
  1579. hi ansiRV cterm=reverse gui=reverse
  1580. hi ansiRVBlack ctermfg=Black guifg=Black cterm=reverse gui=reverse
  1581. hi ansiRVRed ctermfg=DarkRed guifg=DarkRed cterm=reverse gui=reverse
  1582. hi ansiRVGreen ctermfg=DarkGreen guifg=DarkGreen cterm=reverse gui=reverse
  1583. hi ansiRVYellow ctermfg=DarkYellow guifg=DarkYellow cterm=reverse gui=reverse
  1584. hi ansiRVBlue ctermfg=DarkBlue guifg=DarkBlue cterm=reverse gui=reverse
  1585. hi ansiRVMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=reverse gui=reverse
  1586. hi ansiRVCyan ctermfg=DarkCyan guifg=DarkCyan cterm=reverse gui=reverse
  1587. hi ansiRVWhite ctermfg=LightGray guifg=LightGray cterm=reverse gui=reverse
  1588. hi ansiRVGray ctermfg=DarkGray guifg=DarkGray cterm=reverse gui=reverse
  1589. hi ansiBoldDefault ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE cterm=bold gui=bold
  1590. hi ansiUnderlineDefault ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE cterm=underline gui=underline
  1591. hi ansiBlackDefault ctermfg=Black ctermbg=NONE guifg=Black guibg=NONE cterm=NONE gui=NONE
  1592. hi ansiRedDefault ctermfg=DarkRed ctermbg=NONE guifg=DarkRed guibg=NONE cterm=NONE gui=NONE
  1593. hi ansiGreenDefault ctermfg=DarkGreen ctermbg=NONE guifg=DarkGreen guibg=NONE cterm=NONE gui=NONE
  1594. hi ansiYellowDefault ctermfg=DarkYellow ctermbg=NONE guifg=DarkYellow guibg=NONE cterm=NONE gui=NONE
  1595. hi ansiBlueDefault ctermfg=DarkBlue ctermbg=NONE guifg=DarkBlue guibg=NONE cterm=NONE gui=NONE
  1596. hi ansiMagentaDefault ctermfg=DarkMagenta ctermbg=NONE guifg=DarkMagenta guibg=NONE cterm=NONE gui=NONE
  1597. hi ansiCyanDefault ctermfg=DarkCyan ctermbg=NONE guifg=DarkCyan guibg=NONE cterm=NONE gui=NONE
  1598. hi ansiWhiteDefault ctermfg=LightGray ctermbg=NONE guifg=LightGray guibg=NONE cterm=NONE gui=NONE
  1599. hi ansiGrayDefault ctermfg=DarkGray ctermbg=NONE guifg=DarkGray guibg=NONE cterm=NONE gui=NONE
  1600. hi ansiDefaultDefault ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE cterm=NONE gui=NONE
  1601. hi ansiDefaultBlack ctermfg=NONE ctermbg=Black guifg=NONE guibg=Black cterm=NONE gui=NONE
  1602. hi ansiDefaultRed ctermfg=NONE ctermbg=DarkRed guifg=NONE guibg=DarkRed cterm=NONE gui=NONE
  1603. hi ansiDefaultGreen ctermfg=NONE ctermbg=DarkGreen guifg=NONE guibg=DarkGreen cterm=NONE gui=NONE
  1604. hi ansiDefaultYellow ctermfg=NONE ctermbg=DarkYellow guifg=NONE guibg=DarkYellow cterm=NONE gui=NONE
  1605. hi ansiDefaultBlue ctermfg=NONE ctermbg=DarkBlue guifg=NONE guibg=DarkBlue cterm=NONE gui=NONE
  1606. hi ansiDefaultMagenta ctermfg=NONE ctermbg=DarkMagenta guifg=NONE guibg=DarkMagenta cterm=NONE gui=NONE
  1607. hi ansiDefaultCyan ctermfg=NONE ctermbg=DarkCyan guifg=NONE guibg=DarkCyan cterm=NONE gui=NONE
  1608. hi ansiDefaultWhite ctermfg=NONE ctermbg=LightGray guifg=NONE guibg=LightGray cterm=NONE gui=NONE
  1609. hi ansiDefaultGray ctermfg=NONE ctermbg=DarkGray guifg=NONE guibg=DarkGray cterm=NONE gui=NONE
  1610. hi ansiBlackBlack ctermfg=Black ctermbg=Black guifg=Black guibg=Black cterm=NONE gui=NONE
  1611. hi ansiRedBlack ctermfg=DarkRed ctermbg=Black guifg=DarkRed guibg=Black cterm=NONE gui=NONE
  1612. hi ansiGreenBlack ctermfg=DarkGreen ctermbg=Black guifg=DarkGreen guibg=Black cterm=NONE gui=NONE
  1613. hi ansiYellowBlack ctermfg=DarkYellow ctermbg=Black guifg=DarkYellow guibg=Black cterm=NONE gui=NONE
  1614. hi ansiBlueBlack ctermfg=DarkBlue ctermbg=Black guifg=DarkBlue guibg=Black cterm=NONE gui=NONE
  1615. hi ansiMagentaBlack ctermfg=DarkMagenta ctermbg=Black guifg=DarkMagenta guibg=Black cterm=NONE gui=NONE
  1616. hi ansiCyanBlack ctermfg=DarkCyan ctermbg=Black guifg=DarkCyan guibg=Black cterm=NONE gui=NONE
  1617. hi ansiWhiteBlack ctermfg=LightGray ctermbg=Black guifg=LightGray guibg=Black cterm=NONE gui=NONE
  1618. hi ansiGrayBlack ctermfg=DarkGray ctermbg=Black guifg=DarkGray guibg=Black cterm=NONE gui=NONE
  1619. hi ansiBlackRed ctermfg=Black ctermbg=DarkRed guifg=Black guibg=DarkRed cterm=NONE gui=NONE
  1620. hi ansiRedRed ctermfg=DarkRed ctermbg=DarkRed guifg=DarkRed guibg=DarkRed cterm=NONE gui=NONE
  1621. hi ansiGreenRed ctermfg=DarkGreen ctermbg=DarkRed guifg=DarkGreen guibg=DarkRed cterm=NONE gui=NONE
  1622. hi ansiYellowRed ctermfg=DarkYellow ctermbg=DarkRed guifg=DarkYellow guibg=DarkRed cterm=NONE gui=NONE
  1623. hi ansiBlueRed ctermfg=DarkBlue ctermbg=DarkRed guifg=DarkBlue guibg=DarkRed cterm=NONE gui=NONE
  1624. hi ansiMagentaRed ctermfg=DarkMagenta ctermbg=DarkRed guifg=DarkMagenta guibg=DarkRed cterm=NONE gui=NONE
  1625. hi ansiCyanRed ctermfg=DarkCyan ctermbg=DarkRed guifg=DarkCyan guibg=DarkRed cterm=NONE gui=NONE
  1626. hi ansiWhiteRed ctermfg=LightGray ctermbg=DarkRed guifg=LightGray guibg=DarkRed cterm=NONE gui=NONE
  1627. hi ansiGrayRed ctermfg=DarkGray ctermbg=DarkRed guifg=DarkGray guibg=DarkRed cterm=NONE gui=NONE
  1628. hi ansiBlackGreen ctermfg=Black ctermbg=DarkGreen guifg=Black guibg=DarkGreen cterm=NONE gui=NONE
  1629. hi ansiRedGreen ctermfg=DarkRed ctermbg=DarkGreen guifg=DarkRed guibg=DarkGreen cterm=NONE gui=NONE
  1630. hi ansiGreenGreen ctermfg=DarkGreen ctermbg=DarkGreen guifg=DarkGreen guibg=DarkGreen cterm=NONE gui=NONE
  1631. hi ansiYellowGreen ctermfg=DarkYellow ctermbg=DarkGreen guifg=DarkYellow guibg=DarkGreen cterm=NONE gui=NONE
  1632. hi ansiBlueGreen ctermfg=DarkBlue ctermbg=DarkGreen guifg=DarkBlue guibg=DarkGreen cterm=NONE gui=NONE
  1633. hi ansiMagentaGreen ctermfg=DarkMagenta ctermbg=DarkGreen guifg=DarkMagenta guibg=DarkGreen cterm=NONE gui=NONE
  1634. hi ansiCyanGreen ctermfg=DarkCyan ctermbg=DarkGreen guifg=DarkCyan guibg=DarkGreen cterm=NONE gui=NONE
  1635. hi ansiWhiteGreen ctermfg=LightGray ctermbg=DarkGreen guifg=LightGray guibg=DarkGreen cterm=NONE gui=NONE
  1636. hi ansiGrayGreen ctermfg=DarkGray ctermbg=DarkGreen guifg=DarkGray guibg=DarkGreen cterm=NONE gui=NONE
  1637. hi ansiBlackYellow ctermfg=Black ctermbg=DarkYellow guifg=Black guibg=DarkYellow cterm=NONE gui=NONE
  1638. hi ansiRedYellow ctermfg=DarkRed ctermbg=DarkYellow guifg=DarkRed guibg=DarkYellow cterm=NONE gui=NONE
  1639. hi ansiGreenYellow ctermfg=DarkGreen ctermbg=DarkYellow guifg=DarkGreen guibg=DarkYellow cterm=NONE gui=NONE
  1640. hi ansiYellowYellow ctermfg=DarkYellow ctermbg=DarkYellow guifg=DarkYellow guibg=DarkYellow cterm=NONE gui=NONE
  1641. hi ansiBlueYellow ctermfg=DarkBlue ctermbg=DarkYellow guifg=DarkBlue guibg=DarkYellow cterm=NONE gui=NONE
  1642. hi ansiMagentaYellow ctermfg=DarkMagenta ctermbg=DarkYellow guifg=DarkMagenta guibg=DarkYellow cterm=NONE gui=NONE
  1643. hi ansiCyanYellow ctermfg=DarkCyan ctermbg=DarkYellow guifg=DarkCyan guibg=DarkYellow cterm=NONE gui=NONE
  1644. hi ansiWhiteYellow ctermfg=LightGray ctermbg=DarkYellow guifg=LightGray guibg=DarkYellow cterm=NONE gui=NONE
  1645. hi ansiGrayYellow ctermfg=DarkGray ctermbg=DarkYellow guifg=DarkGray guibg=DarkYellow cterm=NONE gui=NONE
  1646. hi ansiBlackBlue ctermfg=Black ctermbg=DarkBlue guifg=Black guibg=DarkBlue cterm=NONE gui=NONE
  1647. hi ansiRedBlue ctermfg=DarkRed ctermbg=DarkBlue guifg=DarkRed guibg=DarkBlue cterm=NONE gui=NONE
  1648. hi ansiGreenBlue ctermfg=DarkGreen ctermbg=DarkBlue guifg=DarkGreen guibg=DarkBlue cterm=NONE gui=NONE
  1649. hi ansiYellowBlue ctermfg=DarkYellow ctermbg=DarkBlue guifg=DarkYellow guibg=DarkBlue cterm=NONE gui=NONE
  1650. hi ansiBlueBlue ctermfg=DarkBlue ctermbg=DarkBlue guifg=DarkBlue guibg=DarkBlue cterm=NONE gui=NONE
  1651. hi ansiMagentaBlue ctermfg=DarkMagenta ctermbg=DarkBlue guifg=DarkMagenta guibg=DarkBlue cterm=NONE gui=NONE
  1652. hi ansiCyanBlue ctermfg=DarkCyan ctermbg=DarkBlue guifg=DarkCyan guibg=DarkBlue cterm=NONE gui=NONE
  1653. hi ansiWhiteBlue ctermfg=LightGray ctermbg=DarkBlue guifg=LightGray guibg=DarkBlue cterm=NONE gui=NONE
  1654. hi ansiGrayBlue ctermfg=DarkGray ctermbg=DarkBlue guifg=DarkGray guibg=DarkBlue cterm=NONE gui=NONE
  1655. hi ansiBlackMagenta ctermfg=Black ctermbg=DarkMagenta guifg=Black guibg=DarkMagenta cterm=NONE gui=NONE
  1656. hi ansiRedMagenta ctermfg=DarkRed ctermbg=DarkMagenta guifg=DarkRed guibg=DarkMagenta cterm=NONE gui=NONE
  1657. hi ansiGreenMagenta ctermfg=DarkGreen ctermbg=DarkMagenta guifg=DarkGreen guibg=DarkMagenta cterm=NONE gui=NONE
  1658. hi ansiYellowMagenta ctermfg=DarkYellow ctermbg=DarkMagenta guifg=DarkYellow guibg=DarkMagenta cterm=NONE gui=NONE
  1659. hi ansiBlueMagenta ctermfg=DarkBlue ctermbg=DarkMagenta guifg=DarkBlue guibg=DarkMagenta cterm=NONE gui=NONE
  1660. hi ansiMagentaMagenta ctermfg=DarkMagenta ctermbg=DarkMagenta guifg=DarkMagenta guibg=DarkMagenta cterm=NONE gui=NONE
  1661. hi ansiCyanMagenta ctermfg=DarkCyan ctermbg=DarkMagenta guifg=DarkCyan guibg=DarkMagenta cterm=NONE gui=NONE
  1662. hi ansiWhiteMagenta ctermfg=LightGray ctermbg=DarkMagenta guifg=LightGray guibg=DarkMagenta cterm=NONE gui=NONE
  1663. hi ansiGrayMagenta ctermfg=DarkGray ctermbg=DarkMagenta guifg=DarkGray guibg=DarkMagenta cterm=NONE gui=NONE
  1664. hi ansiBlackCyan ctermfg=Black ctermbg=DarkCyan guifg=Black guibg=DarkCyan cterm=NONE gui=NONE
  1665. hi ansiRedCyan ctermfg=DarkRed ctermbg=DarkCyan guifg=DarkRed guibg=DarkCyan cterm=NONE gui=NONE
  1666. hi ansiGreenCyan ctermfg=DarkGreen ctermbg=DarkCyan guifg=DarkGreen guibg=DarkCyan cterm=NONE gui=NONE
  1667. hi ansiYellowCyan ctermfg=DarkYellow ctermbg=DarkCyan guifg=DarkYellow guibg=DarkCyan cterm=NONE gui=NONE
  1668. hi ansiBlueCyan ctermfg=DarkBlue ctermbg=DarkCyan guifg=DarkBlue guibg=DarkCyan cterm=NONE gui=NONE
  1669. hi ansiMagentaCyan ctermfg=DarkMagenta ctermbg=DarkCyan guifg=DarkMagenta guibg=DarkCyan cterm=NONE gui=NONE
  1670. hi ansiCyanCyan ctermfg=DarkCyan ctermbg=DarkCyan guifg=DarkCyan guibg=DarkCyan cterm=NONE gui=NONE
  1671. hi ansiWhiteCyan ctermfg=LightGray ctermbg=DarkCyan guifg=LightGray guibg=DarkCyan cterm=NONE gui=NONE
  1672. hi ansiGrayCyan ctermfg=DarkGray ctermbg=DarkCyan guifg=DarkGray guibg=DarkCyan cterm=NONE gui=NONE
  1673. hi ansiBlackWhite ctermfg=Black ctermbg=LightGray guifg=Black guibg=LightGray cterm=NONE gui=NONE
  1674. hi ansiRedWhite ctermfg=DarkRed ctermbg=LightGray guifg=DarkRed guibg=LightGray cterm=NONE gui=NONE
  1675. hi ansiGreenWhite ctermfg=DarkGreen ctermbg=LightGray guifg=DarkGreen guibg=LightGray cterm=NONE gui=NONE
  1676. hi ansiYellowWhite ctermfg=DarkYellow ctermbg=LightGray guifg=DarkYellow guibg=LightGray cterm=NONE gui=NONE
  1677. hi ansiBlueWhite ctermfg=DarkBlue ctermbg=LightGray guifg=DarkBlue guibg=LightGray cterm=NONE gui=NONE
  1678. hi ansiMagentaWhite ctermfg=DarkMagenta ctermbg=LightGray guifg=DarkMagenta guibg=LightGray cterm=NONE gui=NONE
  1679. hi ansiCyanWhite ctermfg=DarkCyan ctermbg=LightGray guifg=DarkCyan guibg=LightGray cterm=NONE gui=NONE
  1680. hi ansiWhiteWhite ctermfg=LightGray ctermbg=LightGray guifg=LightGray guibg=LightGray cterm=NONE gui=NONE
  1681. hi ansiGrayWhite ctermfg=DarkGray ctermbg=LightGray guifg=DarkGray guibg=LightGray cterm=NONE gui=NONE
  1682. hi ansiBlackGray ctermfg=Black ctermbg=DarkGray guifg=Black guibg=DarkGray cterm=NONE gui=NONE
  1683. hi ansiRedGray ctermfg=DarkRed ctermbg=DarkGray guifg=DarkRed guibg=DarkGray cterm=NONE gui=NONE
  1684. hi ansiGreenGray ctermfg=DarkGreen ctermbg=DarkGray guifg=DarkGreen guibg=DarkGray cterm=NONE gui=NONE
  1685. hi ansiYellowGray ctermfg=DarkYellow ctermbg=DarkGray guifg=DarkYellow guibg=DarkGray cterm=NONE gui=NONE
  1686. hi ansiBlueGray ctermfg=DarkBlue ctermbg=DarkGray guifg=DarkBlue guibg=DarkGray cterm=NONE gui=NONE
  1687. hi ansiMagentaGray ctermfg=DarkMagenta ctermbg=DarkGray guifg=DarkMagenta guibg=DarkGray cterm=NONE gui=NONE
  1688. hi ansiCyanGray ctermfg=DarkCyan ctermbg=DarkGray guifg=DarkCyan guibg=DarkGray cterm=NONE gui=NONE
  1689. hi ansiWhiteGray ctermfg=LightGray ctermbg=DarkGray guifg=LightGray guibg=DarkGray cterm=NONE gui=NONE
  1690. hi ansiGrayGray ctermfg=DarkGray ctermbg=DarkGray guifg=DarkGray guibg=DarkGray cterm=NONE gui=NONE
  1691. if v:version >= 700 && exists("+t_Co") && &t_Co == 256 && exists("g:ansiesc_256color")
  1692. " ---------------------------
  1693. " handle 256-color terminals: {{{3
  1694. " ---------------------------
  1695. " call Decho("set up 256-color highlighting groups")
  1696. let icolor= 1
  1697. while icolor < 256
  1698. let jcolor= 1
  1699. exe "hi ansiHL_".icolor."_0 ctermfg=".icolor
  1700. exe "hi ansiHL_0_".icolor." ctermbg=".icolor
  1701. " call Decho("exe hi ansiHL_".icolor." ctermfg=".icolor)
  1702. while jcolor < 256
  1703. exe "hi ansiHL_".icolor."_".jcolor." ctermfg=".icolor." ctermbg=".jcolor
  1704. " call Decho("exe hi ansiHL_".icolor."_".jcolor." ctermfg=".icolor." ctermbg=".jcolor)
  1705. let jcolor= jcolor + 1
  1706. endwhile
  1707. let icolor= icolor + 1
  1708. endwhile
  1709. endif
  1710. else
  1711. " ----------------------------------
  1712. " not 8 or 256 color terminals (gui): {{{3
  1713. " ----------------------------------
  1714. " call Decho("set up gui highlighting groups")
  1715. hi ansiBlack ctermfg=Black guifg=Black cterm=NONE gui=NONE
  1716. hi ansiRed ctermfg=DarkRed guifg=DarkRed cterm=NONE gui=NONE
  1717. hi ansiGreen ctermfg=DarkGreen guifg=DarkGreen cterm=NONE gui=NONE
  1718. hi ansiYellow ctermfg=DarkYellow guifg=DarkYellow cterm=NONE gui=NONE
  1719. hi ansiBlue ctermfg=DarkBlue guifg=DarkBlue cterm=NONE gui=NONE
  1720. hi ansiMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=NONE gui=NONE
  1721. hi ansiCyan ctermfg=DarkCyan guifg=DarkCyan cterm=NONE gui=NONE
  1722. hi ansiWhite ctermfg=LightGray guifg=LightGray cterm=NONE gui=NONE
  1723. hi ansiGray ctermfg=DarkGray guifg=DarkGray cterm=NONE gui=NONE
  1724. hi ansiDefaultBg ctermbg=NONE guibg=NONE cterm=NONE gui=NONE
  1725. hi ansiBlackBg ctermbg=Black guibg=Black cterm=NONE gui=NONE
  1726. hi ansiRedBg ctermbg=DarkRed guibg=DarkRed cterm=NONE gui=NONE
  1727. hi ansiGreenBg ctermbg=DarkGreen guibg=DarkGreen cterm=NONE gui=NONE
  1728. hi ansiYellowBg ctermbg=DarkYellow guibg=DarkYellow cterm=NONE gui=NONE
  1729. hi ansiBlueBg ctermbg=DarkBlue guibg=DarkBlue cterm=NONE gui=NONE
  1730. hi ansiMagentaBg ctermbg=DarkMagenta guibg=DarkMagenta cterm=NONE gui=NONE
  1731. hi ansiCyanBg ctermbg=DarkCyan guibg=DarkCyan cterm=NONE gui=NONE
  1732. hi ansiWhiteBg ctermbg=LightGray guibg=LightGray cterm=NONE gui=NONE
  1733. hi ansiGrayBg ctermbg=DarkGray guibg=DarkGray cterm=NONE gui=NONE
  1734. hi ansiDefaultReverseBg ctermbg=NONE guibg=NONE cterm=reverse gui=reverse
  1735. hi ansiBlackReverseBg ctermbg=Black guibg=Black cterm=reverse gui=reverse
  1736. hi ansiRedReverseBg ctermbg=DarkRed guibg=DarkRed cterm=reverse gui=reverse
  1737. hi ansiGreenReverseBg ctermbg=DarkGreen guibg=DarkGreen cterm=reverse gui=reverse
  1738. hi ansiYellowReverseBg ctermbg=DarkYellow guibg=DarkYellow cterm=reverse gui=reverse
  1739. hi ansiBlueReverseBg ctermbg=DarkBlue guibg=DarkBlue cterm=reverse gui=reverse
  1740. hi ansiMagentaReverseBg ctermbg=DarkMagenta guibg=DarkMagenta cterm=reverse gui=reverse
  1741. hi ansiCyanReverseBg ctermbg=DarkCyan guibg=DarkCyan cterm=reverse gui=reverse
  1742. hi ansiWhiteReverseBg ctermbg=LightGray guibg=LightGray cterm=reverse gui=reverse
  1743. hi ansiGrayReverseBg ctermbg=DarkGray guibg=DarkGray cterm=reverse gui=reverse
  1744. hi ansiBold cterm=bold gui=bold
  1745. hi ansiBoldUnderline cterm=bold,underline gui=bold,underline
  1746. hi ansiBoldBlack ctermfg=Black guifg=Black cterm=bold gui=bold
  1747. hi ansiBoldRed ctermfg=DarkRed guifg=DarkRed cterm=bold gui=bold
  1748. hi ansiBoldGreen ctermfg=DarkGreen guifg=DarkGreen cterm=bold gui=bold
  1749. hi ansiBoldYellow ctermfg=DarkYellow guifg=DarkYellow cterm=bold gui=bold
  1750. hi ansiBoldBlue ctermfg=DarkBlue guifg=DarkBlue cterm=bold gui=bold
  1751. hi ansiBoldMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=bold gui=bold
  1752. hi ansiBoldCyan ctermfg=DarkCyan guifg=DarkCyan cterm=bold gui=bold
  1753. hi ansiBoldWhite ctermfg=LightGray guifg=LightGray cterm=bold gui=bold
  1754. hi ansiBoldGray ctermfg=DarkGray guifg=DarkGray cterm=bold gui=bold
  1755. hi ansiBlackBold ctermbg=Black guibg=Black cterm=bold gui=bold
  1756. hi ansiRedBold ctermbg=DarkRed guibg=DarkRed cterm=bold gui=bold
  1757. hi ansiGreenBold ctermbg=DarkGreen guibg=DarkGreen cterm=bold gui=bold
  1758. hi ansiYellowBold ctermbg=DarkYellow guibg=DarkYellow cterm=bold gui=bold
  1759. hi ansiBlueBold ctermbg=DarkBlue guibg=DarkBlue cterm=bold gui=bold
  1760. hi ansiMagentaBold ctermbg=DarkMagenta guibg=DarkMagenta cterm=bold gui=bold
  1761. hi ansiCyanBold ctermbg=DarkCyan guibg=DarkCyan cterm=bold gui=bold
  1762. hi ansiWhiteBold ctermbg=LightGray guibg=LightGray cterm=bold gui=bold
  1763. hi ansiGrayBold ctermbg=DarkGray guibg=DarkGray cterm=bold gui=bold
  1764. hi ansiReverse cterm=reverse gui=reverse
  1765. hi ansiReverseUnderline cterm=reverse,underline gui=reverse,underline
  1766. hi ansiReverseBold cterm=reverse,bold gui=reverse,bold
  1767. hi ansiReverseBoldUnderline cterm=reverse,bold,underline gui=reverse,bold,underline
  1768. hi ansiReverseBlack ctermfg=Black guifg=Black cterm=reverse gui=reverse
  1769. hi ansiReverseRed ctermfg=DarkRed guifg=DarkRed cterm=reverse gui=reverse
  1770. hi ansiReverseGreen ctermfg=DarkGreen guifg=DarkGreen cterm=reverse gui=reverse
  1771. hi ansiReverseYellow ctermfg=DarkYellow guifg=DarkYellow cterm=reverse gui=reverse
  1772. hi ansiReverseBlue ctermfg=DarkBlue guifg=DarkBlue cterm=reverse gui=reverse
  1773. hi ansiReverseMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=reverse gui=reverse
  1774. hi ansiReverseCyan ctermfg=DarkCyan guifg=DarkCyan cterm=reverse gui=reverse
  1775. hi ansiReverseWhite ctermfg=LightGray guifg=LightGray cterm=reverse gui=reverse
  1776. hi ansiReverseGray ctermfg=DarkGray guifg=DarkGray cterm=reverse gui=reverse
  1777. hi ansiStandout cterm=standout gui=standout
  1778. hi ansiStandoutBlack ctermfg=Black guifg=Black cterm=standout gui=standout
  1779. hi ansiStandoutRed ctermfg=DarkRed guifg=DarkRed cterm=standout gui=standout
  1780. hi ansiStandoutGreen ctermfg=DarkGreen guifg=DarkGreen cterm=standout gui=standout
  1781. hi ansiStandoutYellow ctermfg=DarkYellow guifg=DarkYellow cterm=standout gui=standout
  1782. hi ansiStandoutBlue ctermfg=DarkBlue guifg=DarkBlue cterm=standout gui=standout
  1783. hi ansiStandoutMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=standout gui=standout
  1784. hi ansiStandoutCyan ctermfg=DarkCyan guifg=DarkCyan cterm=standout gui=standout
  1785. hi ansiStandoutWhite ctermfg=LightGray guifg=LightGray cterm=standout gui=standout
  1786. hi ansiStandoutGray ctermfg=DarkGray guifg=DarkGray cterm=standout gui=standout
  1787. hi ansiItalic cterm=italic gui=italic
  1788. hi ansiItalicBlack ctermfg=Black guifg=Black cterm=italic gui=italic
  1789. hi ansiItalicRed ctermfg=DarkRed guifg=DarkRed cterm=italic gui=italic
  1790. hi ansiItalicGreen ctermfg=DarkGreen guifg=DarkGreen cterm=italic gui=italic
  1791. hi ansiItalicYellow ctermfg=DarkYellow guifg=DarkYellow cterm=italic gui=italic
  1792. hi ansiItalicBlue ctermfg=DarkBlue guifg=DarkBlue cterm=italic gui=italic
  1793. hi ansiItalicMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=italic gui=italic
  1794. hi ansiItalicCyan ctermfg=DarkCyan guifg=DarkCyan cterm=italic gui=italic
  1795. hi ansiItalicWhite ctermfg=LightGray guifg=LightGray cterm=italic gui=italic
  1796. hi ansiItalicGray ctermfg=DarkGray guifg=DarkGray cterm=italic gui=italic
  1797. hi ansiUnderline cterm=underline gui=underline
  1798. hi ansiUnderlineBlack ctermfg=Black guifg=Black cterm=underline gui=underline
  1799. hi ansiUnderlineRed ctermfg=DarkRed guifg=DarkRed cterm=underline gui=underline
  1800. hi ansiUnderlineGreen ctermfg=DarkGreen guifg=DarkGreen cterm=underline gui=underline
  1801. hi ansiUnderlineYellow ctermfg=DarkYellow guifg=DarkYellow cterm=underline gui=underline
  1802. hi ansiUnderlineBlue ctermfg=DarkBlue guifg=DarkBlue cterm=underline gui=underline
  1803. hi ansiUnderlineMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=underline gui=underline
  1804. hi ansiUnderlineCyan ctermfg=DarkCyan guifg=DarkCyan cterm=underline gui=underline
  1805. hi ansiUnderlineWhite ctermfg=LightGray guifg=LightGray cterm=underline gui=underline
  1806. hi ansiUnderlineGray ctermfg=DarkGray guifg=DarkGray cterm=underline gui=underline
  1807. hi ansiBlackUnderline ctermbg=Black guibg=Black cterm=underline gui=underline
  1808. hi ansiRedUnderline ctermbg=DarkRed guibg=DarkRed cterm=underline gui=underline
  1809. hi ansiGreenUnderline ctermbg=DarkGreen guibg=DarkGreen cterm=underline gui=underline
  1810. hi ansiYellowUnderline ctermbg=DarkYellow guibg=DarkYellow cterm=underline gui=underline
  1811. hi ansiBlueUnderline ctermbg=DarkBlue guibg=DarkBlue cterm=underline gui=underline
  1812. hi ansiMagentaUnderline ctermbg=DarkMagenta guibg=DarkMagenta cterm=underline gui=underline
  1813. hi ansiCyanUnderline ctermbg=DarkCyan guibg=DarkCyan cterm=underline gui=underline
  1814. hi ansiWhiteUnderline ctermbg=LightGray guibg=LightGray cterm=underline gui=underline
  1815. hi ansiGrayUnderline ctermbg=DarkGray guibg=DarkGray cterm=underline gui=underline
  1816. hi ansiBlink cterm=standout gui=undercurl
  1817. hi ansiBlinkBlack ctermfg=Black guifg=Black cterm=standout gui=undercurl
  1818. hi ansiBlinkRed ctermfg=DarkRed guifg=DarkRed cterm=standout gui=undercurl
  1819. hi ansiBlinkGreen ctermfg=DarkGreen guifg=DarkGreen cterm=standout gui=undercurl
  1820. hi ansiBlinkYellow ctermfg=DarkYellow guifg=DarkYellow cterm=standout gui=undercurl
  1821. hi ansiBlinkBlue ctermfg=DarkBlue guifg=DarkBlue cterm=standout gui=undercurl
  1822. hi ansiBlinkMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=standout gui=undercurl
  1823. hi ansiBlinkCyan ctermfg=DarkCyan guifg=DarkCyan cterm=standout gui=undercurl
  1824. hi ansiBlinkWhite ctermfg=LightGray guifg=LightGray cterm=standout gui=undercurl
  1825. hi ansiBlinkGray ctermfg=DarkGray guifg=DarkGray cterm=standout gui=undercurl
  1826. hi ansiRapidBlink cterm=standout gui=undercurl
  1827. hi ansiRapidBlinkBlack ctermfg=Black guifg=Black cterm=standout gui=undercurl
  1828. hi ansiRapidBlinkRed ctermfg=DarkRed guifg=DarkRed cterm=standout gui=undercurl
  1829. hi ansiRapidBlinkGreen ctermfg=DarkGreen guifg=DarkGreen cterm=standout gui=undercurl
  1830. hi ansiRapidBlinkYellow ctermfg=DarkYellow guifg=DarkYellow cterm=standout gui=undercurl
  1831. hi ansiRapidBlinkBlue ctermfg=DarkBlue guifg=DarkBlue cterm=standout gui=undercurl
  1832. hi ansiRapidBlinkMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=standout gui=undercurl
  1833. hi ansiRapidBlinkCyan ctermfg=DarkCyan guifg=DarkCyan cterm=standout gui=undercurl
  1834. hi ansiRapidBlinkWhite ctermfg=LightGray guifg=LightGray cterm=standout gui=undercurl
  1835. hi ansiRapidBlinkGray ctermfg=DarkGray guifg=DarkGray cterm=standout gui=undercurl
  1836. hi ansiRV cterm=reverse gui=reverse
  1837. hi ansiRVBlack ctermfg=Black guifg=Black cterm=reverse gui=reverse
  1838. hi ansiRVRed ctermfg=DarkRed guifg=DarkRed cterm=reverse gui=reverse
  1839. hi ansiRVGreen ctermfg=DarkGreen guifg=DarkGreen cterm=reverse gui=reverse
  1840. hi ansiRVYellow ctermfg=DarkYellow guifg=DarkYellow cterm=reverse gui=reverse
  1841. hi ansiRVBlue ctermfg=DarkBlue guifg=DarkBlue cterm=reverse gui=reverse
  1842. hi ansiRVMagenta ctermfg=DarkMagenta guifg=DarkMagenta cterm=reverse gui=reverse
  1843. hi ansiRVCyan ctermfg=DarkCyan guifg=DarkCyan cterm=reverse gui=reverse
  1844. hi ansiRVWhite ctermfg=LightGray guifg=LightGray cterm=reverse gui=reverse
  1845. hi ansiRVGray ctermfg=DarkGray guifg=DarkGray cterm=reverse gui=reverse
  1846. hi ansiBoldDefault ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE cterm=bold gui=bold
  1847. hi ansiUnderlineDefault ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE cterm=underline gui=underline
  1848. hi ansiBlackDefault ctermfg=Black ctermbg=NONE guifg=Black guibg=NONE cterm=NONE gui=NONE
  1849. hi ansiRedDefault ctermfg=DarkRed ctermbg=NONE guifg=DarkRed guibg=NONE cterm=NONE gui=NONE
  1850. hi ansiGreenDefault ctermfg=DarkGreen ctermbg=NONE guifg=DarkGreen guibg=NONE cterm=NONE gui=NONE
  1851. hi ansiYellowDefault ctermfg=DarkYellow ctermbg=NONE guifg=DarkYellow guibg=NONE cterm=NONE gui=NONE
  1852. hi ansiBlueDefault ctermfg=DarkBlue ctermbg=NONE guifg=DarkBlue guibg=NONE cterm=NONE gui=NONE
  1853. hi ansiMagentaDefault ctermfg=DarkMagenta ctermbg=NONE guifg=DarkMagenta guibg=NONE cterm=NONE gui=NONE
  1854. hi ansiCyanDefault ctermfg=DarkCyan ctermbg=NONE guifg=DarkCyan guibg=NONE cterm=NONE gui=NONE
  1855. hi ansiWhiteDefault ctermfg=LightGray ctermbg=NONE guifg=LightGray guibg=NONE cterm=NONE gui=NONE
  1856. hi ansiGrayDefault ctermfg=DarkGray ctermbg=NONE guifg=DarkGray guibg=NONE cterm=NONE gui=NONE
  1857. hi ansiDefaultDefault ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE cterm=NONE gui=NONE
  1858. hi ansiDefaultBlack ctermfg=NONE ctermbg=Black guifg=NONE guibg=Black cterm=NONE gui=NONE
  1859. hi ansiDefaultRed ctermfg=NONE ctermbg=DarkRed guifg=NONE guibg=DarkRed cterm=NONE gui=NONE
  1860. hi ansiDefaultGreen ctermfg=NONE ctermbg=DarkGreen guifg=NONE guibg=DarkGreen cterm=NONE gui=NONE
  1861. hi ansiDefaultYellow ctermfg=NONE ctermbg=DarkYellow guifg=NONE guibg=DarkYellow cterm=NONE gui=NONE
  1862. hi ansiDefaultBlue ctermfg=NONE ctermbg=DarkBlue guifg=NONE guibg=DarkBlue cterm=NONE gui=NONE
  1863. hi ansiDefaultMagenta ctermfg=NONE ctermbg=DarkMagenta guifg=NONE guibg=DarkMagenta cterm=NONE gui=NONE
  1864. hi ansiDefaultCyan ctermfg=NONE ctermbg=DarkCyan guifg=NONE guibg=DarkCyan cterm=NONE gui=NONE
  1865. hi ansiDefaultWhite ctermfg=NONE ctermbg=LightGray guifg=NONE guibg=LightGray cterm=NONE gui=NONE
  1866. hi ansiDefaultGray ctermfg=NONE ctermbg=DarkGray guifg=NONE guibg=DarkGray cterm=NONE gui=NONE
  1867. hi ansiBlackBlack ctermfg=Black ctermbg=Black guifg=Black guibg=Black cterm=NONE gui=NONE
  1868. hi ansiRedBlack ctermfg=DarkRed ctermbg=Black guifg=DarkRed guibg=Black cterm=NONE gui=NONE
  1869. hi ansiGreenBlack ctermfg=DarkGreen ctermbg=Black guifg=DarkGreen guibg=Black cterm=NONE gui=NONE
  1870. hi ansiYellowBlack ctermfg=DarkYellow ctermbg=Black guifg=DarkYellow guibg=Black cterm=NONE gui=NONE
  1871. hi ansiBlueBlack ctermfg=DarkBlue ctermbg=Black guifg=DarkBlue guibg=Black cterm=NONE gui=NONE
  1872. hi ansiMagentaBlack ctermfg=DarkMagenta ctermbg=Black guifg=DarkMagenta guibg=Black cterm=NONE gui=NONE
  1873. hi ansiCyanBlack ctermfg=DarkCyan ctermbg=Black guifg=DarkCyan guibg=Black cterm=NONE gui=NONE
  1874. hi ansiWhiteBlack ctermfg=LightGray ctermbg=Black guifg=LightGray guibg=Black cterm=NONE gui=NONE
  1875. hi ansiGrayBlack ctermfg=DarkGray ctermbg=Black guifg=DarkGray guibg=Black cterm=NONE gui=NONE
  1876. hi ansiBlackRed ctermfg=Black ctermbg=DarkRed guifg=Black guibg=DarkRed cterm=NONE gui=NONE
  1877. hi ansiRedRed ctermfg=DarkRed ctermbg=DarkRed guifg=DarkRed guibg=DarkRed cterm=NONE gui=NONE
  1878. hi ansiGreenRed ctermfg=DarkGreen ctermbg=DarkRed guifg=DarkGreen guibg=DarkRed cterm=NONE gui=NONE
  1879. hi ansiYellowRed ctermfg=DarkYellow ctermbg=DarkRed guifg=DarkYellow guibg=DarkRed cterm=NONE gui=NONE
  1880. hi ansiBlueRed ctermfg=DarkBlue ctermbg=DarkRed guifg=DarkBlue guibg=DarkRed cterm=NONE gui=NONE
  1881. hi ansiMagentaRed ctermfg=DarkMagenta ctermbg=DarkRed guifg=DarkMagenta guibg=DarkRed cterm=NONE gui=NONE
  1882. hi ansiCyanRed ctermfg=DarkCyan ctermbg=DarkRed guifg=DarkCyan guibg=DarkRed cterm=NONE gui=NONE
  1883. hi ansiWhiteRed ctermfg=LightGray ctermbg=DarkRed guifg=LightGray guibg=DarkRed cterm=NONE gui=NONE
  1884. hi ansiGrayRed ctermfg=DarkGray ctermbg=DarkRed guifg=DarkGray guibg=DarkRed cterm=NONE gui=NONE
  1885. hi ansiBlackGreen ctermfg=Black ctermbg=DarkGreen guifg=Black guibg=DarkGreen cterm=NONE gui=NONE
  1886. hi ansiRedGreen ctermfg=DarkRed ctermbg=DarkGreen guifg=DarkRed guibg=DarkGreen cterm=NONE gui=NONE
  1887. hi ansiGreenGreen ctermfg=DarkGreen ctermbg=DarkGreen guifg=DarkGreen guibg=DarkGreen cterm=NONE gui=NONE
  1888. hi ansiYellowGreen ctermfg=DarkYellow ctermbg=DarkGreen guifg=DarkYellow guibg=DarkGreen cterm=NONE gui=NONE
  1889. hi ansiBlueGreen ctermfg=DarkBlue ctermbg=DarkGreen guifg=DarkBlue guibg=DarkGreen cterm=NONE gui=NONE
  1890. hi ansiMagentaGreen ctermfg=DarkMagenta ctermbg=DarkGreen guifg=DarkMagenta guibg=DarkGreen cterm=NONE gui=NONE
  1891. hi ansiCyanGreen ctermfg=DarkCyan ctermbg=DarkGreen guifg=DarkCyan guibg=DarkGreen cterm=NONE gui=NONE
  1892. hi ansiWhiteGreen ctermfg=LightGray ctermbg=DarkGreen guifg=LightGray guibg=DarkGreen cterm=NONE gui=NONE
  1893. hi ansiGrayGreen ctermfg=DarkGray ctermbg=DarkGreen guifg=DarkGray guibg=DarkGreen cterm=NONE gui=NONE
  1894. hi ansiBlackYellow ctermfg=Black ctermbg=DarkYellow guifg=Black guibg=DarkYellow cterm=NONE gui=NONE
  1895. hi ansiRedYellow ctermfg=DarkRed ctermbg=DarkYellow guifg=DarkRed guibg=DarkYellow cterm=NONE gui=NONE
  1896. hi ansiGreenYellow ctermfg=DarkGreen ctermbg=DarkYellow guifg=DarkGreen guibg=DarkYellow cterm=NONE gui=NONE
  1897. hi ansiYellowYellow ctermfg=DarkYellow ctermbg=DarkYellow guifg=DarkYellow guibg=DarkYellow cterm=NONE gui=NONE
  1898. hi ansiBlueYellow ctermfg=DarkBlue ctermbg=DarkYellow guifg=DarkBlue guibg=DarkYellow cterm=NONE gui=NONE
  1899. hi ansiMagentaYellow ctermfg=DarkMagenta ctermbg=DarkYellow guifg=DarkMagenta guibg=DarkYellow cterm=NONE gui=NONE
  1900. hi ansiCyanYellow ctermfg=DarkCyan ctermbg=DarkYellow guifg=DarkCyan guibg=DarkYellow cterm=NONE gui=NONE
  1901. hi ansiWhiteYellow ctermfg=LightGray ctermbg=DarkYellow guifg=LightGray guibg=DarkYellow cterm=NONE gui=NONE
  1902. hi ansiGrayYellow ctermfg=DarkGray ctermbg=DarkYellow guifg=DarkGray guibg=DarkYellow cterm=NONE gui=NONE
  1903. hi ansiBlackBlue ctermfg=Black ctermbg=DarkBlue guifg=Black guibg=DarkBlue cterm=NONE gui=NONE
  1904. hi ansiRedBlue ctermfg=DarkRed ctermbg=DarkBlue guifg=DarkRed guibg=DarkBlue cterm=NONE gui=NONE
  1905. hi ansiGreenBlue ctermfg=DarkGreen ctermbg=DarkBlue guifg=DarkGreen guibg=DarkBlue cterm=NONE gui=NONE
  1906. hi ansiYellowBlue ctermfg=DarkYellow ctermbg=DarkBlue guifg=DarkYellow guibg=DarkBlue cterm=NONE gui=NONE
  1907. hi ansiBlueBlue ctermfg=DarkBlue ctermbg=DarkBlue guifg=DarkBlue guibg=DarkBlue cterm=NONE gui=NONE
  1908. hi ansiMagentaBlue ctermfg=DarkMagenta ctermbg=DarkBlue guifg=DarkMagenta guibg=DarkBlue cterm=NONE gui=NONE
  1909. hi ansiCyanBlue ctermfg=DarkCyan ctermbg=DarkBlue guifg=DarkCyan guibg=DarkBlue cterm=NONE gui=NONE
  1910. hi ansiWhiteBlue ctermfg=LightGray ctermbg=DarkBlue guifg=LightGray guibg=DarkBlue cterm=NONE gui=NONE
  1911. hi ansiGrayBlue ctermfg=DarkGray ctermbg=DarkBlue guifg=DarkGray guibg=DarkBlue cterm=NONE gui=NONE
  1912. hi ansiBlackMagenta ctermfg=Black ctermbg=DarkMagenta guifg=Black guibg=DarkMagenta cterm=NONE gui=NONE
  1913. hi ansiRedMagenta ctermfg=DarkRed ctermbg=DarkMagenta guifg=DarkRed guibg=DarkMagenta cterm=NONE gui=NONE
  1914. hi ansiGreenMagenta ctermfg=DarkGreen ctermbg=DarkMagenta guifg=DarkGreen guibg=DarkMagenta cterm=NONE gui=NONE
  1915. hi ansiYellowMagenta ctermfg=DarkYellow ctermbg=DarkMagenta guifg=DarkYellow guibg=DarkMagenta cterm=NONE gui=NONE
  1916. hi ansiBlueMagenta ctermfg=DarkBlue ctermbg=DarkMagenta guifg=DarkBlue guibg=DarkMagenta cterm=NONE gui=NONE
  1917. hi ansiMagentaMagenta ctermfg=DarkMagenta ctermbg=DarkMagenta guifg=DarkMagenta guibg=DarkMagenta cterm=NONE gui=NONE
  1918. hi ansiCyanMagenta ctermfg=DarkCyan ctermbg=DarkMagenta guifg=DarkCyan guibg=DarkMagenta cterm=NONE gui=NONE
  1919. hi ansiWhiteMagenta ctermfg=LightGray ctermbg=DarkMagenta guifg=LightGray guibg=DarkMagenta cterm=NONE gui=NONE
  1920. hi ansiGrayMagenta ctermfg=DarkGray ctermbg=DarkMagenta guifg=DarkGray guibg=DarkMagenta cterm=NONE gui=NONE
  1921. hi ansiBlackCyan ctermfg=Black ctermbg=DarkCyan guifg=Black guibg=DarkCyan cterm=NONE gui=NONE
  1922. hi ansiRedCyan ctermfg=DarkRed ctermbg=DarkCyan guifg=DarkRed guibg=DarkCyan cterm=NONE gui=NONE
  1923. hi ansiGreenCyan ctermfg=DarkGreen ctermbg=DarkCyan guifg=DarkGreen guibg=DarkCyan cterm=NONE gui=NONE
  1924. hi ansiYellowCyan ctermfg=DarkYellow ctermbg=DarkCyan guifg=DarkYellow guibg=DarkCyan cterm=NONE gui=NONE
  1925. hi ansiBlueCyan ctermfg=DarkBlue ctermbg=DarkCyan guifg=DarkBlue guibg=DarkCyan cterm=NONE gui=NONE
  1926. hi ansiMagentaCyan ctermfg=DarkMagenta ctermbg=DarkCyan guifg=DarkMagenta guibg=DarkCyan cterm=NONE gui=NONE
  1927. hi ansiCyanCyan ctermfg=DarkCyan ctermbg=DarkCyan guifg=DarkCyan guibg=DarkCyan cterm=NONE gui=NONE
  1928. hi ansiWhiteCyan ctermfg=LightGray ctermbg=DarkCyan guifg=LightGray guibg=DarkCyan cterm=NONE gui=NONE
  1929. hi ansiGrayCyan ctermfg=DarkGray ctermbg=DarkCyan guifg=DarkGray guibg=DarkCyan cterm=NONE gui=NONE
  1930. hi ansiBlackWhite ctermfg=Black ctermbg=LightGray guifg=Black guibg=LightGray cterm=NONE gui=NONE
  1931. hi ansiRedWhite ctermfg=DarkRed ctermbg=LightGray guifg=DarkRed guibg=LightGray cterm=NONE gui=NONE
  1932. hi ansiGreenWhite ctermfg=DarkGreen ctermbg=LightGray guifg=DarkGreen guibg=LightGray cterm=NONE gui=NONE
  1933. hi ansiYellowWhite ctermfg=DarkYellow ctermbg=LightGray guifg=DarkYellow guibg=LightGray cterm=NONE gui=NONE
  1934. hi ansiBlueWhite ctermfg=DarkBlue ctermbg=LightGray guifg=DarkBlue guibg=LightGray cterm=NONE gui=NONE
  1935. hi ansiMagentaWhite ctermfg=DarkMagenta ctermbg=LightGray guifg=DarkMagenta guibg=LightGray cterm=NONE gui=NONE
  1936. hi ansiCyanWhite ctermfg=DarkCyan ctermbg=LightGray guifg=DarkCyan guibg=LightGray cterm=NONE gui=NONE
  1937. hi ansiWhiteWhite ctermfg=LightGray ctermbg=LightGray guifg=LightGray guibg=LightGray cterm=NONE gui=NONE
  1938. hi ansiGrayWhite ctermfg=DarkGray ctermbg=LightGray guifg=DarkGray guibg=LightGray cterm=NONE gui=NONE
  1939. endif
  1940. " call Dret("AnsiEsc#AnsiEsc")
  1941. endfun
  1942. " ---------------------------------------------------------------------
  1943. " s:MultiElementHandler: builds custom syntax highlighting for three or more element ansi escape sequences {{{2
  1944. fun! s:MultiElementHandler()
  1945. " call Dfunc("s:MultiElementHandler()")
  1946. let curwp= SaveWinPosn(0)
  1947. keepj 1
  1948. keepj norm! 0
  1949. let mehcnt = 0
  1950. let mehrules = []
  1951. while search('\e\[;\=\d\+;\d\+;\d\+\(;\d\+\)*m','cW')
  1952. let curcol = col(".")+1
  1953. call search('m','cW')
  1954. let mcol = col(".")
  1955. let ansiesc = strpart(getline("."),curcol,mcol - curcol)
  1956. let aecodes = split(ansiesc,'[;m]')
  1957. " call Decho("ansiesc<".ansiesc."> aecodes=".string(aecodes))
  1958. let skip = 0
  1959. let mod = "NONE,"
  1960. let fg = ""
  1961. let bg = ""
  1962. " if the ansiesc is
  1963. if index(mehrules,ansiesc) == -1
  1964. let mehrules+= [ansiesc]
  1965. for code in aecodes
  1966. " handle multi-code sequences (38;5;color and 48;5;color)
  1967. if skip == 38 && code == 5
  1968. " handling <esc>[38;5
  1969. let skip= 385
  1970. " call Decho(" 1: building code=".code." skip=".skip.": mod<".mod."> fg<".fg."> bg<".bg.">")
  1971. continue
  1972. elseif skip == 385
  1973. " handling <esc>[38;5;...
  1974. if has("gui") && has("gui_running")
  1975. let fg= s:Ansi2Gui(code)
  1976. else
  1977. let fg= code
  1978. endif
  1979. let skip= 0
  1980. " call Decho(" 2: building code=".code." skip=".skip.": mod<".mod."> fg<".fg."> bg<".bg.">")
  1981. continue
  1982. elseif skip == 48 && code == 5
  1983. " handling <esc>[48;5
  1984. let skip= 485
  1985. " call Decho(" 3: building code=".code." skip=".skip.": mod<".mod."> fg<".fg."> bg<".bg.">")
  1986. continue
  1987. elseif skip == 485
  1988. " handling <esc>[48;5;...
  1989. if has("gui") && has("gui_running")
  1990. let bg= s:Ansi2Gui(code)
  1991. else
  1992. let bg= code
  1993. endif
  1994. let skip= 0
  1995. " call Decho(" 4: building code=".code." skip=".skip.": mod<".mod."> fg<".fg."> bg<".bg.">")
  1996. continue
  1997. else
  1998. let skip= 0
  1999. endif
  2000. " handle single-code sequences
  2001. if code == 1
  2002. let mod=mod."bold,"
  2003. elseif code == 2
  2004. let mod=mod."italic,"
  2005. elseif code == 3
  2006. let mod=mod."standout,"
  2007. elseif code == 4
  2008. let mod=mod."underline,"
  2009. elseif code == 5 || code == 6
  2010. let mod=mod."undercurl,"
  2011. elseif code == 7
  2012. let mod=mod."reverse,"
  2013. elseif code == 30
  2014. let fg= "black"
  2015. elseif code == 31
  2016. let fg= "red"
  2017. elseif code == 32
  2018. let fg= "green"
  2019. elseif code == 33
  2020. let fg= "yellow"
  2021. elseif code == 34
  2022. let fg= "blue"
  2023. elseif code == 35
  2024. let fg= "magenta"
  2025. elseif code == 36
  2026. let fg= "cyan"
  2027. elseif code == 37
  2028. let fg= "white"
  2029. elseif code == 40
  2030. let bg= "black"
  2031. elseif code == 41
  2032. let bg= "red"
  2033. elseif code == 42
  2034. let bg= "green"
  2035. elseif code == 43
  2036. let bg= "yellow"
  2037. elseif code == 44
  2038. let bg= "blue"
  2039. elseif code == 45
  2040. let bg= "magenta"
  2041. elseif code == 46
  2042. let bg= "cyan"
  2043. elseif code == 47
  2044. let bg= "white"
  2045. elseif code == 38
  2046. let skip= 38
  2047. elseif code == 48
  2048. let skip= 48
  2049. endif
  2050. " call Decho(" 5: building code=".code." skip=".skip.": mod<".mod."> fg<".fg."> bg<".bg.">")
  2051. endfor
  2052. " fixups
  2053. let mod= substitute(mod,',$','','')
  2054. " build syntax-recognition rule
  2055. let mehcnt = mehcnt + 1
  2056. let synrule = "syn region ansiMEH".mehcnt
  2057. let synrule = synrule.' start="\e\['.ansiesc.'"'
  2058. let synrule = synrule.' end="\e\["me=e-2'
  2059. let synrule = synrule." contains=ansiConceal"
  2060. " call Decho(" exe synrule: ".synrule)
  2061. exe synrule
  2062. " build highlighting rule
  2063. let hirule= "hi ansiMEH".mehcnt
  2064. if has("gui") && has("gui_running")
  2065. let hirule=hirule." gui=".mod
  2066. if fg != ""| let hirule=hirule." guifg=".fg| endif
  2067. if bg != ""| let hirule=hirule." guibg=".bg| endif
  2068. else
  2069. let hirule=hirule." cterm=".mod
  2070. if fg != ""| let hirule=hirule." ctermfg=".fg| endif
  2071. if bg != ""| let hirule=hirule." ctermbg=".bg| endif
  2072. endif
  2073. " call Decho(" exe hirule: ".hirule)
  2074. exe hirule
  2075. endif
  2076. endwhile
  2077. call RestoreWinPosn(curwp)
  2078. " call Dret("s:MultiElementHandler")
  2079. endfun
  2080. " ---------------------------------------------------------------------
  2081. " s:Ansi2Gui: converts an ansi-escape sequence (for 256-color xterms) {{{2
  2082. " to an equivalent gui color
  2083. " colors 0- 15:
  2084. " colors 16-231: 6x6x6 color cube, code= 16+r*36+g*6+b with r,g,b each in [0,5]
  2085. " colors 232-255: grayscale ramp, code= 10*gray + 8 with gray in [0,23] (black,white left out)
  2086. fun! s:Ansi2Gui(code)
  2087. " call Dfunc("s:Ansi2Gui(code=)".a:code)
  2088. let guicolor= a:code
  2089. if a:code < 16
  2090. let code2rgb = [ "black", "red3", "green3", "yellow3", "blue3", "magenta3", "cyan3", "gray70", "gray40", "red", "green", "yellow", "royalblue3", "magenta", "cyan", "white"]
  2091. let guicolor = code2rgb[a:code]
  2092. elseif a:code >= 232
  2093. let code = a:code - 232
  2094. let code = 10*code + 8
  2095. let guicolor = printf("#%02x%02x%02x",code,code,code)
  2096. else
  2097. let code = a:code - 16
  2098. let code2rgb = [43,85,128,170,213,255]
  2099. let r = code2rgb[code/36]
  2100. let g = code2rgb[(code%36)/6]
  2101. let b = code2rgb[code%6]
  2102. let guicolor = printf("#%02x%02x%02x",r,g,b)
  2103. endif
  2104. " call Dret("s:Ansi2Gui ".guicolor)
  2105. return guicolor
  2106. endfun
  2107. " ---------------------------------------------------------------------
  2108. " Restore: {{{1
  2109. let &cpo= s:keepcpo
  2110. unlet s:keepcpo
  2111. " ---------------------------------------------------------------------
  2112. " Modelines: {{{1
  2113. " vim: ts=12 fdm=marker