gruvbox-material.vim 134 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047
  1. " -----------------------------------------------------------------------------
  2. " Name: Gruvbox Material
  3. " Description: Gruvbox with Material Palette
  4. " Author: sainnhe <i@sainnhe.dev>
  5. " Website: https://github.com/sainnhe/gruvbox-material
  6. " License: MIT
  7. " -----------------------------------------------------------------------------
  8. " Initialization: {{{
  9. let s:configuration = gruvbox_material#get_configuration()
  10. let s:palette = gruvbox_material#get_palette(s:configuration.background, s:configuration.foreground, s:configuration.colors_override)
  11. let s:path = expand('<sfile>:p') " the path of this script
  12. let s:last_modified = 'Sat Mar 23 12:22:51 PM UTC 2024'
  13. let g:gruvbox_material_loaded_file_types = []
  14. if !(exists('g:colors_name') && g:colors_name ==# 'gruvbox-material' && s:configuration.better_performance)
  15. highlight clear
  16. if exists('syntax_on')
  17. syntax reset
  18. endif
  19. endif
  20. let g:colors_name = 'gruvbox-material'
  21. if !(has('termguicolors') && &termguicolors) && !has('gui_running') && &t_Co != 256
  22. finish
  23. endif
  24. " }}}
  25. " Common Highlight Groups: {{{
  26. " UI: {{{
  27. if s:configuration.transparent_background >= 1
  28. call gruvbox_material#highlight('Normal', s:palette.fg0, s:palette.none)
  29. call gruvbox_material#highlight('NormalNC', s:palette.fg0, s:palette.none)
  30. call gruvbox_material#highlight('Terminal', s:palette.fg0, s:palette.none)
  31. if s:configuration.show_eob
  32. call gruvbox_material#highlight('EndOfBuffer', s:palette.bg5, s:palette.none)
  33. else
  34. call gruvbox_material#highlight('EndOfBuffer', s:palette.bg0, s:palette.none)
  35. endif
  36. if s:configuration.ui_contrast ==# 'low'
  37. call gruvbox_material#highlight('FoldColumn', s:palette.bg5, s:palette.none)
  38. else
  39. call gruvbox_material#highlight('FoldColumn', s:palette.grey0, s:palette.none)
  40. endif
  41. call gruvbox_material#highlight('Folded', s:palette.grey1, s:palette.none)
  42. call gruvbox_material#highlight('SignColumn', s:palette.fg0, s:palette.none)
  43. call gruvbox_material#highlight('ToolbarLine', s:palette.fg0, s:palette.none)
  44. else
  45. call gruvbox_material#highlight('Normal', s:palette.fg0, s:palette.bg0)
  46. if s:configuration.dim_inactive_windows
  47. call gruvbox_material#highlight('NormalNC', s:palette.fg0, s:palette.bg_dim)
  48. else
  49. call gruvbox_material#highlight('NormalNC', s:palette.fg0, s:palette.bg0)
  50. endif
  51. call gruvbox_material#highlight('Terminal', s:palette.fg0, s:palette.bg0)
  52. if s:configuration.show_eob
  53. call gruvbox_material#highlight('EndOfBuffer', s:palette.bg5, s:palette.none)
  54. else
  55. call gruvbox_material#highlight('EndOfBuffer', s:palette.bg0, s:palette.none)
  56. endif
  57. call gruvbox_material#highlight('Folded', s:palette.grey1, s:palette.bg2)
  58. call gruvbox_material#highlight('ToolbarLine', s:palette.fg1, s:palette.bg3)
  59. if s:configuration.sign_column_background ==# 'grey'
  60. call gruvbox_material#highlight('SignColumn', s:palette.fg0, s:palette.bg2)
  61. call gruvbox_material#highlight('FoldColumn', s:palette.grey1, s:palette.bg2)
  62. else
  63. call gruvbox_material#highlight('SignColumn', s:palette.fg0, s:palette.none)
  64. if s:configuration.ui_contrast ==# 'low'
  65. call gruvbox_material#highlight('FoldColumn', s:palette.bg5, s:palette.none)
  66. else
  67. call gruvbox_material#highlight('FoldColumn', s:palette.grey0, s:palette.none)
  68. endif
  69. endif
  70. endif
  71. call gruvbox_material#highlight('IncSearch', s:palette.bg0, s:palette.bg_red)
  72. call gruvbox_material#highlight('Search', s:palette.bg0, s:palette.bg_green)
  73. highlight! link CurSearch IncSearch
  74. call gruvbox_material#highlight('ColorColumn', s:palette.none, s:palette.bg2)
  75. if s:configuration.ui_contrast ==# 'low'
  76. call gruvbox_material#highlight('Conceal', s:palette.bg5, s:palette.none)
  77. else
  78. call gruvbox_material#highlight('Conceal', s:palette.grey0, s:palette.none)
  79. endif
  80. if s:configuration.cursor ==# 'auto'
  81. call gruvbox_material#highlight('Cursor', s:palette.none, s:palette.none, 'reverse')
  82. else
  83. call gruvbox_material#highlight('Cursor', s:palette.bg0, s:palette[s:configuration.cursor])
  84. endif
  85. highlight! link vCursor Cursor
  86. highlight! link iCursor Cursor
  87. highlight! link lCursor Cursor
  88. highlight! link CursorIM Cursor
  89. if &diff
  90. call gruvbox_material#highlight('CursorLine', s:palette.none, s:palette.none, 'underline')
  91. call gruvbox_material#highlight('CursorColumn', s:palette.none, s:palette.none, 'bold')
  92. else
  93. call gruvbox_material#highlight('CursorLine', s:palette.none, s:palette.bg1)
  94. call gruvbox_material#highlight('CursorColumn', s:palette.none, s:palette.bg1)
  95. endif
  96. call gruvbox_material#highlight('LineNr', s:palette.bg5, s:palette.none)
  97. if &diff
  98. call gruvbox_material#highlight('CursorLineNr', s:palette.grey1, s:palette.none, 'underline')
  99. elseif (&relativenumber == 1 && &cursorline == 0) || s:configuration.sign_column_background ==# 'none'
  100. call gruvbox_material#highlight('CursorLineNr', s:palette.grey1, s:palette.none)
  101. else
  102. call gruvbox_material#highlight('CursorLineNr', s:palette.grey1, s:palette.bg1)
  103. endif
  104. call gruvbox_material#highlight('DiffAdd', s:palette.none, s:palette.bg_diff_green)
  105. call gruvbox_material#highlight('DiffChange', s:palette.none, s:palette.bg_diff_blue)
  106. call gruvbox_material#highlight('DiffDelete', s:palette.none, s:palette.bg_diff_red)
  107. call gruvbox_material#highlight('DiffText', s:palette.bg0, s:palette.blue)
  108. call gruvbox_material#highlight('Directory', s:palette.green, s:palette.none)
  109. call gruvbox_material#highlight('ErrorMsg', s:palette.red, s:palette.none, 'bold,underline')
  110. if s:configuration.ui_contrast ==# 'low'
  111. call gruvbox_material#highlight('LineNr', s:palette.bg5, s:palette.none)
  112. if &diff
  113. call gruvbox_material#highlight('CursorLineNr', s:palette.grey1, s:palette.none, 'underline')
  114. elseif (&relativenumber == 1 && &cursorline == 0) || s:configuration.sign_column_background ==# 'none'
  115. call gruvbox_material#highlight('CursorLineNr', s:palette.grey1, s:palette.none)
  116. else
  117. call gruvbox_material#highlight('CursorLineNr', s:palette.grey1, s:palette.bg1)
  118. endif
  119. else
  120. call gruvbox_material#highlight('LineNr', s:palette.grey0, s:palette.none)
  121. if &diff
  122. call gruvbox_material#highlight('CursorLineNr', s:palette.grey2, s:palette.none, 'underline')
  123. elseif (&relativenumber == 1 && &cursorline == 0) || s:configuration.sign_column_background ==# 'none'
  124. call gruvbox_material#highlight('CursorLineNr', s:palette.grey2, s:palette.none)
  125. else
  126. call gruvbox_material#highlight('CursorLineNr', s:palette.grey2, s:palette.bg1)
  127. endif
  128. endif
  129. call gruvbox_material#highlight('WarningMsg', s:palette.yellow, s:palette.none, 'bold')
  130. call gruvbox_material#highlight('ModeMsg', s:palette.fg0, s:palette.none, 'bold')
  131. call gruvbox_material#highlight('MoreMsg', s:palette.yellow, s:palette.none, 'bold')
  132. call gruvbox_material#highlight('MatchParen', s:palette.none, s:palette.bg4)
  133. call gruvbox_material#highlight('NonText', s:palette.bg5, s:palette.none)
  134. call gruvbox_material#highlight('Whitespace', s:palette.bg5, s:palette.none)
  135. call gruvbox_material#highlight('SpecialKey', s:palette.bg5, s:palette.none)
  136. call gruvbox_material#highlight('Pmenu', s:palette.fg1, s:palette.bg3)
  137. call gruvbox_material#highlight('PmenuSbar', s:palette.none, s:palette.bg3)
  138. if s:configuration.menu_selection_background ==# 'grey'
  139. call gruvbox_material#highlight('PmenuSel', s:palette.bg3, s:palette.grey2)
  140. elseif s:configuration.menu_selection_background ==# 'green'
  141. call gruvbox_material#highlight('PmenuSel', s:palette.bg3, s:palette.bg_green)
  142. elseif s:configuration.menu_selection_background ==# 'red'
  143. call gruvbox_material#highlight('PmenuSel', s:palette.bg3, s:palette.bg_red)
  144. else
  145. call gruvbox_material#highlight('PmenuSel', s:palette.bg3, s:palette[s:configuration.menu_selection_background])
  146. endif
  147. call gruvbox_material#highlight('PmenuKind', s:palette.green, s:palette.bg3)
  148. call gruvbox_material#highlight('PmenuExtra', s:palette.grey2, s:palette.bg3)
  149. highlight! link WildMenu PmenuSel
  150. call gruvbox_material#highlight('PmenuThumb', s:palette.none, s:palette.grey0)
  151. if s:configuration.float_style ==# 'dim'
  152. call gruvbox_material#highlight('NormalFloat', s:palette.fg1, s:palette.bg_dim)
  153. call gruvbox_material#highlight('FloatBorder', s:palette.grey1, s:palette.bg_dim)
  154. call gruvbox_material#highlight('FloatTitle', s:palette.orange, s:palette.bg_dim, 'bold')
  155. else
  156. call gruvbox_material#highlight('NormalFloat', s:palette.fg1, s:palette.bg3)
  157. call gruvbox_material#highlight('FloatBorder', s:palette.grey1, s:palette.bg3)
  158. call gruvbox_material#highlight('FloatTitle', s:palette.orange, s:palette.bg3, 'bold')
  159. endif
  160. call gruvbox_material#highlight('Question', s:palette.yellow, s:palette.none)
  161. if s:configuration.spell_foreground ==# 'none'
  162. call gruvbox_material#highlight('SpellBad', s:palette.none, s:palette.none, 'undercurl', s:palette.red)
  163. call gruvbox_material#highlight('SpellCap', s:palette.none, s:palette.none, 'undercurl', s:palette.blue)
  164. call gruvbox_material#highlight('SpellLocal', s:palette.none, s:palette.none, 'undercurl', s:palette.aqua)
  165. call gruvbox_material#highlight('SpellRare', s:palette.none, s:palette.none, 'undercurl', s:palette.purple)
  166. else
  167. call gruvbox_material#highlight('SpellBad', s:palette.red, s:palette.none, 'undercurl', s:palette.red)
  168. call gruvbox_material#highlight('SpellCap', s:palette.blue, s:palette.none, 'undercurl', s:palette.blue)
  169. call gruvbox_material#highlight('SpellLocal', s:palette.aqua, s:palette.none, 'undercurl', s:palette.aqua)
  170. call gruvbox_material#highlight('SpellRare', s:palette.purple, s:palette.none, 'undercurl', s:palette.purple)
  171. endif
  172. if s:configuration.transparent_background == 2
  173. if s:configuration.statusline_style ==# 'original'
  174. call gruvbox_material#highlight('StatusLine', s:palette.grey2, s:palette.none)
  175. call gruvbox_material#highlight('StatusLineTerm', s:palette.grey2, s:palette.none)
  176. call gruvbox_material#highlight('StatusLineNC', s:palette.grey1, s:palette.none)
  177. call gruvbox_material#highlight('StatusLineTermNC', s:palette.grey1, s:palette.none)
  178. call gruvbox_material#highlight('TabLine', s:palette.grey2, s:palette.bg_statusline2)
  179. call gruvbox_material#highlight('TabLineFill', s:palette.grey2, s:palette.none)
  180. call gruvbox_material#highlight('TabLineSel', s:palette.bg0, s:palette.grey2)
  181. elseif s:configuration.statusline_style ==# 'mix'
  182. call gruvbox_material#highlight('StatusLine', s:palette.grey2, s:palette.none)
  183. call gruvbox_material#highlight('StatusLineTerm', s:palette.grey2, s:palette.none)
  184. call gruvbox_material#highlight('StatusLineNC', s:palette.grey1, s:palette.none)
  185. call gruvbox_material#highlight('StatusLineTermNC', s:palette.grey1, s:palette.none)
  186. call gruvbox_material#highlight('TabLine', s:palette.grey2, s:palette.bg_statusline3)
  187. call gruvbox_material#highlight('TabLineFill', s:palette.grey2, s:palette.none)
  188. call gruvbox_material#highlight('TabLineSel', s:palette.bg0, s:palette.grey2)
  189. else
  190. call gruvbox_material#highlight('StatusLine', s:palette.fg1, s:palette.none)
  191. call gruvbox_material#highlight('StatusLineTerm', s:palette.fg1, s:palette.none)
  192. call gruvbox_material#highlight('StatusLineNC', s:palette.grey1, s:palette.none)
  193. call gruvbox_material#highlight('StatusLineTermNC', s:palette.grey1, s:palette.none)
  194. call gruvbox_material#highlight('TabLine', s:palette.fg1, s:palette.bg_statusline3)
  195. call gruvbox_material#highlight('TabLineFill', s:palette.fg1, s:palette.none)
  196. call gruvbox_material#highlight('TabLineSel', s:palette.bg0, s:palette.grey2)
  197. endif
  198. else
  199. if s:configuration.statusline_style ==# 'original'
  200. call gruvbox_material#highlight('StatusLine', s:palette.grey2, s:palette.bg_statusline2)
  201. call gruvbox_material#highlight('StatusLineTerm', s:palette.grey2, s:palette.bg_statusline2)
  202. call gruvbox_material#highlight('StatusLineNC', s:palette.grey1, s:palette.bg_statusline1)
  203. call gruvbox_material#highlight('StatusLineTermNC', s:palette.grey1, s:palette.bg_statusline1)
  204. call gruvbox_material#highlight('TabLine', s:palette.grey2, s:palette.bg_statusline2)
  205. call gruvbox_material#highlight('TabLineFill', s:palette.grey2, s:palette.bg0)
  206. call gruvbox_material#highlight('TabLineSel', s:palette.bg0, s:palette.grey2)
  207. elseif s:configuration.statusline_style ==# 'mix'
  208. call gruvbox_material#highlight('StatusLine', s:palette.grey2, s:palette.bg_statusline2)
  209. call gruvbox_material#highlight('StatusLineTerm', s:palette.grey2, s:palette.bg_statusline2)
  210. call gruvbox_material#highlight('StatusLineNC', s:palette.grey1, s:palette.bg_statusline1)
  211. call gruvbox_material#highlight('StatusLineTermNC', s:palette.grey1, s:palette.bg_statusline1)
  212. call gruvbox_material#highlight('TabLine', s:palette.grey2, s:palette.bg_statusline3)
  213. call gruvbox_material#highlight('TabLineFill', s:palette.grey2, s:palette.bg_statusline2)
  214. call gruvbox_material#highlight('TabLineSel', s:palette.bg0, s:palette.grey2)
  215. else
  216. call gruvbox_material#highlight('StatusLine', s:palette.fg1, s:palette.bg_statusline1)
  217. call gruvbox_material#highlight('StatusLineTerm', s:palette.fg1, s:palette.bg_statusline1)
  218. call gruvbox_material#highlight('StatusLineNC', s:palette.grey1, s:palette.bg_statusline1)
  219. call gruvbox_material#highlight('StatusLineTermNC', s:palette.grey1, s:palette.bg_statusline1)
  220. call gruvbox_material#highlight('TabLine', s:palette.fg1, s:palette.bg_statusline3)
  221. call gruvbox_material#highlight('TabLineFill', s:palette.fg1, s:palette.bg_statusline1)
  222. call gruvbox_material#highlight('TabLineSel', s:palette.bg0, s:palette.grey2)
  223. endif
  224. endif
  225. if s:configuration.dim_inactive_windows
  226. call gruvbox_material#highlight('VertSplit', s:palette.bg4, s:palette.bg_dim)
  227. else
  228. call gruvbox_material#highlight('VertSplit', s:palette.bg5, s:palette.none)
  229. endif
  230. highlight! link WinSeparator VertSplit
  231. if s:configuration.visual ==# 'grey background'
  232. call gruvbox_material#highlight('Visual', s:palette.none, s:palette.bg3)
  233. call gruvbox_material#highlight('VisualNOS', s:palette.none, s:palette.bg3)
  234. elseif s:configuration.visual ==# 'green background'
  235. call gruvbox_material#highlight('Visual', s:palette.none, s:palette.bg_visual_green)
  236. call gruvbox_material#highlight('VisualNOS', s:palette.none, s:palette.bg_visual_green)
  237. elseif s:configuration.visual ==# 'blue background'
  238. call gruvbox_material#highlight('Visual', s:palette.none, s:palette.bg_visual_blue)
  239. call gruvbox_material#highlight('VisualNOS', s:palette.none, s:palette.bg_visual_blue)
  240. elseif s:configuration.visual ==# 'red background'
  241. call gruvbox_material#highlight('Visual', s:palette.none, s:palette.bg_visual_red)
  242. call gruvbox_material#highlight('VisualNOS', s:palette.none, s:palette.bg_visual_red)
  243. elseif s:configuration.visual ==# 'reverse'
  244. call gruvbox_material#highlight('Visual', s:palette.none, s:palette.none, 'reverse')
  245. call gruvbox_material#highlight('VisualNOS', s:palette.none, s:palette.none, 'reverse')
  246. endif
  247. call gruvbox_material#highlight('QuickFixLine', s:palette.purple, s:palette.none, 'bold')
  248. call gruvbox_material#highlight('Debug', s:palette.orange, s:palette.none)
  249. call gruvbox_material#highlight('debugPC', s:palette.bg0, s:palette.green)
  250. call gruvbox_material#highlight('debugBreakpoint', s:palette.bg0, s:palette.red)
  251. call gruvbox_material#highlight('ToolbarButton', s:palette.bg0, s:palette.grey2)
  252. if has('nvim')
  253. call gruvbox_material#highlight('Substitute', s:palette.bg0, s:palette.yellow)
  254. highlight! link WinBarNC Grey
  255. highlight! link DiagnosticFloatingError ErrorFloat
  256. highlight! link DiagnosticFloatingWarn WarningFloat
  257. highlight! link DiagnosticFloatingInfo InfoFloat
  258. highlight! link DiagnosticFloatingHint HintFloat
  259. highlight! link DiagnosticError ErrorText
  260. highlight! link DiagnosticWarn WarningText
  261. highlight! link DiagnosticInfo InfoText
  262. highlight! link DiagnosticHint HintText
  263. highlight! link DiagnosticVirtualTextError VirtualTextError
  264. highlight! link DiagnosticVirtualTextWarn VirtualTextWarning
  265. highlight! link DiagnosticVirtualTextInfo VirtualTextInfo
  266. highlight! link DiagnosticVirtualTextHint VirtualTextHint
  267. highlight! link DiagnosticUnderlineError ErrorText
  268. highlight! link DiagnosticUnderlineWarn WarningText
  269. highlight! link DiagnosticUnderlineInfo InfoText
  270. highlight! link DiagnosticUnderlineHint HintText
  271. highlight! link DiagnosticSignError RedSign
  272. highlight! link DiagnosticSignWarn YellowSign
  273. highlight! link DiagnosticSignInfo BlueSign
  274. highlight! link DiagnosticSignHint GreenSign
  275. highlight! link LspDiagnosticsFloatingError DiagnosticFloatingError
  276. highlight! link LspDiagnosticsFloatingWarning DiagnosticFloatingWarn
  277. highlight! link LspDiagnosticsFloatingInformation DiagnosticFloatingInfo
  278. highlight! link LspDiagnosticsFloatingHint DiagnosticFloatingHint
  279. highlight! link LspDiagnosticsDefaultError DiagnosticError
  280. highlight! link LspDiagnosticsDefaultWarning DiagnosticWarn
  281. highlight! link LspDiagnosticsDefaultInformation DiagnosticInfo
  282. highlight! link LspDiagnosticsDefaultHint DiagnosticHint
  283. highlight! link LspDiagnosticsVirtualTextError DiagnosticVirtualTextError
  284. highlight! link LspDiagnosticsVirtualTextWarning DiagnosticVirtualTextWarn
  285. highlight! link LspDiagnosticsVirtualTextInformation DiagnosticVirtualTextInfo
  286. highlight! link LspDiagnosticsVirtualTextHint DiagnosticVirtualTextHint
  287. highlight! link LspDiagnosticsUnderlineError DiagnosticUnderlineError
  288. highlight! link LspDiagnosticsUnderlineWarning DiagnosticUnderlineWarn
  289. highlight! link LspDiagnosticsUnderlineInformation DiagnosticUnderlineInfo
  290. highlight! link LspDiagnosticsUnderlineHint DiagnosticUnderlineHint
  291. highlight! link LspDiagnosticsSignError DiagnosticSignError
  292. highlight! link LspDiagnosticsSignWarning DiagnosticSignWarn
  293. highlight! link LspDiagnosticsSignInformation DiagnosticSignInfo
  294. highlight! link LspDiagnosticsSignHint DiagnosticSignHint
  295. highlight! link LspReferenceText CurrentWord
  296. highlight! link LspReferenceRead CurrentWord
  297. highlight! link LspReferenceWrite CurrentWord
  298. highlight! link LspCodeLens VirtualTextInfo
  299. highlight! link LspCodeLensSeparator VirtualTextHint
  300. highlight! link LspSignatureActiveParameter Search
  301. highlight! link TermCursor Cursor
  302. highlight! link healthError Red
  303. highlight! link healthSuccess Green
  304. highlight! link healthWarning Yellow
  305. endif
  306. " }}}
  307. " Syntax: {{{
  308. call gruvbox_material#highlight('Boolean', s:palette.purple, s:palette.none)
  309. call gruvbox_material#highlight('Number', s:palette.purple, s:palette.none)
  310. call gruvbox_material#highlight('Float', s:palette.purple, s:palette.none)
  311. if s:configuration.enable_italic
  312. call gruvbox_material#highlight('PreProc', s:palette.purple, s:palette.none, 'italic')
  313. call gruvbox_material#highlight('PreCondit', s:palette.purple, s:palette.none, 'italic')
  314. call gruvbox_material#highlight('Include', s:palette.purple, s:palette.none, 'italic')
  315. call gruvbox_material#highlight('Define', s:palette.purple, s:palette.none, 'italic')
  316. call gruvbox_material#highlight('Conditional', s:palette.red, s:palette.none, 'italic')
  317. call gruvbox_material#highlight('Repeat', s:palette.red, s:palette.none, 'italic')
  318. call gruvbox_material#highlight('Keyword', s:palette.red, s:palette.none, 'italic')
  319. call gruvbox_material#highlight('Typedef', s:palette.red, s:palette.none, 'italic')
  320. call gruvbox_material#highlight('Exception', s:palette.red, s:palette.none, 'italic')
  321. call gruvbox_material#highlight('Statement', s:palette.red, s:palette.none, 'italic')
  322. else
  323. call gruvbox_material#highlight('PreProc', s:palette.purple, s:palette.none)
  324. call gruvbox_material#highlight('PreCondit', s:palette.purple, s:palette.none)
  325. call gruvbox_material#highlight('Include', s:palette.purple, s:palette.none)
  326. call gruvbox_material#highlight('Define', s:palette.purple, s:palette.none)
  327. call gruvbox_material#highlight('Conditional', s:palette.red, s:palette.none)
  328. call gruvbox_material#highlight('Repeat', s:palette.red, s:palette.none)
  329. call gruvbox_material#highlight('Keyword', s:palette.red, s:palette.none)
  330. call gruvbox_material#highlight('Typedef', s:palette.red, s:palette.none)
  331. call gruvbox_material#highlight('Exception', s:palette.red, s:palette.none)
  332. call gruvbox_material#highlight('Statement', s:palette.red, s:palette.none)
  333. endif
  334. call gruvbox_material#highlight('Error', s:palette.red, s:palette.none)
  335. call gruvbox_material#highlight('StorageClass', s:palette.orange, s:palette.none)
  336. call gruvbox_material#highlight('Tag', s:palette.orange, s:palette.none)
  337. call gruvbox_material#highlight('Label', s:palette.orange, s:palette.none)
  338. call gruvbox_material#highlight('Structure', s:palette.orange, s:palette.none)
  339. call gruvbox_material#highlight('Operator', s:palette.orange, s:palette.none)
  340. call gruvbox_material#highlight('Title', s:palette.orange, s:palette.none, 'bold')
  341. call gruvbox_material#highlight('Special', s:palette.yellow, s:palette.none)
  342. call gruvbox_material#highlight('SpecialChar', s:palette.yellow, s:palette.none)
  343. call gruvbox_material#highlight('Type', s:palette.yellow, s:palette.none)
  344. if s:configuration.enable_bold
  345. call gruvbox_material#highlight('Function', s:palette.green, s:palette.none, 'bold')
  346. else
  347. call gruvbox_material#highlight('Function', s:palette.green, s:palette.none)
  348. endif
  349. call gruvbox_material#highlight('String', s:palette.green, s:palette.none)
  350. call gruvbox_material#highlight('Character', s:palette.green, s:palette.none)
  351. call gruvbox_material#highlight('Constant', s:palette.aqua, s:palette.none)
  352. call gruvbox_material#highlight('Macro', s:palette.aqua, s:palette.none)
  353. call gruvbox_material#highlight('Identifier', s:palette.blue, s:palette.none)
  354. call gruvbox_material#highlight('Todo', s:palette.bg0, s:palette.blue, 'bold')
  355. if s:configuration.disable_italic_comment
  356. call gruvbox_material#highlight('Comment', s:palette.grey1, s:palette.none)
  357. call gruvbox_material#highlight('SpecialComment', s:palette.grey1, s:palette.none)
  358. else
  359. call gruvbox_material#highlight('Comment', s:palette.grey1, s:palette.none, 'italic')
  360. call gruvbox_material#highlight('SpecialComment', s:palette.grey1, s:palette.none, 'italic')
  361. endif
  362. call gruvbox_material#highlight('Delimiter', s:palette.fg0, s:palette.none)
  363. call gruvbox_material#highlight('Ignore', s:palette.grey1, s:palette.none)
  364. call gruvbox_material#highlight('Underlined', s:palette.none, s:palette.none, 'underline')
  365. " }}}
  366. " Predefined Highlight Groups: {{{
  367. call gruvbox_material#highlight('Fg', s:palette.fg0, s:palette.none)
  368. call gruvbox_material#highlight('Grey', s:palette.grey1, s:palette.none)
  369. call gruvbox_material#highlight('Red', s:palette.red, s:palette.none)
  370. call gruvbox_material#highlight('Orange', s:palette.orange, s:palette.none)
  371. call gruvbox_material#highlight('Yellow', s:palette.yellow, s:palette.none)
  372. call gruvbox_material#highlight('Green', s:palette.green, s:palette.none)
  373. call gruvbox_material#highlight('Aqua', s:palette.aqua, s:palette.none)
  374. call gruvbox_material#highlight('Blue', s:palette.blue, s:palette.none)
  375. call gruvbox_material#highlight('Purple', s:palette.purple, s:palette.none)
  376. if s:configuration.enable_italic
  377. call gruvbox_material#highlight('RedItalic', s:palette.red, s:palette.none, 'italic')
  378. call gruvbox_material#highlight('OrangeItalic', s:palette.orange, s:palette.none, 'italic')
  379. call gruvbox_material#highlight('YellowItalic', s:palette.yellow, s:palette.none, 'italic')
  380. call gruvbox_material#highlight('GreenItalic', s:palette.green, s:palette.none, 'italic')
  381. call gruvbox_material#highlight('AquaItalic', s:palette.aqua, s:palette.none, 'italic')
  382. call gruvbox_material#highlight('BlueItalic', s:palette.blue, s:palette.none, 'italic')
  383. call gruvbox_material#highlight('PurpleItalic', s:palette.purple, s:palette.none, 'italic')
  384. else
  385. call gruvbox_material#highlight('RedItalic', s:palette.red, s:palette.none)
  386. call gruvbox_material#highlight('OrangeItalic', s:palette.orange, s:palette.none)
  387. call gruvbox_material#highlight('YellowItalic', s:palette.yellow, s:palette.none)
  388. call gruvbox_material#highlight('GreenItalic', s:palette.green, s:palette.none)
  389. call gruvbox_material#highlight('AquaItalic', s:palette.aqua, s:palette.none)
  390. call gruvbox_material#highlight('BlueItalic', s:palette.blue, s:palette.none)
  391. call gruvbox_material#highlight('PurpleItalic', s:palette.purple, s:palette.none)
  392. endif
  393. if s:configuration.enable_bold
  394. call gruvbox_material#highlight('RedBold', s:palette.red, s:palette.none, 'bold')
  395. call gruvbox_material#highlight('OrangeBold', s:palette.orange, s:palette.none, 'bold')
  396. call gruvbox_material#highlight('YellowBold', s:palette.yellow, s:palette.none, 'bold')
  397. call gruvbox_material#highlight('GreenBold', s:palette.green, s:palette.none, 'bold')
  398. call gruvbox_material#highlight('AquaBold', s:palette.aqua, s:palette.none, 'bold')
  399. call gruvbox_material#highlight('BlueBold', s:palette.blue, s:palette.none, 'bold')
  400. call gruvbox_material#highlight('PurpleBold', s:palette.purple, s:palette.none, 'bold')
  401. else
  402. call gruvbox_material#highlight('RedBold', s:palette.red, s:palette.none)
  403. call gruvbox_material#highlight('OrangeBold', s:palette.orange, s:palette.none)
  404. call gruvbox_material#highlight('YellowBold', s:palette.yellow, s:palette.none)
  405. call gruvbox_material#highlight('GreenBold', s:palette.green, s:palette.none)
  406. call gruvbox_material#highlight('AquaBold', s:palette.aqua, s:palette.none)
  407. call gruvbox_material#highlight('BlueBold', s:palette.blue, s:palette.none)
  408. call gruvbox_material#highlight('PurpleBold', s:palette.purple, s:palette.none)
  409. endif
  410. if s:configuration.transparent_background || s:configuration.sign_column_background ==# 'none'
  411. call gruvbox_material#highlight('RedSign', s:palette.red, s:palette.none)
  412. call gruvbox_material#highlight('OrangeSign', s:palette.orange, s:palette.none)
  413. call gruvbox_material#highlight('YellowSign', s:palette.yellow, s:palette.none)
  414. call gruvbox_material#highlight('GreenSign', s:palette.green, s:palette.none)
  415. call gruvbox_material#highlight('AquaSign', s:palette.aqua, s:palette.none)
  416. call gruvbox_material#highlight('BlueSign', s:palette.blue, s:palette.none)
  417. call gruvbox_material#highlight('PurpleSign', s:palette.purple, s:palette.none)
  418. else
  419. call gruvbox_material#highlight('RedSign', s:palette.red, s:palette.bg2)
  420. call gruvbox_material#highlight('OrangeSign', s:palette.orange, s:palette.bg2)
  421. call gruvbox_material#highlight('YellowSign', s:palette.yellow, s:palette.bg2)
  422. call gruvbox_material#highlight('GreenSign', s:palette.green, s:palette.bg2)
  423. call gruvbox_material#highlight('AquaSign', s:palette.aqua, s:palette.bg2)
  424. call gruvbox_material#highlight('BlueSign', s:palette.blue, s:palette.bg2)
  425. call gruvbox_material#highlight('PurpleSign', s:palette.purple, s:palette.bg2)
  426. endif
  427. if s:configuration.diagnostic_text_highlight
  428. call gruvbox_material#highlight('ErrorText', s:palette.none, s:palette.bg_visual_red, 'undercurl', s:palette.red)
  429. call gruvbox_material#highlight('WarningText', s:palette.none, s:palette.bg_visual_yellow, 'undercurl', s:palette.yellow)
  430. call gruvbox_material#highlight('InfoText', s:palette.none, s:palette.bg_visual_blue, 'undercurl', s:palette.blue)
  431. call gruvbox_material#highlight('HintText', s:palette.none, s:palette.bg_visual_green, 'undercurl', s:palette.green)
  432. else
  433. call gruvbox_material#highlight('ErrorText', s:palette.none, s:palette.none, 'undercurl', s:palette.red)
  434. call gruvbox_material#highlight('WarningText', s:palette.none, s:palette.none, 'undercurl', s:palette.yellow)
  435. call gruvbox_material#highlight('InfoText', s:palette.none, s:palette.none, 'undercurl', s:palette.blue)
  436. call gruvbox_material#highlight('HintText', s:palette.none, s:palette.none, 'undercurl', s:palette.green)
  437. endif
  438. if s:configuration.diagnostic_line_highlight
  439. call gruvbox_material#highlight('ErrorLine', s:palette.none, s:palette.bg_visual_red)
  440. call gruvbox_material#highlight('WarningLine', s:palette.none, s:palette.bg_visual_yellow)
  441. call gruvbox_material#highlight('InfoLine', s:palette.none, s:palette.bg_visual_blue)
  442. call gruvbox_material#highlight('HintLine', s:palette.none, s:palette.bg_visual_green)
  443. else
  444. highlight clear ErrorLine
  445. highlight clear WarningLine
  446. highlight clear InfoLine
  447. highlight clear HintLine
  448. endif
  449. if s:configuration.diagnostic_virtual_text ==# 'grey'
  450. highlight! link VirtualTextWarning Grey
  451. highlight! link VirtualTextError Grey
  452. highlight! link VirtualTextInfo Grey
  453. highlight! link VirtualTextHint Grey
  454. elseif s:configuration.diagnostic_virtual_text ==# 'colored'
  455. highlight! link VirtualTextWarning Yellow
  456. highlight! link VirtualTextError Red
  457. highlight! link VirtualTextInfo Blue
  458. highlight! link VirtualTextHint Green
  459. else
  460. call gruvbox_material#highlight('VirtualTextWarning', s:palette.yellow, s:palette.bg_visual_yellow)
  461. call gruvbox_material#highlight('VirtualTextError', s:palette.red, s:palette.bg_visual_red)
  462. call gruvbox_material#highlight('VirtualTextInfo', s:palette.blue, s:palette.bg_visual_blue)
  463. call gruvbox_material#highlight('VirtualTextHint', s:palette.green, s:palette.bg_visual_green)
  464. endif
  465. call gruvbox_material#highlight('ErrorFloat', s:palette.red, s:palette.none)
  466. call gruvbox_material#highlight('WarningFloat', s:palette.yellow, s:palette.none)
  467. call gruvbox_material#highlight('InfoFloat', s:palette.blue, s:palette.none)
  468. call gruvbox_material#highlight('HintFloat', s:palette.green, s:palette.none)
  469. if &diff
  470. call gruvbox_material#highlight('CurrentWord', s:palette.bg0, s:palette.bg_green)
  471. elseif s:configuration.current_word ==# 'grey background'
  472. call gruvbox_material#highlight('CurrentWord', s:palette.none, s:palette.bg_current_word)
  473. else
  474. call gruvbox_material#highlight('CurrentWord', s:palette.none, s:palette.none, s:configuration.current_word)
  475. endif
  476. " Define a color for each LSP item kind to create highlights for nvim-cmp, aerial.nvim, nvim-navic and coc.nvim
  477. let g:gruvbox_material_lsp_kind_color = [
  478. \ ["Array", "Aqua"],
  479. \ ["Boolean", "Aqua"],
  480. \ ["Class", "Red"],
  481. \ ["Color", "Aqua"],
  482. \ ["Constant", "Blue"],
  483. \ ["Constructor", "Green"],
  484. \ ["Default", "Aqua"],
  485. \ ["Enum", "Yellow"],
  486. \ ["EnumMember", "Purple"],
  487. \ ["Event", "Orange"],
  488. \ ["Field", "Green"],
  489. \ ["File", "Green"],
  490. \ ["Folder", "Aqua"],
  491. \ ["Function", "Green"],
  492. \ ["Interface", "Yellow"],
  493. \ ["Key", "Red"],
  494. \ ["Keyword", "Red"],
  495. \ ["Method", "Green"],
  496. \ ["Module", "Purple"],
  497. \ ["Namespace", "Purple"],
  498. \ ["Null", "Aqua"],
  499. \ ["Number", "Aqua"],
  500. \ ["Object", "Aqua"],
  501. \ ["Operator", "Orange"],
  502. \ ["Package", "Purple"],
  503. \ ["Property", "Blue"],
  504. \ ["Reference", "Aqua"],
  505. \ ["Snippet", "Aqua"],
  506. \ ["String", "Aqua"],
  507. \ ["Struct", "Yellow"],
  508. \ ["Text", "Fg"],
  509. \ ["TypeParameter", "Yellow"],
  510. \ ["Unit", "Purple"],
  511. \ ["Value", "Purple"],
  512. \ ["Variable", "Blue"],
  513. \ ]
  514. " }}}
  515. " }}}
  516. " Terminal: {{{
  517. if ((has('termguicolors') && &termguicolors) || has('gui_running')) && !s:configuration.disable_terminal_colors
  518. " Definition
  519. let s:terminal = {
  520. \ 'black': &background ==# 'dark' ? s:palette.bg5 : s:palette.fg0,
  521. \ 'red': s:palette.red,
  522. \ 'yellow': s:palette.yellow,
  523. \ 'green': s:palette.green,
  524. \ 'cyan': s:palette.aqua,
  525. \ 'blue': s:palette.blue,
  526. \ 'purple': s:palette.purple,
  527. \ 'white': &background ==# 'dark' ? s:palette.fg0 : s:palette.bg5,
  528. \ }
  529. " Implementation: {{{
  530. if !has('nvim')
  531. let g:terminal_ansi_colors = [s:terminal.black[0], s:terminal.red[0], s:terminal.green[0], s:terminal.yellow[0],
  532. \ s:terminal.blue[0], s:terminal.purple[0], s:terminal.cyan[0], s:terminal.white[0], s:terminal.black[0], s:terminal.red[0],
  533. \ s:terminal.green[0], s:terminal.yellow[0], s:terminal.blue[0], s:terminal.purple[0], s:terminal.cyan[0], s:terminal.white[0]]
  534. else
  535. let g:terminal_color_0 = s:terminal.black[0]
  536. let g:terminal_color_1 = s:terminal.red[0]
  537. let g:terminal_color_2 = s:terminal.green[0]
  538. let g:terminal_color_3 = s:terminal.yellow[0]
  539. let g:terminal_color_4 = s:terminal.blue[0]
  540. let g:terminal_color_5 = s:terminal.purple[0]
  541. let g:terminal_color_6 = s:terminal.cyan[0]
  542. let g:terminal_color_7 = s:terminal.white[0]
  543. let g:terminal_color_8 = s:terminal.black[0]
  544. let g:terminal_color_9 = s:terminal.red[0]
  545. let g:terminal_color_10 = s:terminal.green[0]
  546. let g:terminal_color_11 = s:terminal.yellow[0]
  547. let g:terminal_color_12 = s:terminal.blue[0]
  548. let g:terminal_color_13 = s:terminal.purple[0]
  549. let g:terminal_color_14 = s:terminal.cyan[0]
  550. let g:terminal_color_15 = s:terminal.white[0]
  551. endif
  552. " }}}
  553. endif
  554. " }}}
  555. " Plugins: {{{
  556. " nvim-treesitter/nvim-treesitter {{{
  557. call gruvbox_material#highlight('TSStrong', s:palette.none, s:palette.none, 'bold')
  558. call gruvbox_material#highlight('TSEmphasis', s:palette.none, s:palette.none, 'italic')
  559. call gruvbox_material#highlight('TSUnderline', s:palette.none, s:palette.none, 'underline')
  560. call gruvbox_material#highlight('TSNote', s:palette.bg0, s:palette.green, 'bold')
  561. call gruvbox_material#highlight('TSWarning', s:palette.bg0, s:palette.yellow, 'bold')
  562. call gruvbox_material#highlight('TSDanger', s:palette.bg0, s:palette.red, 'bold')
  563. highlight! link TSAnnotation Purple
  564. highlight! link TSAttribute Purple
  565. highlight! link TSBoolean Purple
  566. highlight! link TSCharacter Aqua
  567. highlight! link TSCharacterSpecial SpecialChar
  568. highlight! link TSComment Comment
  569. highlight! link TSConditional Red
  570. highlight! link TSConstBuiltin PurpleItalic
  571. highlight! link TSConstMacro PurpleItalic
  572. highlight! link TSConstant Fg
  573. highlight! link TSConstructor GreenBold
  574. highlight! link TSDebug Debug
  575. highlight! link TSDefine Define
  576. highlight! link TSEnvironment Macro
  577. highlight! link TSEnvironmentName Type
  578. highlight! link TSError Error
  579. highlight! link TSException Red
  580. highlight! link TSField Blue
  581. highlight! link TSFloat Purple
  582. highlight! link TSFuncBuiltin GreenBold
  583. highlight! link TSFuncMacro GreenBold
  584. highlight! link TSFunction GreenBold
  585. highlight! link TSFunctionCall GreenBold
  586. highlight! link TSInclude Red
  587. highlight! link TSKeyword Red
  588. highlight! link TSKeywordFunction Red
  589. highlight! link TSKeywordOperator Orange
  590. highlight! link TSKeywordReturn Red
  591. highlight! link TSLabel Orange
  592. highlight! link TSLiteral String
  593. highlight! link TSMath Blue
  594. highlight! link TSMethod GreenBold
  595. highlight! link TSMethodCall GreenBold
  596. highlight! link TSNamespace YellowItalic
  597. highlight! link TSNone Fg
  598. highlight! link TSNumber Purple
  599. highlight! link TSOperator Orange
  600. highlight! link TSParameter Fg
  601. highlight! link TSParameterReference Fg
  602. highlight! link TSPreProc PreProc
  603. highlight! link TSProperty Blue
  604. highlight! link TSPunctBracket Fg
  605. highlight! link TSPunctDelimiter Grey
  606. highlight! link TSPunctSpecial Blue
  607. highlight! link TSRepeat Red
  608. highlight! link TSStorageClass Orange
  609. highlight! link TSStorageClassLifetime Orange
  610. highlight! link TSStrike Grey
  611. highlight! link TSString Aqua
  612. highlight! link TSStringEscape Green
  613. highlight! link TSStringRegex Green
  614. highlight! link TSStringSpecial SpecialChar
  615. highlight! link TSSymbol Fg
  616. highlight! link TSTag Orange
  617. highlight! link TSTagAttribute Green
  618. highlight! link TSTagDelimiter Green
  619. highlight! link TSText Green
  620. highlight! link TSTextReference Constant
  621. highlight! link TSTitle Title
  622. highlight! link TSTodo Todo
  623. highlight! link TSType YellowItalic
  624. highlight! link TSTypeBuiltin YellowItalic
  625. highlight! link TSTypeDefinition YellowItalic
  626. highlight! link TSTypeQualifier Orange
  627. highlight! link TSURI markdownUrl
  628. highlight! link TSVariable Fg
  629. highlight! link TSVariableBuiltin PurpleItalic
  630. if has('nvim-0.8.0')
  631. highlight! link @annotation TSAnnotation
  632. highlight! link @attribute TSAttribute
  633. highlight! link @boolean TSBoolean
  634. highlight! link @character TSCharacter
  635. highlight! link @character.special TSCharacterSpecial
  636. highlight! link @comment TSComment
  637. highlight! link @comment.error TSDanger
  638. highlight! link @comment.note TSNote
  639. highlight! link @comment.todo TSTodo
  640. highlight! link @comment.warning TSWarning
  641. highlight! link @conceal Grey
  642. highlight! link @conditional TSConditional
  643. highlight! link @constant TSConstant
  644. highlight! link @constant.builtin TSConstBuiltin
  645. highlight! link @constant.macro TSConstMacro
  646. highlight! link @constructor TSConstructor
  647. highlight! link @debug TSDebug
  648. highlight! link @define TSDefine
  649. highlight! link @diff.delta diffChanged
  650. highlight! link @diff.minus diffRemoved
  651. highlight! link @diff.plus diffAdded
  652. highlight! link @error TSError " This has been removed from nvim-treesitter
  653. highlight! link @exception TSException
  654. highlight! link @field TSField
  655. highlight! link @float TSFloat
  656. highlight! link @function TSFunction
  657. highlight! link @function.builtin TSFuncBuiltin
  658. highlight! link @function.call TSFunctionCall
  659. highlight! link @function.macro TSFuncMacro
  660. highlight! link @function.method TSMethod
  661. highlight! link @function.method.call TSMethodCall
  662. highlight! link @include TSInclude
  663. highlight! link @keyword TSKeyword
  664. highlight! link @keyword.conditional TSConditional
  665. highlight! link @keyword.debug TSDebug
  666. highlight! link @keyword.directive TSPreProc
  667. highlight! link @keyword.directive.define TSDefine
  668. highlight! link @keyword.exception TSException
  669. highlight! link @keyword.function TSKeywordFunction
  670. highlight! link @keyword.import TSInclude
  671. highlight! link @keyword.operator TSKeywordOperator
  672. highlight! link @keyword.repeat TSRepeat
  673. highlight! link @keyword.return TSKeywordReturn
  674. highlight! link @keyword.storage TSStorageClass
  675. highlight! link @label TSLabel
  676. highlight! link @markup.emphasis TSEmphasis
  677. highlight! link @markup.environment TSEnvironment
  678. highlight! link @markup.environment.name TSEnvironmentName
  679. highlight! link @markup.heading TSTitle
  680. highlight! link @markup.link TSTextReference
  681. highlight! link @markup.link.label TSStringSpecial
  682. highlight! link @markup.link.url TSURI
  683. highlight! link @markup.list TSPunctSpecial
  684. highlight! link @markup.list.checked Green
  685. highlight! link @markup.list.unchecked Ignore
  686. highlight! link @markup.math TSMath
  687. highlight! link @markup.note TSNote
  688. highlight! link @markup.quote Grey
  689. highlight! link @markup.raw TSLiteral
  690. highlight! link @markup.strike TSStrike
  691. highlight! link @markup.strong TSStrong
  692. highlight! link @markup.underline TSUnderline
  693. highlight! link @math TSMath
  694. highlight! link @method TSMethod
  695. highlight! link @method.call TSMethodCall
  696. highlight! link @module TSNamespace
  697. highlight! link @namespace TSNamespace
  698. highlight! link @none TSNone
  699. highlight! link @number TSNumber
  700. highlight! link @number.float TSFloat
  701. highlight! link @operator TSOperator
  702. highlight! link @parameter TSParameter
  703. highlight! link @parameter.reference TSParameterReference
  704. highlight! link @preproc TSPreProc
  705. highlight! link @property TSProperty
  706. highlight! link @punctuation.bracket TSPunctBracket
  707. highlight! link @punctuation.delimiter TSPunctDelimiter
  708. highlight! link @punctuation.special TSPunctSpecial
  709. highlight! link @repeat TSRepeat
  710. highlight! link @storageclass TSStorageClass
  711. highlight! link @storageclass.lifetime TSStorageClassLifetime
  712. highlight! link @strike TSStrike
  713. highlight! link @string TSString
  714. highlight! link @string.escape TSStringEscape
  715. highlight! link @string.regex TSStringRegex
  716. highlight! link @string.regexp TSStringRegex
  717. highlight! link @string.special TSStringSpecial
  718. highlight! link @string.special.symbol TSSymbol
  719. highlight! link @string.special.uri TSURI
  720. highlight! link @symbol TSSymbol
  721. highlight! link @tag TSTag
  722. highlight! link @tag.attribute TSTagAttribute
  723. highlight! link @tag.delimiter TSTagDelimiter
  724. highlight! link @text TSText
  725. highlight! link @text.danger TSDanger
  726. highlight! link @text.diff.add diffAdded
  727. highlight! link @text.diff.delete diffRemoved
  728. highlight! link @text.emphasis TSEmphasis
  729. highlight! link @text.environment TSEnvironment
  730. highlight! link @text.environment.name TSEnvironmentName
  731. highlight! link @text.literal TSLiteral
  732. highlight! link @text.math TSMath
  733. highlight! link @text.note TSNote
  734. highlight! link @text.reference TSTextReference
  735. highlight! link @text.strike TSStrike
  736. highlight! link @text.strong TSStrong
  737. highlight! link @text.title TSTitle
  738. highlight! link @text.todo TSTodo
  739. highlight! link @text.todo.checked Green
  740. highlight! link @text.todo.unchecked Ignore
  741. highlight! link @text.underline TSUnderline
  742. highlight! link @text.uri TSURI
  743. highlight! link @text.warning TSWarning
  744. highlight! link @todo TSTodo
  745. highlight! link @type TSType
  746. highlight! link @type.builtin TSTypeBuiltin
  747. highlight! link @type.definition TSTypeDefinition
  748. highlight! link @type.qualifier TSTypeQualifier
  749. highlight! link @uri TSURI
  750. highlight! link @variable TSVariable
  751. highlight! link @variable.builtin TSVariableBuiltin
  752. highlight! link @variable.member TSField
  753. highlight! link @variable.parameter TSParameter
  754. endif
  755. if has('nvim-0.9.0')
  756. highlight! link @lsp.type.class TSType
  757. highlight! link @lsp.type.comment TSComment
  758. highlight! link @lsp.type.decorator TSFunction
  759. highlight! link @lsp.type.enum TSType
  760. highlight! link @lsp.type.enumMember TSProperty
  761. highlight! link @lsp.type.events TSLabel
  762. highlight! link @lsp.type.function TSFunction
  763. highlight! link @lsp.type.interface TSType
  764. highlight! link @lsp.type.keyword TSKeyword
  765. highlight! link @lsp.type.macro TSConstMacro
  766. highlight! link @lsp.type.method TSMethod
  767. highlight! link @lsp.type.modifier TSTypeQualifier
  768. highlight! link @lsp.type.namespace TSNamespace
  769. highlight! link @lsp.type.number TSNumber
  770. highlight! link @lsp.type.operator TSOperator
  771. highlight! link @lsp.type.parameter TSParameter
  772. highlight! link @lsp.type.property TSProperty
  773. highlight! link @lsp.type.regexp TSStringRegex
  774. highlight! link @lsp.type.string TSString
  775. highlight! link @lsp.type.struct TSType
  776. highlight! link @lsp.type.type TSType
  777. highlight! link @lsp.type.typeParameter TSTypeDefinition
  778. highlight! link @lsp.type.variable TSVariable
  779. highlight! link DiagnosticUnnecessary WarningText
  780. endif
  781. highlight! link TSModuleInfoGood Green
  782. highlight! link TSModuleInfoBad Red
  783. " }}}
  784. " github/copilot.vim {{{
  785. highlight! link CopilotSuggestion Grey
  786. " }}}
  787. " neoclide/coc.nvim {{{
  788. call gruvbox_material#highlight('CocHoverRange', s:palette.none, s:palette.none, 'bold,underline')
  789. call gruvbox_material#highlight('CocSearch', s:palette.green, s:palette.none, 'bold')
  790. call gruvbox_material#highlight('CocPumSearch', s:palette.green, s:palette.none, 'bold')
  791. call gruvbox_material#highlight('CocMarkdownHeader', s:palette.orange, s:palette.none, 'bold')
  792. call gruvbox_material#highlight('CocMarkdownLink', s:palette.green, s:palette.none, 'underline')
  793. highlight! link CocMarkdownCode Green
  794. highlight! link CocPumShortcut Grey
  795. highlight! link CocPumVirtualText Grey
  796. highlight! link CocPumMenu Pmenu
  797. highlight! link CocMenuSel PmenuSel
  798. highlight! link CocDisabled Grey
  799. highlight! link CocSnippetVisual DiffAdd
  800. highlight! link CocInlayHint LineNr
  801. highlight! link CocNotificationProgress Green
  802. highlight! link CocNotificationButton PmenuSel
  803. highlight! link CocSemClass TSType
  804. highlight! link CocSemEnum TSType
  805. highlight! link CocSemInterface TSType
  806. highlight! link CocSemStruct TSType
  807. highlight! link CocSemTypeParameter TSType
  808. highlight! link CocSemVariable TSVariable
  809. highlight! link CocSemEnumMember TSProperty
  810. highlight! link CocSemEvent TSLabel
  811. highlight! link CocSemModifier TSOperator
  812. highlight! link CocErrorFloat ErrorFloat
  813. highlight! link CocWarningFloat WarningFloat
  814. highlight! link CocInfoFloat InfoFloat
  815. highlight! link CocHintFloat HintFloat
  816. highlight! link CocFloating NormalFloat
  817. highlight! link CocFloatDividingLine Grey
  818. highlight! link CocErrorHighlight ErrorText
  819. highlight! link CocWarningHighlight WarningText
  820. highlight! link CocInfoHighlight InfoText
  821. highlight! link CocHintHighlight HintText
  822. highlight! link CocHighlightText CurrentWord
  823. highlight! link CocHoverRange CurrentWord
  824. highlight! link CocErrorSign RedSign
  825. highlight! link CocWarningSign YellowSign
  826. highlight! link CocInfoSign BlueSign
  827. highlight! link CocHintSign GreenSign
  828. highlight! link CocWarningVirtualText VirtualTextWarning
  829. highlight! link CocErrorVirtualText VirtualTextError
  830. highlight! link CocInfoVirtualText VirtualTextInfo
  831. highlight! link CocHintVirtualText VirtualTextHint
  832. highlight! link CocErrorLine ErrorLine
  833. highlight! link CocWarningLine WarningLine
  834. highlight! link CocInfoLine InfoLine
  835. highlight! link CocHintLine HintLine
  836. highlight! link CocCodeLens Grey
  837. highlight! link CocFadeOut Grey
  838. highlight! link CocStrikeThrough Grey
  839. highlight! link CocListMode StatusLine
  840. highlight! link CocListPath StatusLine
  841. highlight! link CocSelectedText Orange
  842. highlight! link CocListsLine Fg
  843. highlight! link CocListsDesc Grey
  844. highlight! link HighlightedyankRegion Visual
  845. highlight! link CocGitAddedSign GreenSign
  846. highlight! link CocGitChangeRemovedSign PurpleSign
  847. highlight! link CocGitChangedSign BlueSign
  848. highlight! link CocGitRemovedSign RedSign
  849. highlight! link CocGitTopRemovedSign RedSign
  850. " }}}
  851. " prabirshrestha/vim-lsp {{{
  852. highlight! link LspErrorVirtual VirtualTextError
  853. highlight! link LspWarningVirtual VirtualTextWarning
  854. highlight! link LspInformationVirtual VirtualTextInfo
  855. highlight! link LspHintVirtual VirtualTextHint
  856. highlight! link LspErrorHighlight ErrorText
  857. highlight! link LspWarningHighlight WarningText
  858. highlight! link LspInformationHighlight InfoText
  859. highlight! link LspHintHighlight HintText
  860. highlight! link lspReference CurrentWord
  861. highlight! link lspInlayHintsType LineNr
  862. highlight! link lspInlayHintsParameter LineNr
  863. highlight! link LspSemanticType TSType
  864. highlight! link LspSemanticClass TSType
  865. highlight! link LspSemanticEnum TSType
  866. highlight! link LspSemanticInterface TSType
  867. highlight! link LspSemanticStruct TSType
  868. highlight! link LspSemanticTypeParameter TSType
  869. highlight! link LspSemanticParameter TSParameter
  870. highlight! link LspSemanticVariable TSVariable
  871. highlight! link LspSemanticProperty TSProperty
  872. highlight! link LspSemanticEnumMember TSProperty
  873. highlight! link LspSemanticEvents TSLabel
  874. highlight! link LspSemanticFunction TSFunction
  875. highlight! link LspSemanticMethod TSMethod
  876. highlight! link LspSemanticKeyword TSKeyword
  877. highlight! link LspSemanticModifier TSOperator
  878. highlight! link LspSemanticComment TSComment
  879. highlight! link LspSemanticString TSString
  880. highlight! link LspSemanticNumber TSNumber
  881. highlight! link LspSemanticRegexp TSStringRegex
  882. highlight! link LspSemanticOperator TSOperator
  883. " }}}
  884. " ycm-core/YouCompleteMe {{{
  885. highlight! link YcmErrorSign RedSign
  886. highlight! link YcmWarningSign YellowSign
  887. highlight! link YcmErrorLine ErrorLine
  888. highlight! link YcmWarningLine WarningLine
  889. highlight! link YcmErrorSection ErrorText
  890. highlight! link YcmWarningSection WarningText
  891. highlight! link YcmInlayHint LineNr
  892. highlight! link YcmErrorText VirtualTextError
  893. highlight! link YcmWarningText VirtualTextWarning
  894. if !has('nvim') && has('textprop') && !exists('g:YCM_HIGHLIGHT_GROUP')
  895. let g:YCM_HIGHLIGHT_GROUP = {
  896. \ 'typeParameter': 'TSType',
  897. \ 'parameter': 'TSParameter',
  898. \ 'variable': 'TSVariable',
  899. \ 'property': 'TSProperty',
  900. \ 'enumMember': 'TSVariableBuiltin',
  901. \ 'event': 'TSLabel',
  902. \ 'member': 'TSVariable',
  903. \ 'method': 'TSMethod',
  904. \ 'class': 'TSType',
  905. \ 'namespace': 'TSNamespace',
  906. \ }
  907. for tokenType in keys( g:YCM_HIGHLIGHT_GROUP )
  908. try
  909. call prop_type_add( 'YCM_HL_' . tokenType,
  910. \ { 'highlight': g:YCM_HIGHLIGHT_GROUP[ tokenType ] } )
  911. catch
  912. endtry
  913. endfor
  914. endif
  915. " }}}
  916. " dense-analysis/ale {{{
  917. highlight! link ALEError ErrorText
  918. highlight! link ALEWarning WarningText
  919. highlight! link ALEInfo InfoText
  920. highlight! link ALEErrorSign RedSign
  921. highlight! link ALEWarningSign YellowSign
  922. highlight! link ALEInfoSign BlueSign
  923. highlight! link ALEErrorLine ErrorLine
  924. highlight! link ALEWarningLine WarningLine
  925. highlight! link ALEInfoLine InfoLine
  926. highlight! link ALEVirtualTextError VirtualTextError
  927. highlight! link ALEVirtualTextWarning VirtualTextWarning
  928. highlight! link ALEVirtualTextInfo VirtualTextInfo
  929. highlight! link ALEVirtualTextStyleError VirtualTextHint
  930. highlight! link ALEVirtualTextStyleWarning VirtualTextHint
  931. " }}}
  932. " neomake/neomake {{{
  933. highlight! link NeomakeError ErrorText
  934. highlight! link NeomakeWarning WarningText
  935. highlight! link NeomakeInfo InfoText
  936. highlight! link NeomakeMessage HintText
  937. highlight! link NeomakeErrorSign RedSign
  938. highlight! link NeomakeWarningSign YellowSign
  939. highlight! link NeomakeInfoSign BlueSign
  940. highlight! link NeomakeMessageSign AquaSign
  941. highlight! link NeomakeVirtualtextError VirtualTextError
  942. highlight! link NeomakeVirtualtextWarning VirtualTextWarning
  943. highlight! link NeomakeVirtualtextInfo VirtualTextInfo
  944. highlight! link NeomakeVirtualtextMessag VirtualTextHint
  945. " }}}
  946. " vim-syntastic/syntastic {{{
  947. highlight! link SyntasticError ErrorText
  948. highlight! link SyntasticWarning WarningText
  949. highlight! link SyntasticErrorSign RedSign
  950. highlight! link SyntasticWarningSign YellowSign
  951. highlight! link SyntasticErrorLine ErrorLine
  952. highlight! link SyntasticWarningLine WarningLine
  953. " }}}
  954. " Yggdroot/LeaderF {{{
  955. if !exists('g:Lf_StlColorscheme')
  956. let g:Lf_StlColorscheme = 'gruvbox_material'
  957. endif
  958. if !exists('g:Lf_PopupColorscheme')
  959. let g:Lf_PopupColorscheme = 'gruvbox_material'
  960. endif
  961. call gruvbox_material#highlight('Lf_hl_match', s:palette.green, s:palette.none, 'bold')
  962. call gruvbox_material#highlight('Lf_hl_match0', s:palette.green, s:palette.none, 'bold')
  963. call gruvbox_material#highlight('Lf_hl_match1', s:palette.aqua, s:palette.none, 'bold')
  964. call gruvbox_material#highlight('Lf_hl_match2', s:palette.blue, s:palette.none, 'bold')
  965. call gruvbox_material#highlight('Lf_hl_match3', s:palette.purple, s:palette.none, 'bold')
  966. call gruvbox_material#highlight('Lf_hl_match4', s:palette.orange, s:palette.none, 'bold')
  967. call gruvbox_material#highlight('Lf_hl_matchRefine', s:palette.red, s:palette.none, 'bold')
  968. call gruvbox_material#highlight('Lf_hl_popup_normalMode', s:palette.bg0, s:palette.grey2, 'bold')
  969. call gruvbox_material#highlight('Lf_hl_popup_inputMode', s:palette.bg0, s:palette.grey2, 'bold')
  970. call gruvbox_material#highlight('Lf_hl_popup_category', s:palette.bg0, s:palette.grey1)
  971. call gruvbox_material#highlight('Lf_hl_popup_nameOnlyMode', s:palette.fg1, s:palette.bg_statusline3)
  972. call gruvbox_material#highlight('Lf_hl_popup_fullPathMode', s:palette.fg1, s:palette.bg_statusline3)
  973. call gruvbox_material#highlight('Lf_hl_popup_fuzzyMode', s:palette.bg0, s:palette.grey0)
  974. call gruvbox_material#highlight('Lf_hl_popup_regexMode', s:palette.fg1, s:palette.bg_statusline3)
  975. call gruvbox_material#highlight('Lf_hl_popup_lineInfo', s:palette.bg0, s:palette.green)
  976. call gruvbox_material#highlight('Lf_hl_popup_total', s:palette.bg0, s:palette.yellow)
  977. call gruvbox_material#highlight('Lf_hl_popup_cursor', s:palette.bg0, s:palette.green)
  978. call gruvbox_material#highlight('Lf_hl_popup_inputText', s:palette.green, s:palette.bg3)
  979. call gruvbox_material#highlight('Lf_hl_cursorline', s:palette.fg1, s:palette.none)
  980. highlight! link Lf_hl_selection DiffAdd
  981. highlight! link Lf_hl_rgHighlight Visual
  982. highlight! link Lf_hl_gtagsHighlight Visual
  983. highlight! link Lf_hl_popup_window Pmenu
  984. highlight! link Lf_hl_popup_prompt Orange
  985. highlight! link Lf_hl_popup_cwd Pmenu
  986. highlight! link Lf_hl_popup_blank Lf_hl_popup_window
  987. highlight! link Lf_hl_popup_spin Purple
  988. " }}}
  989. " liuchengxu/vim-clap {{{
  990. call gruvbox_material#highlight('ClapSelected', s:palette.red, s:palette.none, 'bold')
  991. call gruvbox_material#highlight('ClapCurrentSelection', s:palette.none, s:palette.bg1, 'bold')
  992. call gruvbox_material#highlight('ClapSpinner', s:palette.orange, s:palette.bg3, 'bold')
  993. call gruvbox_material#highlight('ClapBlines', s:palette.fg1, s:palette.none)
  994. call gruvbox_material#highlight('ClapProviderId', s:palette.fg1, s:palette.none, 'bold')
  995. call gruvbox_material#highlight('ClapMatches1', s:palette.red, s:palette.none, 'bold')
  996. call gruvbox_material#highlight('ClapMatches2', s:palette.orange, s:palette.none, 'bold')
  997. call gruvbox_material#highlight('ClapMatches3', s:palette.yellow, s:palette.none, 'bold')
  998. call gruvbox_material#highlight('ClapMatches4', s:palette.aqua, s:palette.none, 'bold')
  999. call gruvbox_material#highlight('ClapMatches5', s:palette.blue, s:palette.none, 'bold')
  1000. call gruvbox_material#highlight('ClapMatches6', s:palette.purple, s:palette.none, 'bold')
  1001. call gruvbox_material#highlight('ClapFuzzyMatches', s:palette.green, s:palette.none, 'bold')
  1002. call gruvbox_material#highlight('ClapNoMatchesFound', s:palette.red, s:palette.none, 'bold')
  1003. highlight! link ClapInput Pmenu
  1004. highlight! link ClapDisplay Pmenu
  1005. highlight! link ClapPreview Pmenu
  1006. highlight! link ClapFuzzyMatches1 ClapFuzzyMatches
  1007. highlight! link ClapFuzzyMatches2 ClapFuzzyMatches
  1008. highlight! link ClapFuzzyMatches3 ClapFuzzyMatches
  1009. highlight! link ClapFuzzyMatches4 ClapFuzzyMatches
  1010. highlight! link ClapFuzzyMatches5 ClapFuzzyMatches
  1011. highlight! link ClapFuzzyMatches6 ClapFuzzyMatches
  1012. highlight! link ClapFuzzyMatches7 ClapFuzzyMatches
  1013. highlight! link ClapFuzzyMatches8 ClapFuzzyMatches
  1014. highlight! link ClapFuzzyMatches9 ClapFuzzyMatches
  1015. highlight! link ClapFuzzyMatches10 ClapFuzzyMatches
  1016. highlight! link ClapFuzzyMatches11 ClapFuzzyMatches
  1017. highlight! link ClapFuzzyMatches12 ClapFuzzyMatches
  1018. highlight! link ClapBlinesLineNr Grey
  1019. highlight! link ClapProviderColon ClapBlines
  1020. highlight! link ClapProviderAbout ClapBlines
  1021. highlight! link ClapFile Fg
  1022. highlight! link ClapSearchText ClapFuzzyMatches
  1023. " }}}
  1024. " junegunn/fzf.vim {{{
  1025. let g:fzf_colors = {
  1026. \ 'fg': ['fg', 'Normal'],
  1027. \ 'bg': ['bg', 'Normal'],
  1028. \ 'hl': ['fg', 'Green'],
  1029. \ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
  1030. \ 'bg+': ['bg', 'CursorLine', 'CursorColumn'],
  1031. \ 'hl+': ['fg', 'Aqua'],
  1032. \ 'info': ['fg', 'Aqua'],
  1033. \ 'border': ['fg', 'Grey'],
  1034. \ 'prompt': ['fg', 'Orange'],
  1035. \ 'pointer': ['fg', 'Blue'],
  1036. \ 'marker': ['fg', 'Yellow'],
  1037. \ 'spinner': ['fg', 'Yellow'],
  1038. \ 'header': ['fg', 'Grey']
  1039. \ }
  1040. " }}}
  1041. " Shougo/denite.nvim {{{
  1042. call gruvbox_material#highlight('deniteMatchedChar', s:palette.green, s:palette.none, 'bold')
  1043. call gruvbox_material#highlight('deniteMatchedRange', s:palette.green, s:palette.none, 'bold,underline')
  1044. call gruvbox_material#highlight('deniteInput', s:palette.green, s:palette.bg4, 'bold')
  1045. call gruvbox_material#highlight('deniteStatusLineNumber', s:palette.purple, s:palette.bg4)
  1046. call gruvbox_material#highlight('deniteStatusLinePath', s:palette.fg0, s:palette.bg4)
  1047. highlight! link deniteSelectedLin Green
  1048. " }}}
  1049. " kien/ctrlp.vim {{{
  1050. call gruvbox_material#highlight('CtrlPMatch', s:palette.green, s:palette.none, 'bold')
  1051. call gruvbox_material#highlight('CtrlPPrtBase', s:palette.bg4, s:palette.none)
  1052. call gruvbox_material#highlight('CtrlPLinePre', s:palette.bg4, s:palette.none)
  1053. call gruvbox_material#highlight('CtrlPMode1', s:palette.blue, s:palette.bg4, 'bold')
  1054. call gruvbox_material#highlight('CtrlPMode2', s:palette.bg0, s:palette.blue, 'bold')
  1055. call gruvbox_material#highlight('CtrlPStats', s:palette.grey2, s:palette.bg4, 'bold')
  1056. highlight! link CtrlPNoEntries Red
  1057. highlight! link CtrlPPrtCursor Blue
  1058. " }}}
  1059. " airblade/vim-gitgutter {{{
  1060. highlight! link GitGutterAdd GreenSign
  1061. highlight! link GitGutterChange BlueSign
  1062. highlight! link GitGutterDelete RedSign
  1063. highlight! link GitGutterChangeDelete PurpleSign
  1064. highlight! link GitGutterAddLine DiffAdd
  1065. highlight! link GitGutterChangeLine DiffChange
  1066. highlight! link GitGutterDeleteLine DiffDelete
  1067. highlight! link GitGutterChangeDeleteLine DiffChange
  1068. highlight! link GitGutterAddLineNr Green
  1069. highlight! link GitGutterChangeLineNr Blue
  1070. highlight! link GitGutterDeleteLineNr Red
  1071. highlight! link GitGutterChangeDeleteLineNr Purple
  1072. " }}}
  1073. " mhinz/vim-signify {{{
  1074. highlight! link SignifySignAdd GreenSign
  1075. highlight! link SignifySignChange BlueSign
  1076. highlight! link SignifySignDelete RedSign
  1077. highlight! link SignifySignChangeDelete PurpleSign
  1078. highlight! link SignifyLineAdd DiffAdd
  1079. highlight! link SignifyLineChange DiffChange
  1080. highlight! link SignifyLineChangeDelete DiffChange
  1081. highlight! link SignifyLineDelete DiffDelete
  1082. " }}}
  1083. " andymass/vim-matchup {{{
  1084. call gruvbox_material#highlight('MatchParenCur', s:palette.none, s:palette.none, 'bold')
  1085. call gruvbox_material#highlight('MatchWord', s:palette.none, s:palette.none, 'underline')
  1086. call gruvbox_material#highlight('MatchWordCur', s:palette.none, s:palette.none, 'underline')
  1087. " }}}
  1088. " easymotion/vim-easymotion {{{
  1089. highlight! link EasyMotionTarget Search
  1090. highlight! link EasyMotionShade Grey
  1091. " }}}
  1092. " justinmk/vim-sneak {{{
  1093. call gruvbox_material#highlight('SneakLabelMask', s:palette.bg_green, s:palette.bg_green)
  1094. highlight! link Sneak Search
  1095. highlight! link SneakLabel Search
  1096. highlight! link SneakScope DiffText
  1097. " }}}
  1098. " rhysd/clever-f.vim {{{
  1099. highlight! link CleverFDefaultLabel Search
  1100. " }}}
  1101. " terryma/vim-multiple-cursors {{{
  1102. highlight! link multiple_cursors_cursor Cursor
  1103. highlight! link multiple_cursors_visual Visual
  1104. " }}}
  1105. " mg979/vim-visual-multi {{{
  1106. call gruvbox_material#highlight('VMCursor', s:palette.blue, s:palette.bg5)
  1107. let g:VM_Mono_hl = 'VMCursor'
  1108. let g:VM_Extend_hl = 'Visual'
  1109. let g:VM_Cursor_hl = 'VMCursor'
  1110. let g:VM_Insert_hl = 'VMCursor'
  1111. " }}}
  1112. " dominikduda/vim_current_word {{{
  1113. highlight! link CurrentWordTwins CurrentWord
  1114. " }}}
  1115. " RRethy/vim-illuminate {{{
  1116. highlight! link illuminatedWord CurrentWord
  1117. highlight! link IlluminatedWordText CurrentWord
  1118. highlight! link IlluminatedWordRead CurrentWord
  1119. highlight! link IlluminatedWordWrite CurrentWord
  1120. " }}}
  1121. " itchyny/vim-cursorword {{{
  1122. highlight! link CursorWord0 CurrentWord
  1123. highlight! link CursorWord1 CurrentWord
  1124. " }}}
  1125. " Yggdroot/indentLine {{{
  1126. if s:configuration.ui_contrast ==# 'low'
  1127. let g:indentLine_color_gui = s:palette.bg5[0]
  1128. let g:indentLine_color_term = s:palette.bg5[1]
  1129. else
  1130. let g:indentLine_color_gui = s:palette.grey0[0]
  1131. let g:indentLine_color_term = s:palette.grey0[1]
  1132. endif
  1133. " }}}
  1134. " nathanaelkane/vim-indent-guides {{{
  1135. if get(g:, 'indent_guides_auto_colors', 1) == 0
  1136. call gruvbox_material#highlight('IndentGuidesOdd', s:palette.bg0, s:palette.bg2)
  1137. call gruvbox_material#highlight('IndentGuidesEven', s:palette.bg0, s:palette.bg3)
  1138. endif
  1139. " }}}
  1140. " thiagoalessio/rainbow_levels.vim {{{
  1141. highlight! link RainbowLevel0 Red
  1142. highlight! link RainbowLevel1 Orange
  1143. highlight! link RainbowLevel2 Yellow
  1144. highlight! link RainbowLevel3 Green
  1145. highlight! link RainbowLevel4 Aqua
  1146. highlight! link RainbowLevel5 Blue
  1147. highlight! link RainbowLevel6 Purple
  1148. highlight! link RainbowLevel7 Yellow
  1149. highlight! link RainbowLevel8 Green
  1150. " }}}
  1151. " luochen1990/rainbow {{{
  1152. if !exists('g:rbpt_colorpairs')
  1153. let g:rbpt_colorpairs = [['blue', s:palette.blue[0]], ['magenta', s:palette.purple[0]],
  1154. \ ['red', s:palette.red[0]], ['166', s:palette.orange[0]]]
  1155. endif
  1156. let g:rainbow_guifgs = [ s:palette.orange[0], s:palette.red[0], s:palette.purple[0], s:palette.blue[0] ]
  1157. let g:rainbow_ctermfgs = [ '166', 'red', 'magenta', 'blue' ]
  1158. if !exists('g:rainbow_conf')
  1159. let g:rainbow_conf = {}
  1160. endif
  1161. if !has_key(g:rainbow_conf, 'guifgs')
  1162. let g:rainbow_conf['guifgs'] = g:rainbow_guifgs
  1163. endif
  1164. if !has_key(g:rainbow_conf, 'ctermfgs')
  1165. let g:rainbow_conf['ctermfgs'] = g:rainbow_ctermfgs
  1166. endif
  1167. let g:niji_dark_colours = g:rbpt_colorpairs
  1168. let g:niji_light_colours = g:rbpt_colorpairs
  1169. " }}}
  1170. " kshenoy/vim-signature {{{
  1171. highlight! link SignatureMarkText BlueSign
  1172. highlight! link SignatureMarkerText PurpleSign
  1173. " }}}
  1174. " ap/vim-buftabline {{{
  1175. highlight! link BufTabLineCurrent TabLineSel
  1176. highlight! link BufTabLineActive TabLine
  1177. highlight! link BufTabLineHidden TabLineFill
  1178. highlight! link BufTabLineFill TabLineFill
  1179. " }}}
  1180. " liuchengxu/vim-which-key {{{
  1181. highlight! link WhichKey Red
  1182. highlight! link WhichKeySeperator Green
  1183. highlight! link WhichKeyGroup Yellow
  1184. highlight! link WhichKeyDesc Blue
  1185. " }}}
  1186. " junegunn/limelight.vim {{{
  1187. let g:limelight_conceal_ctermfg = s:palette.grey0[1]
  1188. let g:limelight_conceal_guifg = s:palette.grey0[0]
  1189. " }}}
  1190. " unblevable/quick-scope {{{
  1191. call gruvbox_material#highlight('QuickScopePrimary', s:palette.aqua, s:palette.none, 'underline')
  1192. call gruvbox_material#highlight('QuickScopeSecondary', s:palette.blue, s:palette.none, 'underline')
  1193. " }}}
  1194. " APZelos/blamer.nvim {{{
  1195. highlight! link Blamer Grey
  1196. " }}}
  1197. " cohama/agit.vim {{{
  1198. highlight! link agitTree Grey
  1199. highlight! link agitDate Green
  1200. highlight! link agitRemote Red
  1201. highlight! link agitHead Orange
  1202. highlight! link agitRef Aqua
  1203. highlight! link agitTag Orange
  1204. highlight! link agitStatFile Blue
  1205. highlight! link agitStatRemoved Red
  1206. highlight! link agitStatAdded Green
  1207. highlight! link agitStatMessage Orange
  1208. highlight! link agitDiffRemove Red
  1209. highlight! link agitDiffAdd Green
  1210. highlight! link agitDiffHeader Purple
  1211. " }}}
  1212. " voldikss/vim-floaterm {{{
  1213. highlight! link FloatermBorder Grey
  1214. " }}}
  1215. " MattesGroeger/vim-bookmarks {{{
  1216. highlight! link BookmarkSign BlueSign
  1217. highlight! link BookmarkAnnotationSign GreenSign
  1218. highlight! link BookmarkLine DiffChange
  1219. highlight! link BookmarkAnnotationLine DiffAdd
  1220. " }}}
  1221. if has('nvim')
  1222. " hrsh7th/nvim-cmp {{{
  1223. call gruvbox_material#highlight('CmpItemAbbrMatch', s:palette.green, s:palette.none, 'bold')
  1224. call gruvbox_material#highlight('CmpItemAbbrMatchFuzzy', s:palette.green, s:palette.none, 'bold')
  1225. highlight! link CmpItemAbbr Fg
  1226. highlight! link CmpItemAbbrDeprecated Grey
  1227. highlight! link CmpItemMenu Fg
  1228. highlight! link CmpItemKind Yellow
  1229. for kind in g:gruvbox_material_lsp_kind_color
  1230. execute "highlight! link CmpItemKind" . kind[0] . " " . kind[1]
  1231. endfor
  1232. " }}}
  1233. " SmiteshP/nvim-navic {{{
  1234. highlight! link NavicText Fg
  1235. highlight! link NavicSeparator Grey
  1236. for kind in g:gruvbox_material_lsp_kind_color
  1237. execute "highlight! link NavicIcons" . kind[0] . " " . kind[1]
  1238. endfor
  1239. " }}}
  1240. " folke/trouble.nvim {{{
  1241. highlight! link TroubleText Fg
  1242. highlight! link TroubleSource Grey
  1243. highlight! link TroubleCode Grey
  1244. " }}}
  1245. " nvim-telescope/telescope.nvim {{{
  1246. call gruvbox_material#highlight('TelescopeMatching', s:palette.green, s:palette.none, 'bold')
  1247. highlight! link TelescopeBorder Grey
  1248. highlight! link TelescopePromptPrefix Orange
  1249. highlight! link TelescopeSelection DiffAdd
  1250. " }}}
  1251. " lewis6991/gitsigns.nvim {{{
  1252. highlight! link GitSignsAdd GreenSign
  1253. highlight! link GitSignsChange BlueSign
  1254. highlight! link GitSignsDelete RedSign
  1255. highlight! link GitSignsAddNr Green
  1256. highlight! link GitSignsChangeNr Blue
  1257. highlight! link GitSignsDeleteNr Red
  1258. highlight! link GitSignsAddLn DiffAdd
  1259. highlight! link GitSignsChangeLn DiffChange
  1260. highlight! link GitSignsDeleteLn DiffDelete
  1261. highlight! link GitSignsCurrentLineBlame Grey
  1262. " }}}
  1263. " phaazon/hop.nvim {{{
  1264. call gruvbox_material#highlight('HopNextKey', s:palette.orange, s:palette.none, 'bold')
  1265. call gruvbox_material#highlight('HopNextKey1', s:palette.green, s:palette.none, 'bold')
  1266. highlight! link HopNextKey2 Green
  1267. highlight! link HopUnmatched Grey
  1268. " }}}
  1269. " lukas-reineke/indent-blankline.nvim {{{
  1270. call gruvbox_material#highlight('IblScope', s:palette.grey1, s:palette.none, 'nocombine')
  1271. call gruvbox_material#highlight('IblIndent', s:palette.bg5, s:palette.none, 'nocombine')
  1272. highlight! link IndentBlanklineContextChar IblScope
  1273. highlight! link IndentBlanklineChar IblIndent
  1274. highlight! link IndentBlanklineSpaceChar IndentBlanklineChar
  1275. highlight! link IndentBlanklineSpaceCharBlankline IndentBlanklineChar
  1276. " }}}
  1277. " p00f/nvim-ts-rainbow {{{
  1278. highlight! link rainbowcol1 Red
  1279. highlight! link rainbowcol2 Orange
  1280. highlight! link rainbowcol3 Yellow
  1281. highlight! link rainbowcol4 Green
  1282. highlight! link rainbowcol5 Aqua
  1283. highlight! link rainbowcol6 Blue
  1284. highlight! link rainbowcol7 Purple
  1285. " }}}
  1286. " romgrk/barbar.nvim {{{
  1287. call gruvbox_material#highlight('BufferCurrent', s:palette.fg1, s:palette.bg0)
  1288. call gruvbox_material#highlight('BufferCurrentIndex', s:palette.fg1, s:palette.bg0)
  1289. call gruvbox_material#highlight('BufferCurrentMod', s:palette.blue, s:palette.bg0)
  1290. call gruvbox_material#highlight('BufferCurrentSign', s:palette.grey2, s:palette.bg0)
  1291. call gruvbox_material#highlight('BufferCurrentTarget', s:palette.red, s:palette.bg0, 'bold')
  1292. call gruvbox_material#highlight('BufferVisible', s:palette.fg1, s:palette.bg_dim)
  1293. call gruvbox_material#highlight('BufferVisibleIndex', s:palette.fg1, s:palette.bg_dim)
  1294. call gruvbox_material#highlight('BufferVisibleMod', s:palette.blue, s:palette.bg_dim)
  1295. call gruvbox_material#highlight('BufferVisibleSign', s:palette.grey2, s:palette.bg_dim)
  1296. call gruvbox_material#highlight('BufferVisibleTarget', s:palette.yellow, s:palette.bg_dim, 'bold')
  1297. call gruvbox_material#highlight('BufferInactive', s:palette.grey1, s:palette.bg_dim)
  1298. call gruvbox_material#highlight('BufferInactiveIndex', s:palette.grey1, s:palette.bg_dim)
  1299. call gruvbox_material#highlight('BufferInactiveMod', s:palette.grey1, s:palette.bg_dim)
  1300. call gruvbox_material#highlight('BufferInactiveSign', s:palette.grey0, s:palette.bg_dim)
  1301. call gruvbox_material#highlight('BufferInactiveTarget', s:palette.yellow, s:palette.bg_dim, 'bold')
  1302. call gruvbox_material#highlight('BufferTabpages', s:palette.grey1, s:palette.bg_dim, 'bold')
  1303. call gruvbox_material#highlight('BufferTabpageFill', s:palette.bg_dim, s:palette.bg_dim)
  1304. " }}}
  1305. " rcarriga/nvim-notify {{{
  1306. highlight! link NotifyERRORBorder Red
  1307. highlight! link NotifyWARNBorder Yellow
  1308. highlight! link NotifyINFOBorder Green
  1309. highlight! link NotifyDEBUGBorder Grey
  1310. highlight! link NotifyTRACEBorder Purple
  1311. highlight! link NotifyERRORIcon Red
  1312. highlight! link NotifyWARNIcon Yellow
  1313. highlight! link NotifyINFOIcon Green
  1314. highlight! link NotifyDEBUGIcon Grey
  1315. highlight! link NotifyTRACEIcon Purple
  1316. highlight! link NotifyERRORTitle Red
  1317. highlight! link NotifyWARNTitle Yellow
  1318. highlight! link NotifyINFOTitle Green
  1319. highlight! link NotifyDEBUGTitle Grey
  1320. highlight! link NotifyTRACETitle Purple
  1321. " }}}
  1322. " rcarriga/nvim-dap-ui {{{
  1323. call gruvbox_material#highlight('DapUIModifiedValue', s:palette.blue, s:palette.none, 'bold')
  1324. call gruvbox_material#highlight('DapUIBreakpointsCurrentLine', s:palette.blue, s:palette.none, 'bold')
  1325. highlight! link DapUIScope Blue
  1326. highlight! link DapUIType Purple
  1327. highlight! link DapUIDecoration Blue
  1328. highlight! link DapUIThread Green
  1329. highlight! link DapUIStoppedThread Blue
  1330. highlight! link DapUISource Purple
  1331. highlight! link DapUILineNumber Blue
  1332. highlight! link DapUIFloatBorder Blue
  1333. highlight! link DapUIWatchesEmpty Red
  1334. highlight! link DapUIWatchesValue Green
  1335. highlight! link DapUIWatchesError Red
  1336. highlight! link DapUIBreakpointsPath Blue
  1337. highlight! link DapUIBreakpointsInfo Green
  1338. " }}}
  1339. " glepnir/lspsaga.nvim {{{
  1340. call gruvbox_material#highlight('LspFloatWinBorder', s:palette.bg0, s:palette.bg0)
  1341. call gruvbox_material#highlight('LspSagaDiagnosticHeader', s:palette.orange, s:palette.none, 'bold')
  1342. call gruvbox_material#highlight('LspSagaCodeActionTitle', s:palette.purple, s:palette.none, 'bold')
  1343. call gruvbox_material#highlight('DefinitionPreviewTitle', s:palette.blue, s:palette.none, 'bold')
  1344. highlight! link LspSagaDiagnosticError Red
  1345. highlight! link LspSagaDiagnosticWarn Yellow
  1346. highlight! link LspSagaDiagnosticInfo Blue
  1347. highlight! link LspSagaDiagnosticHint Green
  1348. highlight! link LspSagaErrorTrunCateLine LspSagaDiagnosticError
  1349. highlight! link LspSagaWarnTrunCateLine LspSagaDiagnosticWarn
  1350. highlight! link LspSagaInfoTrunCateLine LspSagaDiagnosticInfo
  1351. highlight! link LspSagaHintTrunCateLine LspSagaDiagnosticHint
  1352. highlight! link LspSagaDiagnosticSource Orange
  1353. highlight! link LspSagaDiagnosticBorder Orange
  1354. highlight! link LspSagaRenameBorder Purple
  1355. highlight! link LspSagaRenamePromptPrefix Blue
  1356. highlight! link LspSagaCodeActionBorder Purple
  1357. highlight! link LspSagaCodeActionTruncateLine Purple
  1358. highlight! link LspSagaCodeActionContent Green
  1359. highlight! link LspSagaHoverBorder Green
  1360. highlight! link LspSagaDocTruncateLine Green
  1361. highlight! link LspSagaSignatureHelpBorder Green
  1362. highlight! link LspSagaShTruncateLine Green
  1363. highlight! link LspSagaDefPreviewBorder Blue
  1364. highlight! link DefinitionIcon Blue
  1365. highlight! link LspLinesDiagBorder Yellow
  1366. highlight! link LineDiagTuncateLine Yellow
  1367. highlight! link LspSagaAutoPreview Green
  1368. highlight! link LspSagaFinderSelection Fg
  1369. highlight! link DiagnosticWarning DiagnosticWarn
  1370. highlight! link DiagnosticInformation DiagnosticInfo
  1371. highlight! link ReferencesCount Grey
  1372. highlight! link DefinitionCount Grey
  1373. highlight! link TargetFileName Grey
  1374. " }}}
  1375. " b0o/incline.nvim {{{
  1376. call gruvbox_material#highlight('InclineNormalNC', s:palette.grey1, s:palette.bg3)
  1377. " }}}
  1378. " echasnovski/mini.nvim {{{
  1379. call gruvbox_material#highlight('MiniIndentscopePrefix', s:palette.none, s:palette.none, 'nocombine')
  1380. call gruvbox_material#highlight('MiniJump2dSpot', s:palette.orange, s:palette.none, 'bold,nocombine')
  1381. call gruvbox_material#highlight('MiniStarterCurrent', s:palette.none, s:palette.none, 'nocombine')
  1382. call gruvbox_material#highlight('MiniStatuslineDevinfo', s:palette.grey2, s:palette.bg_statusline2)
  1383. call gruvbox_material#highlight('MiniStatuslineFileinfo', s:palette.grey2, s:palette.bg_statusline2)
  1384. call gruvbox_material#highlight('MiniStatuslineFilename', s:palette.grey2, s:palette.bg_statusline1)
  1385. call gruvbox_material#highlight('MiniStatuslineModeInactive', s:palette.grey2, s:palette.bg_statusline1)
  1386. call gruvbox_material#highlight('MiniStatuslineModeCommand', s:palette.bg0, s:palette.blue, 'bold')
  1387. call gruvbox_material#highlight('MiniStatuslineModeInsert', s:palette.bg0, s:palette.bg_green, 'bold')
  1388. call gruvbox_material#highlight('MiniStatuslineModeNormal', s:palette.bg0, s:palette.grey2, 'bold')
  1389. call gruvbox_material#highlight('MiniStatuslineModeOther', s:palette.bg0, s:palette.purple, 'bold')
  1390. call gruvbox_material#highlight('MiniStatuslineModeReplace', s:palette.bg0, s:palette.bg_yellow, 'bold')
  1391. call gruvbox_material#highlight('MiniStatuslineModeVisual', s:palette.bg0, s:palette.bg_red, 'bold')
  1392. call gruvbox_material#highlight('MiniTablineCurrent', s:palette.fg1, s:palette.bg5)
  1393. call gruvbox_material#highlight('MiniTablineHidden', s:palette.grey1, s:palette.bg3)
  1394. call gruvbox_material#highlight('MiniTablineModifiedCurrent', s:palette.blue, s:palette.bg5)
  1395. call gruvbox_material#highlight('MiniTablineModifiedHidden', s:palette.grey1, s:palette.bg3)
  1396. call gruvbox_material#highlight('MiniTablineModifiedVisible', s:palette.blue, s:palette.bg3)
  1397. call gruvbox_material#highlight('MiniTablineTabpagesection', s:palette.bg0, s:palette.grey2, 'bold')
  1398. call gruvbox_material#highlight('MiniTablineVisible', s:palette.fg1, s:palette.bg3)
  1399. call gruvbox_material#highlight('MiniTestEmphasis', s:palette.none, s:palette.none, 'bold')
  1400. call gruvbox_material#highlight('MiniTestFail', s:palette.red, s:palette.none, 'bold')
  1401. call gruvbox_material#highlight('MiniTestPass', s:palette.green, s:palette.none, 'bold')
  1402. call gruvbox_material#highlight('MiniTrailspace', s:palette.none, s:palette.red)
  1403. highlight! link MiniStarterItemBullet Grey
  1404. highlight! link MiniStarterItemPrefix Yellow
  1405. highlight! link MiniStarterQuery Blue
  1406. highlight! link MiniCompletionActiveParameter LspSignatureActiveParameter
  1407. highlight! link MiniCursorword CurrentWord
  1408. highlight! link MiniCursorwordCurrent CurrentWord
  1409. highlight! link MiniIndentscopeSymbol Grey
  1410. highlight! link MiniJump Search
  1411. highlight! link MiniStarterFooter Orange
  1412. highlight! link MiniStarterHeader Yellow
  1413. highlight! link MiniStarterInactive Comment
  1414. highlight! link MiniStarterItem Normal
  1415. highlight! link MiniStarterSection Title
  1416. highlight! link MiniSurround IncSearch
  1417. highlight! link MiniTablineFill TabLineFill
  1418. " }}}
  1419. " ggandor/lightspeed.nvim {{{
  1420. call gruvbox_material#highlight('LightspeedLabel', s:palette.red, s:palette.none, 'bold,underline')
  1421. call gruvbox_material#highlight('LightspeedLabelDistant', s:palette.blue, s:palette.none, 'bold,underline')
  1422. call gruvbox_material#highlight('LightspeedShortcut', s:palette.bg0, s:palette.red, 'bold')
  1423. call gruvbox_material#highlight('LightspeedUnlabeledMatch', s:palette.fg0, s:palette.none, 'bold')
  1424. call gruvbox_material#highlight('LightspeedPendingOpArea', s:palette.bg0, s:palette.green)
  1425. highlight! link LightspeedMaskedChar Purple
  1426. highlight! link LightspeedGreyWash Grey
  1427. " }}}
  1428. endif
  1429. " }}}
  1430. " Extended File Types: {{{
  1431. " Whitelist: {{{ File type optimizations that will always be loaded.
  1432. " diff {{{
  1433. highlight! link diffAdded Green
  1434. highlight! link diffRemoved Red
  1435. highlight! link diffChanged Blue
  1436. highlight! link diffOldFile Yellow
  1437. highlight! link diffNewFile Orange
  1438. highlight! link diffFile Aqua
  1439. highlight! link diffLine Grey
  1440. highlight! link diffIndexLine Purple
  1441. " }}}
  1442. " }}}
  1443. " Generate the `after/syntax` directory based on the comment tags in this file.
  1444. " For example, the content between `syn_begin: sh/zsh` and `syn_end` will be placed in `after/syntax/sh/gruvbox_material.vim` and `after/syntax/zsh/gruvbox_material.vim`.
  1445. if gruvbox_material#syn_exists(s:path) " If the syntax files exist.
  1446. if s:configuration.better_performance
  1447. if !gruvbox_material#syn_newest(s:path, s:last_modified) " Regenerate if it's not up to date.
  1448. call gruvbox_material#syn_clean(s:path, 0)
  1449. call gruvbox_material#syn_gen(s:path, s:last_modified, 'update')
  1450. endif
  1451. finish
  1452. else
  1453. call gruvbox_material#syn_clean(s:path, 1)
  1454. endif
  1455. else
  1456. if s:configuration.better_performance
  1457. call gruvbox_material#syn_gen(s:path, s:last_modified, 'generate')
  1458. finish
  1459. endif
  1460. endif
  1461. " syn_begin: vim-plug {{{
  1462. " https://github.com/junegunn/vim-plug
  1463. call gruvbox_material#highlight('plug1', s:palette.orange, s:palette.none, 'bold')
  1464. call gruvbox_material#highlight('plugNumber', s:palette.yellow, s:palette.none, 'bold')
  1465. highlight! link plug2 Green
  1466. highlight! link plugBracket Grey
  1467. highlight! link plugName Aqua
  1468. highlight! link plugDash Orange
  1469. highlight! link plugError Red
  1470. highlight! link plugNotLoaded Grey
  1471. highlight! link plugRelDate Grey
  1472. highlight! link plugH2 Orange
  1473. highlight! link plugMessage Orange
  1474. highlight! link plugStar Red
  1475. highlight! link plugUpdate Blue
  1476. highlight! link plugDeleted Grey
  1477. highlight! link plugEdge Yellow
  1478. highlight! link plugSha Green
  1479. " syn_end }}}
  1480. " syn_begin: packer {{{
  1481. " https://github.com/wbthomason/packer.nvim
  1482. highlight! link packerSuccess Aqua
  1483. highlight! link packerFail Red
  1484. highlight! link packerStatusSuccess Fg
  1485. highlight! link packerStatusFail Fg
  1486. highlight! link packerWorking Yellow
  1487. highlight! link packerString Yellow
  1488. highlight! link packerPackageNotLoaded Grey
  1489. highlight! link packerRelDate Grey
  1490. highlight! link packerPackageName Green
  1491. highlight! link packerOutput Orange
  1492. highlight! link packerHash Green
  1493. highlight! link packerTimeTrivial Blue
  1494. highlight! link packerTimeHigh Red
  1495. highlight! link packerTimeMedium Yellow
  1496. highlight! link packerTimeLow Green
  1497. " syn_end }}}
  1498. " syn_begin: coctree {{{
  1499. " https://github.com/neoclide/coc.nvim
  1500. highlight! link CocTreeOpenClose Aqua
  1501. highlight! link CocTreeDescription Grey
  1502. for kind in g:gruvbox_material_lsp_kind_color
  1503. execute "highlight! link CocSymbol" . kind[0] . " " . kind[1]
  1504. endfor
  1505. " syn_end }}}
  1506. " syn_begin: coc-explorer {{{
  1507. " https://github.com/weirongxu/coc-explorer
  1508. highlight! link CocExplorerBufferRoot Orange
  1509. highlight! link CocExplorerBufferExpandIcon Aqua
  1510. highlight! link CocExplorerBufferBufnr Purple
  1511. highlight! link CocExplorerBufferModified Yellow
  1512. highlight! link CocExplorerBufferReadonly Red
  1513. highlight! link CocExplorerBufferBufname Grey
  1514. highlight! link CocExplorerBufferFullpath Grey
  1515. highlight! link CocExplorerFileRoot Orange
  1516. highlight! link CocExplorerFileRootName Green
  1517. highlight! link CocExplorerFileExpandIcon Aqua
  1518. highlight! link CocExplorerFileFullpath Grey
  1519. highlight! link CocExplorerFileDirectory Green
  1520. highlight! link CocExplorerFileGitStaged Purple
  1521. highlight! link CocExplorerFileGitUnstaged Yellow
  1522. highlight! link CocExplorerFileGitRootStaged Purple
  1523. highlight! link CocExplorerFileGitRootUnstaged Yellow
  1524. highlight! link CocExplorerGitPathChange Fg
  1525. highlight! link CocExplorerGitContentChange Fg
  1526. highlight! link CocExplorerGitRenamed Purple
  1527. highlight! link CocExplorerGitCopied Fg
  1528. highlight! link CocExplorerGitAdded Green
  1529. highlight! link CocExplorerGitUntracked Blue
  1530. highlight! link CocExplorerGitUnmodified Fg
  1531. highlight! link CocExplorerGitUnmerged Orange
  1532. highlight! link CocExplorerGitMixed Aqua
  1533. highlight! link CocExplorerGitModified Yellow
  1534. highlight! link CocExplorerGitDeleted Red
  1535. highlight! link CocExplorerGitIgnored Grey
  1536. highlight! link CocExplorerFileSize Blue
  1537. highlight! link CocExplorerTimeAccessed Aqua
  1538. highlight! link CocExplorerTimeCreated Aqua
  1539. highlight! link CocExplorerTimeModified Aqua
  1540. highlight! link CocExplorerIndentLine Conceal
  1541. highlight! link CocExplorerHelpDescription Grey
  1542. highlight! link CocExplorerHelpHint Grey
  1543. highlight! link CocExplorerDiagnosticError Red
  1544. highlight! link CocExplorerDiagnosticWarning Yellow
  1545. highlight! link CocExplorerFileHidden Grey
  1546. " syn_end }}}
  1547. " syn_begin: tagbar {{{
  1548. " https://github.com/majutsushi/tagbar
  1549. highlight! link TagbarFoldIcon Green
  1550. highlight! link TagbarSignature Green
  1551. highlight! link TagbarKind Red
  1552. highlight! link TagbarScope Orange
  1553. highlight! link TagbarNestedKind Aqua
  1554. highlight! link TagbarVisibilityPrivate Red
  1555. highlight! link TagbarVisibilityPublic Blue
  1556. " syn_end }}}
  1557. " syn_begin: vista/vista_kind/vista_markdown {{{
  1558. " https://github.com/liuchengxu/vista.vim
  1559. highlight! link VistaBracket Grey
  1560. highlight! link VistaChildrenNr Orange
  1561. highlight! link VistaScope Red
  1562. highlight! link VistaTag Green
  1563. highlight! link VistaPrefix Grey
  1564. highlight! link VistaIcon Orange
  1565. highlight! link VistaScopeKind Yellow
  1566. highlight! link VistaColon Grey
  1567. highlight! link VistaLineNr Grey
  1568. highlight! link VistaHeadNr Fg
  1569. highlight! link VistaPublic Green
  1570. highlight! link VistaProtected Yellow
  1571. highlight! link VistaPrivate Red
  1572. " syn_end }}}
  1573. " syn_begin: Outline {{{
  1574. " https://github.com/simrat39/symbols-outline.nvim
  1575. highlight! link FocusedSymbol NormalFloat
  1576. " syn_end }}}
  1577. " syn_begin: aerial {{{
  1578. " https://github.com/stevearc/aerial.nvim
  1579. highlight! link AerialLine CursorLine
  1580. highlight! link AerialGuide LineNr
  1581. for kind in g:gruvbox_material_lsp_kind_color
  1582. execute "highlight! link Aerial" . kind[0] . "Icon " . kind[1]
  1583. endfor
  1584. " syn_end }}}
  1585. " syn_begin: nerdtree {{{
  1586. " https://github.com/preservim/nerdtree
  1587. highlight! link NERDTreeDir Green
  1588. highlight! link NERDTreeDirSlash Aqua
  1589. highlight! link NERDTreeOpenable Orange
  1590. highlight! link NERDTreeClosable Orange
  1591. highlight! link NERDTreeFile Fg
  1592. highlight! link NERDTreeExecFile Yellow
  1593. highlight! link NERDTreeUp Grey
  1594. highlight! link NERDTreeCWD Aqua
  1595. highlight! link NERDTreeHelp LightGrey
  1596. highlight! link NERDTreeToggleOn Green
  1597. highlight! link NERDTreeToggleOff Red
  1598. highlight! link NERDTreeFlags Orange
  1599. highlight! link NERDTreeLinkFile Grey
  1600. highlight! link NERDTreeLinkTarget Green
  1601. " syn_end }}}
  1602. " syn_begin: dirvish {{{
  1603. " https://github.com/justinmk/vim-dirvish
  1604. highlight! link DirvishPathTail Aqua
  1605. highlight! link DirvishArg Yellow
  1606. " syn_end }}}
  1607. " syn_begin: NvimTree {{{
  1608. " https://github.com/kyazdani42/nvim-tree.lua
  1609. if !s:configuration.transparent_background
  1610. call gruvbox_material#highlight('NvimTreeNormal', s:palette.fg0, s:palette.bg_dim)
  1611. call gruvbox_material#highlight('NvimTreeEndOfBuffer', s:palette.bg_dim, s:palette.bg_dim)
  1612. call gruvbox_material#highlight('NvimTreeVertSplit', s:palette.bg0, s:palette.bg0)
  1613. call gruvbox_material#highlight('NvimTreeCursorLine', s:palette.none, s:palette.bg0)
  1614. endif
  1615. highlight! link NvimTreeSymlink Fg
  1616. highlight! link NvimTreeFolderName Green
  1617. highlight! link NvimTreeRootFolder Grey
  1618. highlight! link NvimTreeFolderIcon Orange
  1619. highlight! link NvimTreeEmptyFolderName Green
  1620. highlight! link NvimTreeOpenedFolderName Green
  1621. highlight! link NvimTreeExecFile Fg
  1622. highlight! link NvimTreeOpenedFile Fg
  1623. highlight! link NvimTreeSpecialFile Fg
  1624. highlight! link NvimTreeImageFile Fg
  1625. highlight! link NvimTreeMarkdownFile Fg
  1626. highlight! link NvimTreeIndentMarker Grey
  1627. highlight! link NvimTreeGitDirty Yellow
  1628. highlight! link NvimTreeGitStaged Blue
  1629. highlight! link NvimTreeGitMerge Orange
  1630. highlight! link NvimTreeGitRenamed Purple
  1631. highlight! link NvimTreeGitNew Aqua
  1632. highlight! link NvimTreeGitDeleted Red
  1633. highlight! link NvimTreeLspDiagnosticsError RedSign
  1634. highlight! link NvimTreeLspDiagnosticsWarning YellowSign
  1635. highlight! link NvimTreeLspDiagnosticsInformation BlueSign
  1636. highlight! link NvimTreeLspDiagnosticsHint GreenSign
  1637. " syn_end }}}
  1638. " syn_begin: fern {{{
  1639. " https://github.com/lambdalisue/fern.vim
  1640. highlight! link FernMarkedLine Purple
  1641. highlight! link FernMarkedText Purple
  1642. highlight! link FernRootSymbol FernRootText
  1643. highlight! link FernRootText Orange
  1644. highlight! link FernLeafSymbol FernLeafText
  1645. highlight! link FernLeafText Fg
  1646. highlight! link FernBranchSymbol FernBranchText
  1647. highlight! link FernBranchText Green
  1648. highlight! link FernWindowSelectIndicator TabLineSel
  1649. highlight! link FernWindowSelectStatusLine TabLine
  1650. " syn_end }}}
  1651. " syn_begin: neo-tree {{{
  1652. " https://github.com/nvim-neo-tree/neo-tree.nvim
  1653. if !s:configuration.transparent_background
  1654. call gruvbox_material#highlight('NeoTreeNormal', s:palette.fg0, s:palette.bg_dim)
  1655. call gruvbox_material#highlight('NeoTreeEndOfBuffer', s:palette.bg_dim, s:palette.bg_dim)
  1656. call gruvbox_material#highlight('NeoTreeVertSplit', s:palette.bg0, s:palette.bg0)
  1657. endif
  1658. highlight! link NeoTreeDirectoryIcon Orange
  1659. highlight! link NeoTreeGitAdded Green
  1660. highlight! link NeoTreeGitConflict Yellow
  1661. highlight! link NeoTreeGitDeleted Red
  1662. highlight! link NeoTreeGitIgnored Grey
  1663. highlight! link NeoTreeGitModified Blue
  1664. highlight! link NeoTreeGitUnstaged Purple
  1665. highlight! link NeoTreeGitUntracked Fg
  1666. highlight! link NeoTreeGitStaged Purple
  1667. highlight! link NeoTreeDimText Grey
  1668. highlight! link NeoTreeIndentMarker NonText
  1669. highlight! link NeoTreeNormalNC NeoTreeNormal
  1670. highlight! link NeoTreeSignColumn NeoTreeNormal
  1671. highlight! link NeoTreeRootName Title
  1672. " syn_end }}}
  1673. " syn_begin: octo {{{
  1674. " https://github.com/pwntester/octo.nvim
  1675. call gruvbox_material#highlight('OctoViewer', s:palette.bg0, s:palette.blue)
  1676. call gruvbox_material#highlight('OctoGreenFloat', s:palette.green, s:palette.bg3)
  1677. call gruvbox_material#highlight('OctoRedFloat', s:palette.red, s:palette.bg3)
  1678. call gruvbox_material#highlight('OctoPurpleFloat', s:palette.purple, s:palette.bg3)
  1679. call gruvbox_material#highlight('OctoYellowFloat', s:palette.yellow, s:palette.bg3)
  1680. call gruvbox_material#highlight('OctoBlueFloat', s:palette.blue, s:palette.bg3)
  1681. call gruvbox_material#highlight('OctoGreyFloat', s:palette.grey1, s:palette.bg3)
  1682. call gruvbox_material#highlight('OctoBubbleGreen', s:palette.bg0, s:palette.green)
  1683. call gruvbox_material#highlight('OctoBubbleRed', s:palette.bg0, s:palette.red)
  1684. call gruvbox_material#highlight('OctoBubblePurple', s:palette.bg0, s:palette.purple)
  1685. call gruvbox_material#highlight('OctoBubbleYellow', s:palette.bg0, s:palette.yellow)
  1686. call gruvbox_material#highlight('OctoBubbleBlue', s:palette.bg0, s:palette.blue)
  1687. call gruvbox_material#highlight('OctoBubbleGrey', s:palette.bg0, s:palette.grey1)
  1688. highlight! link OctoGreen Green
  1689. highlight! link OctoRed Red
  1690. highlight! link OctoPurple Purple
  1691. highlight! link OctoYellow Yellow
  1692. highlight! link OctoBlue Blue
  1693. highlight! link OctoGrey Grey
  1694. highlight! link OctoBubbleDelimiterGreen Green
  1695. highlight! link OctoBubbleDelimiterRed Red
  1696. highlight! link OctoBubbleDelimiterPurple Purple
  1697. highlight! link OctoBubbleDelimiterYellow Yellow
  1698. highlight! link OctoBubbleDelimiterBlue Blue
  1699. highlight! link OctoBubbleDelimiterGrey Grey
  1700. " syn_end }}}
  1701. " syn_begin: netrw {{{
  1702. " https://www.vim.org/scripts/script.php?script_id=1075
  1703. highlight! link netrwDir Green
  1704. highlight! link netrwClassify Green
  1705. highlight! link netrwLink Grey
  1706. highlight! link netrwSymLink Fg
  1707. highlight! link netrwExe Yellow
  1708. highlight! link netrwComment Grey
  1709. highlight! link netrwList Aqua
  1710. highlight! link netrwHelpCmd Blue
  1711. highlight! link netrwCmdSep Grey
  1712. highlight! link netrwVersion Orange
  1713. " syn_end }}}
  1714. " syn_begin: startify/quickmenu {{{
  1715. " https://github.com/mhinz/vim-startify
  1716. " https://github.com/skywind3000/quickmenu.vim
  1717. highlight! link StartifyBracket Grey
  1718. highlight! link StartifyFile Fg
  1719. highlight! link StartifyNumber Red
  1720. highlight! link StartifyPath Green
  1721. highlight! link StartifySlash Green
  1722. highlight! link StartifySection Yellow
  1723. highlight! link StartifyHeader Orange
  1724. highlight! link StartifySpecial Grey
  1725. highlight! link StartifyFooter Grey
  1726. " syn_end }}}
  1727. " syn_begin: quickmenu {{{
  1728. " https://github.com/skywind3000/quickmenu.vim
  1729. highlight! link QuickmenuOption Green
  1730. highlight! link QuickmenuNumber Red
  1731. highlight! link QuickmenuBracket Grey
  1732. highlight! link QuickmenuHelp Green
  1733. highlight! link QuickmenuSpecial Purple
  1734. highlight! link QuickmenuHeader Orange
  1735. " syn_end }}}
  1736. " syn_begin: undotree {{{
  1737. " https://github.com/mbbill/undotree
  1738. call gruvbox_material#highlight('UndotreeSavedBig', s:palette.purple, s:palette.none, 'bold')
  1739. highlight! link UndotreeNode Orange
  1740. highlight! link UndotreeNodeCurrent Red
  1741. highlight! link UndotreeSeq Green
  1742. highlight! link UndotreeNext Blue
  1743. highlight! link UndotreeTimeStamp Grey
  1744. highlight! link UndotreeHead Yellow
  1745. highlight! link UndotreeBranch Yellow
  1746. highlight! link UndotreeCurrent Aqua
  1747. highlight! link UndotreeSavedSmall Purple
  1748. " syn_end }}}
  1749. " syn_begin: NeogitStatus/NeogitCommitView {{{
  1750. " https://github.com/TimUntersberger/neogit
  1751. highlight! link NeogitNotificationInfo Blue
  1752. highlight! link NeogitNotificationWarning Yellow
  1753. highlight! link NeogitNotificationError Red
  1754. highlight! link NeogitDiffAdd Green
  1755. highlight! link NeogitDiffDelete Red
  1756. highlight! link NeogitDiffContextHighlight CursorLine
  1757. highlight! link NeogitHunkHeaderHighlight TabLine
  1758. highlight! link NeogitHunkHeader TabLineFill
  1759. highlight! link NeogitCommandCodeNormal Green
  1760. highlight! link NeogitCommandCodeError Red
  1761. highlight! link NeogitCommitViewHeader diffIndexLine
  1762. highlight! link NeogitFilePath diffFile
  1763. " syn_end }}}
  1764. " syn_begin: dashboard {{{
  1765. " https://github.com/glepnir/dashboard-nvim
  1766. highlight! link DashboardHeader Yellow
  1767. highlight! link DashboardCenter Green
  1768. highlight! link DashboardShortcut Red
  1769. highlight! link DashboardFooter Orange
  1770. " syn_end }}}
  1771. " syn_begin: markdown {{{
  1772. " builtin: {{{
  1773. call gruvbox_material#highlight('markdownH1', s:palette.red, s:palette.none, 'bold')
  1774. call gruvbox_material#highlight('markdownH2', s:palette.orange, s:palette.none, 'bold')
  1775. call gruvbox_material#highlight('markdownH3', s:palette.yellow, s:palette.none, 'bold')
  1776. call gruvbox_material#highlight('markdownH4', s:palette.green, s:palette.none, 'bold')
  1777. call gruvbox_material#highlight('markdownH5', s:palette.blue, s:palette.none, 'bold')
  1778. call gruvbox_material#highlight('markdownH6', s:palette.purple, s:palette.none, 'bold')
  1779. call gruvbox_material#highlight('markdownUrl', s:palette.blue, s:palette.none, 'underline')
  1780. call gruvbox_material#highlight('markdownItalic', s:palette.none, s:palette.none, 'italic')
  1781. call gruvbox_material#highlight('markdownBold', s:palette.none, s:palette.none, 'bold')
  1782. call gruvbox_material#highlight('markdownItalicDelimiter', s:palette.grey1, s:palette.none, 'italic')
  1783. highlight! link markdownCode Green
  1784. highlight! link markdownCodeBlock Aqua
  1785. highlight! link markdownCodeDelimiter Aqua
  1786. highlight! link markdownBlockquote Grey
  1787. highlight! link markdownListMarker Red
  1788. highlight! link markdownOrderedListMarker Red
  1789. highlight! link markdownRule Purple
  1790. highlight! link markdownHeadingRule Grey
  1791. highlight! link markdownUrlDelimiter Grey
  1792. highlight! link markdownLinkDelimiter Grey
  1793. highlight! link markdownLinkTextDelimiter Grey
  1794. highlight! link markdownHeadingDelimiter Grey
  1795. highlight! link markdownLinkText Purple
  1796. highlight! link markdownUrlTitleDelimiter Green
  1797. highlight! link markdownIdDeclaration markdownLinkText
  1798. highlight! link markdownBoldDelimiter Grey
  1799. highlight! link markdownId Yellow
  1800. " }}}
  1801. " vim-markdown: https://github.com/gabrielelana/vim-markdown {{{
  1802. call gruvbox_material#highlight('mkdURL', s:palette.blue, s:palette.none, 'underline')
  1803. call gruvbox_material#highlight('mkdInlineURL', s:palette.purple, s:palette.none, 'underline')
  1804. call gruvbox_material#highlight('mkdItalic', s:palette.grey1, s:palette.none, 'italic')
  1805. highlight! link mkdCodeDelimiter Aqua
  1806. highlight! link mkdBold Grey
  1807. highlight! link mkdLink Purple
  1808. highlight! link mkdHeading Grey
  1809. highlight! link mkdListItem Red
  1810. highlight! link mkdRule Purple
  1811. highlight! link mkdDelimiter Grey
  1812. highlight! link mkdId Yellow
  1813. " }}}
  1814. " nvim-treesitter/nvim-treesitter {{{
  1815. if has('nvim-0.8')
  1816. highlight! link @markup.heading.1.markdown markdownH1
  1817. highlight! link @markup.heading.2.markdown markdownH2
  1818. highlight! link @markup.heading.3.markdown markdownH3
  1819. highlight! link @markup.heading.4.markdown markdownH4
  1820. highlight! link @markup.heading.5.markdown markdownH5
  1821. highlight! link @markup.heading.6.markdown markdownH6
  1822. highlight! link @markup.heading.1.marker.markdown @conceal
  1823. highlight! link @markup.heading.2.marker.markdown @conceal
  1824. highlight! link @markup.heading.3.marker.markdown @conceal
  1825. highlight! link @markup.heading.4.marker.markdown @conceal
  1826. highlight! link @markup.heading.5.marker.markdown @conceal
  1827. highlight! link @markup.heading.6.marker.markdown @conceal
  1828. if !has('nvim-0.10')
  1829. call gruvbox_material#highlight('@markup.italic', s:palette.none, s:palette.none, 'italic')
  1830. call gruvbox_material#highlight('@markup.strikethrough', s:palette.none, s:palette.none, 'strikethrough')
  1831. endif
  1832. endif
  1833. " }}}
  1834. " syn_end }}}
  1835. " syn_begin: vimwiki {{{
  1836. call gruvbox_material#highlight('VimwikiHeader1', s:palette.red, s:palette.none, 'bold')
  1837. call gruvbox_material#highlight('VimwikiHeader2', s:palette.orange, s:palette.none, 'bold')
  1838. call gruvbox_material#highlight('VimwikiHeader3', s:palette.yellow, s:palette.none, 'bold')
  1839. call gruvbox_material#highlight('VimwikiHeader4', s:palette.green, s:palette.none, 'bold')
  1840. call gruvbox_material#highlight('VimwikiHeader5', s:palette.blue, s:palette.none, 'bold')
  1841. call gruvbox_material#highlight('VimwikiHeader6', s:palette.purple, s:palette.none, 'bold')
  1842. call gruvbox_material#highlight('VimwikiLink', s:palette.blue, s:palette.none, 'underline')
  1843. call gruvbox_material#highlight('VimwikiItalic', s:palette.none, s:palette.none, 'italic')
  1844. call gruvbox_material#highlight('VimwikiBold', s:palette.none, s:palette.none, 'bold')
  1845. call gruvbox_material#highlight('VimwikiUnderline', s:palette.none, s:palette.none, 'underline')
  1846. highlight! link VimwikiList Red
  1847. highlight! link VimwikiTag Aqua
  1848. highlight! link VimwikiCode Green
  1849. highlight! link VimwikiHR Yellow
  1850. highlight! link VimwikiHeaderChar Grey
  1851. highlight! link VimwikiMarkers Grey
  1852. highlight! link VimwikiPre Green
  1853. highlight! link VimwikiPreDelim Green
  1854. highlight! link VimwikiNoExistsLink Red
  1855. " syn_end }}}
  1856. " syn_begin: rst {{{
  1857. " builtin: https://github.com/marshallward/vim-restructuredtext {{{
  1858. call gruvbox_material#highlight('rstStandaloneHyperlink', s:palette.purple, s:palette.none, 'underline')
  1859. highlight! link rstSubstitutionReference Blue
  1860. highlight! link rstInterpretedTextOrHyperlinkReference Aqua
  1861. highlight! link rstTableLines Grey
  1862. " }}}
  1863. " syn_end }}}
  1864. " syn_begin: tex {{{
  1865. " builtin: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX {{{
  1866. highlight! link texStatement Green
  1867. highlight! link texOnlyMath Grey
  1868. highlight! link texDefName Yellow
  1869. highlight! link texNewCmd Orange
  1870. highlight! link texCmdName Blue
  1871. highlight! link texBeginEnd Red
  1872. highlight! link texBeginEndName Blue
  1873. highlight! link texDocType Purple
  1874. highlight! link texDocTypeArgs Orange
  1875. " }}}
  1876. " vimtex: https://github.com/lervag/vimtex {{{
  1877. highlight! link texCmd Green
  1878. highlight! link texCmdClass Purple
  1879. highlight! link texCmdTitle Purple
  1880. highlight! link texCmdAuthor Purple
  1881. highlight! link texCmdPart Purple
  1882. highlight! link texCmdBib Purple
  1883. highlight! link texCmdPackage Yellow
  1884. highlight! link texCmdNew Yellow
  1885. highlight! link texArgNew Orange
  1886. highlight! link texPartArgTitle BlueItalic
  1887. highlight! link texFileArg BlueItalic
  1888. highlight! link texEnvArgName BlueItalic
  1889. highlight! link texMathEnvArgName BlueItalic
  1890. highlight! link texTitleArg BlueItalic
  1891. highlight! link texAuthorArg BlueItalic
  1892. " }}}
  1893. " syn_end }}}
  1894. " syn_begin: html/markdown/javascriptreact/typescriptreact {{{
  1895. " builtin: https://notabug.org/jorgesumle/vim-html-syntax {{{
  1896. call gruvbox_material#highlight('htmlH1', s:palette.red, s:palette.none, 'bold')
  1897. call gruvbox_material#highlight('htmlH2', s:palette.orange, s:palette.none, 'bold')
  1898. call gruvbox_material#highlight('htmlH3', s:palette.yellow, s:palette.none, 'bold')
  1899. call gruvbox_material#highlight('htmlH4', s:palette.green, s:palette.none, 'bold')
  1900. call gruvbox_material#highlight('htmlH5', s:palette.blue, s:palette.none, 'bold')
  1901. call gruvbox_material#highlight('htmlH6', s:palette.purple, s:palette.none, 'bold')
  1902. call gruvbox_material#highlight('htmlLink', s:palette.none, s:palette.none, 'underline')
  1903. call gruvbox_material#highlight('htmlBold', s:palette.none, s:palette.none, 'bold')
  1904. call gruvbox_material#highlight('htmlBoldUnderline', s:palette.none, s:palette.none, 'bold,underline')
  1905. call gruvbox_material#highlight('htmlBoldItalic', s:palette.none, s:palette.none, 'bold,italic')
  1906. call gruvbox_material#highlight('htmlBoldUnderlineItalic', s:palette.none, s:palette.none, 'bold,underline,italic')
  1907. call gruvbox_material#highlight('htmlUnderline', s:palette.none, s:palette.none, 'underline')
  1908. call gruvbox_material#highlight('htmlUnderlineItalic', s:palette.none, s:palette.none, 'underline,italic')
  1909. call gruvbox_material#highlight('htmlItalic', s:palette.none, s:palette.none, 'italic')
  1910. highlight! link htmlTag Green
  1911. highlight! link htmlEndTag Blue
  1912. highlight! link htmlTagN OrangeItalic
  1913. highlight! link htmlTagName OrangeItalic
  1914. highlight! link htmlArg Aqua
  1915. highlight! link htmlScriptTag Purple
  1916. highlight! link htmlSpecialTagName RedItalic
  1917. " }}}
  1918. " nvim-treesitter/nvim-treesitter {{{
  1919. highlight! link htmlTSText TSNone
  1920. if has('nvim-0.8.0')
  1921. highlight! link @text.html htmlTSText
  1922. endif
  1923. " }}}
  1924. " syn_end }}}
  1925. " syn_begin: xml {{{
  1926. " builtin: https://github.com/chrisbra/vim-xml-ftplugin {{{
  1927. highlight! link xmlTag Green
  1928. highlight! link xmlEndTag Blue
  1929. highlight! link xmlTagName OrangeItalic
  1930. highlight! link xmlEqual Orange
  1931. highlight! link xmlAttrib Aqua
  1932. highlight! link xmlEntity Red
  1933. highlight! link xmlEntityPunct Red
  1934. highlight! link xmlDocTypeDecl Grey
  1935. highlight! link xmlDocTypeKeyword PurpleItalic
  1936. highlight! link xmlCdataStart Grey
  1937. highlight! link xmlCdataCdata Purple
  1938. " }}}
  1939. " syn_end }}}
  1940. " syn_begin: css/scss/sass/less {{{
  1941. " builtin: https://github.com/JulesWang/css.vim {{{
  1942. highlight! link cssAttrComma Fg
  1943. highlight! link cssBraces Fg
  1944. highlight! link cssTagName PurpleItalic
  1945. highlight! link cssClassNameDot Red
  1946. highlight! link cssClassName RedItalic
  1947. highlight! link cssFunctionName Yellow
  1948. highlight! link cssAttr Orange
  1949. highlight! link cssProp Aqua
  1950. highlight! link cssCommonAttr Yellow
  1951. highlight! link cssPseudoClassId Blue
  1952. highlight! link cssPseudoClassFn Green
  1953. highlight! link cssPseudoClass Purple
  1954. highlight! link cssImportant RedItalic
  1955. highlight! link cssSelectorOp Orange
  1956. highlight! link cssSelectorOp2 Orange
  1957. highlight! link cssColor Green
  1958. highlight! link cssAttributeSelector Aqua
  1959. highlight! link cssUnitDecorators Orange
  1960. highlight! link cssValueLength Green
  1961. highlight! link cssValueInteger Green
  1962. highlight! link cssValueNumber Green
  1963. highlight! link cssValueAngle Green
  1964. highlight! link cssValueTime Green
  1965. highlight! link cssValueFrequency Green
  1966. highlight! link cssVendor Grey
  1967. highlight! link cssNoise Grey
  1968. " }}}
  1969. " syn_end }}}
  1970. " syn_begin: scss {{{
  1971. " scss-syntax: https://github.com/cakebaker/scss-syntax.vim {{{
  1972. highlight! link scssMixinName Yellow
  1973. highlight! link scssSelectorChar Red
  1974. highlight! link scssSelectorName RedItalic
  1975. highlight! link scssInterpolationDelimiter Green
  1976. highlight! link scssVariableValue Green
  1977. highlight! link scssNull Purple
  1978. highlight! link scssBoolean Purple
  1979. highlight! link scssVariableAssignment Grey
  1980. highlight! link scssForKeyword PurpleItalic
  1981. highlight! link scssAttribute Orange
  1982. highlight! link scssFunctionName Yellow
  1983. " }}}
  1984. " syn_end }}}
  1985. " syn_begin: sass {{{
  1986. " builtin: {{{
  1987. highlight! link sassProperty Aqua
  1988. highlight! link sassAmpersand Orange
  1989. highlight! link sassClass RedItalic
  1990. highlight! link sassClassChar Red
  1991. highlight! link sassMixing PurpleItalic
  1992. highlight! link sassMixinName Orange
  1993. highlight! link sassCssAttribute Yellow
  1994. highlight! link sassInterpolationDelimiter Green
  1995. highlight! link sassFunction Yellow
  1996. highlight! link sassControl RedItalic
  1997. highlight! link sassFor RedItalic
  1998. highlight! link sassFunctionName GreenBold
  1999. " }}}
  2000. " syn_end }}}
  2001. " syn_begin: less {{{
  2002. " vim-less: https://github.com/groenewege/vim-less {{{
  2003. highlight! link lessMixinChar Grey
  2004. highlight! link lessClass RedItalic
  2005. highlight! link lessVariable Blue
  2006. highlight! link lessAmpersandChar Orange
  2007. highlight! link lessFunction Yellow
  2008. " }}}
  2009. " syn_end }}}
  2010. " syn_begin: javascript/javascriptreact {{{
  2011. " builtin: http://www.fleiner.com/vim/syntax/javascript.vim {{{
  2012. highlight! link javaScriptNull Aqua
  2013. highlight! link javaScriptIdentifier Orange
  2014. highlight! link javaScriptParens Fg
  2015. highlight! link javaScriptBraces Fg
  2016. highlight! link javaScriptGlobal Purple
  2017. highlight! link javaScriptMessage Yellow
  2018. highlight! link javaScriptFunction RedItalic
  2019. highlight! link javaScriptOperator Orange
  2020. highlight! link javaScriptMember Aqua
  2021. " }}}
  2022. " vim-javascript: https://github.com/pangloss/vim-javascript {{{
  2023. highlight! link jsThis Purple
  2024. highlight! link jsUndefined Aqua
  2025. highlight! link jsNull Aqua
  2026. highlight! link jsNan Aqua
  2027. highlight! link jsSuper Purple
  2028. highlight! link jsPrototype Purple
  2029. highlight! link jsFunction RedItalic
  2030. highlight! link jsGlobalNodeObjects PurpleItalic
  2031. highlight! link jsGlobalObjects Yellow
  2032. highlight! link jsArrowFunction Purple
  2033. highlight! link jsArrowFuncArgs Blue
  2034. highlight! link jsFuncArgs Blue
  2035. highlight! link jsObjectProp Aqua
  2036. highlight! link jsVariableDef Blue
  2037. highlight! link jsObjectKey Aqua
  2038. highlight! link jsParen Blue
  2039. highlight! link jsParenIfElse Blue
  2040. highlight! link jsParenRepeat Blue
  2041. highlight! link jsParenSwitch Blue
  2042. highlight! link jsParenCatch Blue
  2043. highlight! link jsBracket Blue
  2044. highlight! link jsBlockLabel Aqua
  2045. highlight! link jsFunctionKey GreenBold
  2046. highlight! link jsClassDefinition Yellow
  2047. highlight! link jsDot Grey
  2048. highlight! link jsDestructuringBlock Blue
  2049. highlight! link jsSpreadExpression Purple
  2050. highlight! link jsSpreadOperator Green
  2051. highlight! link jsModuleKeyword Yellow
  2052. highlight! link jsObjectValue Blue
  2053. highlight! link jsTemplateExpression Yellow
  2054. highlight! link jsTemplateBraces Yellow
  2055. highlight! link jsClassMethodType Orange
  2056. " }}}
  2057. " nvim-treesitter/nvim-treesitter {{{
  2058. if has('nvim-0.9.0')
  2059. highlight! link @lsp.typemod.variable.defaultLibrary.javascript TSConstBuiltin
  2060. highlight! link @lsp.typemod.variable.defaultLibrary.javascriptreact TSConstBuiltin
  2061. endif
  2062. " }}}
  2063. " yajs: https://github.com/othree/yajs.vim {{{
  2064. highlight! link javascriptEndColons Fg
  2065. highlight! link javascriptOpSymbol Orange
  2066. highlight! link javascriptOpSymbols Orange
  2067. highlight! link javascriptIdentifierName Blue
  2068. highlight! link javascriptVariable Orange
  2069. highlight! link javascriptObjectLabel Aqua
  2070. highlight! link javascriptObjectLabelColon Grey
  2071. highlight! link javascriptPropertyNameString Aqua
  2072. highlight! link javascriptFuncArg Blue
  2073. highlight! link javascriptIdentifier Purple
  2074. highlight! link javascriptArrowFunc Purple
  2075. highlight! link javascriptTemplate Yellow
  2076. highlight! link javascriptTemplateSubstitution Yellow
  2077. highlight! link javascriptTemplateSB Yellow
  2078. highlight! link javascriptNodeGlobal PurpleItalic
  2079. highlight! link javascriptDocTags PurpleItalic
  2080. highlight! link javascriptDocNotation Purple
  2081. highlight! link javascriptClassSuper Purple
  2082. highlight! link javascriptClassName Yellow
  2083. highlight! link javascriptClassSuperName Yellow
  2084. highlight! link javascriptBrackets Fg
  2085. highlight! link javascriptBraces Fg
  2086. highlight! link javascriptLabel Purple
  2087. highlight! link javascriptDotNotation Grey
  2088. highlight! link javascriptGlobalArrayDot Grey
  2089. highlight! link javascriptGlobalBigIntDot Grey
  2090. highlight! link javascriptGlobalDateDot Grey
  2091. highlight! link javascriptGlobalJSONDot Grey
  2092. highlight! link javascriptGlobalMathDot Grey
  2093. highlight! link javascriptGlobalNumberDot Grey
  2094. highlight! link javascriptGlobalObjectDot Grey
  2095. highlight! link javascriptGlobalPromiseDot Grey
  2096. highlight! link javascriptGlobalRegExpDot Grey
  2097. highlight! link javascriptGlobalStringDot Grey
  2098. highlight! link javascriptGlobalSymbolDot Grey
  2099. highlight! link javascriptGlobalURLDot Grey
  2100. highlight! link javascriptMethod GreenBold
  2101. highlight! link javascriptMethodName GreenBold
  2102. highlight! link javascriptObjectMethodName GreenBold
  2103. highlight! link javascriptGlobalMethod GreenBold
  2104. highlight! link javascriptDOMStorageMethod GreenBold
  2105. highlight! link javascriptFileMethod GreenBold
  2106. highlight! link javascriptFileReaderMethod GreenBold
  2107. highlight! link javascriptFileListMethod GreenBold
  2108. highlight! link javascriptBlobMethod GreenBold
  2109. highlight! link javascriptURLStaticMethod GreenBold
  2110. highlight! link javascriptNumberStaticMethod GreenBold
  2111. highlight! link javascriptNumberMethod GreenBold
  2112. highlight! link javascriptDOMNodeMethod GreenBold
  2113. highlight! link javascriptES6BigIntStaticMethod GreenBold
  2114. highlight! link javascriptBOMWindowMethod GreenBold
  2115. highlight! link javascriptHeadersMethod GreenBold
  2116. highlight! link javascriptRequestMethod GreenBold
  2117. highlight! link javascriptResponseMethod GreenBold
  2118. highlight! link javascriptES6SetMethod GreenBold
  2119. highlight! link javascriptReflectMethod GreenBold
  2120. highlight! link javascriptPaymentMethod GreenBold
  2121. highlight! link javascriptPaymentResponseMethod GreenBold
  2122. highlight! link javascriptTypedArrayStaticMethod GreenBold
  2123. highlight! link javascriptGeolocationMethod GreenBold
  2124. highlight! link javascriptES6MapMethod GreenBold
  2125. highlight! link javascriptServiceWorkerMethod GreenBold
  2126. highlight! link javascriptCacheMethod GreenBold
  2127. highlight! link javascriptFunctionMethod GreenBold
  2128. highlight! link javascriptXHRMethod GreenBold
  2129. highlight! link javascriptBOMNavigatorMethod GreenBold
  2130. highlight! link javascriptServiceWorkerMethod GreenBold
  2131. highlight! link javascriptDOMEventTargetMethod GreenBold
  2132. highlight! link javascriptDOMEventMethod GreenBold
  2133. highlight! link javascriptIntlMethod GreenBold
  2134. highlight! link javascriptDOMDocMethod GreenBold
  2135. highlight! link javascriptStringStaticMethod GreenBold
  2136. highlight! link javascriptStringMethod GreenBold
  2137. highlight! link javascriptSymbolStaticMethod GreenBold
  2138. highlight! link javascriptRegExpMethod GreenBold
  2139. highlight! link javascriptObjectStaticMethod GreenBold
  2140. highlight! link javascriptObjectMethod GreenBold
  2141. highlight! link javascriptBOMLocationMethod GreenBold
  2142. highlight! link javascriptJSONStaticMethod GreenBold
  2143. highlight! link javascriptGeneratorMethod GreenBold
  2144. highlight! link javascriptEncodingMethod GreenBold
  2145. highlight! link javascriptPromiseStaticMethod GreenBold
  2146. highlight! link javascriptPromiseMethod GreenBold
  2147. highlight! link javascriptBOMHistoryMethod GreenBold
  2148. highlight! link javascriptDOMFormMethod GreenBold
  2149. highlight! link javascriptClipboardMethod GreenBold
  2150. highlight! link javascriptTypedArrayStaticMethod GreenBold
  2151. highlight! link javascriptBroadcastMethod GreenBold
  2152. highlight! link javascriptDateStaticMethod GreenBold
  2153. highlight! link javascriptDateMethod GreenBold
  2154. highlight! link javascriptConsoleMethod GreenBold
  2155. highlight! link javascriptArrayStaticMethod GreenBold
  2156. highlight! link javascriptArrayMethod GreenBold
  2157. highlight! link javascriptMathStaticMethod GreenBold
  2158. highlight! link javascriptSubtleCryptoMethod GreenBold
  2159. highlight! link javascriptCryptoMethod GreenBold
  2160. highlight! link javascriptProp Aqua
  2161. highlight! link javascriptBOMWindowProp Aqua
  2162. highlight! link javascriptDOMStorageProp Aqua
  2163. highlight! link javascriptFileReaderProp Aqua
  2164. highlight! link javascriptURLUtilsProp Aqua
  2165. highlight! link javascriptNumberStaticProp Aqua
  2166. highlight! link javascriptDOMNodeProp Aqua
  2167. highlight! link javascriptRequestProp Aqua
  2168. highlight! link javascriptResponseProp Aqua
  2169. highlight! link javascriptES6SetProp Aqua
  2170. highlight! link javascriptPaymentProp Aqua
  2171. highlight! link javascriptPaymentResponseProp Aqua
  2172. highlight! link javascriptPaymentAddressProp Aqua
  2173. highlight! link javascriptPaymentShippingOptionProp Aqua
  2174. highlight! link javascriptTypedArrayStaticProp Aqua
  2175. highlight! link javascriptServiceWorkerProp Aqua
  2176. highlight! link javascriptES6MapProp Aqua
  2177. highlight! link javascriptRegExpStaticProp Aqua
  2178. highlight! link javascriptRegExpProp Aqua
  2179. highlight! link javascriptXHRProp Aqua
  2180. highlight! link javascriptBOMNavigatorProp GreenBold
  2181. highlight! link javascriptDOMEventProp Aqua
  2182. highlight! link javascriptBOMNetworkProp Aqua
  2183. highlight! link javascriptDOMDocProp Aqua
  2184. highlight! link javascriptSymbolStaticProp Aqua
  2185. highlight! link javascriptSymbolProp Aqua
  2186. highlight! link javascriptBOMLocationProp Aqua
  2187. highlight! link javascriptEncodingProp Aqua
  2188. highlight! link javascriptCryptoProp Aqua
  2189. highlight! link javascriptBOMHistoryProp Aqua
  2190. highlight! link javascriptDOMFormProp Aqua
  2191. highlight! link javascriptDataViewProp Aqua
  2192. highlight! link javascriptBroadcastProp Aqua
  2193. highlight! link javascriptMathStaticProp Aqua
  2194. " }}}
  2195. " vim-jsx-pretty: https://github.com/maxmellon/vim-jsx-pretty {{{
  2196. highlight! link jsxTagName OrangeItalic
  2197. highlight! link jsxOpenPunct Green
  2198. highlight! link jsxClosePunct Blue
  2199. highlight! link jsxEscapeJs Blue
  2200. highlight! link jsxAttrib Aqua
  2201. " }}}
  2202. " syn_end }}}
  2203. " syn_begin: typescript/typescriptreact {{{
  2204. " vim-typescript: https://github.com/leafgarland/typescript-vim {{{
  2205. highlight! link typescriptSource PurpleItalic
  2206. highlight! link typescriptMessage Yellow
  2207. highlight! link typescriptGlobalObjects Aqua
  2208. highlight! link typescriptInterpolation Yellow
  2209. highlight! link typescriptInterpolationDelimiter Yellow
  2210. highlight! link typescriptBraces Fg
  2211. highlight! link typescriptParens Fg
  2212. " }}}
  2213. " yats: https:github.com/HerringtonDarkholme/yats.vim {{{
  2214. highlight! link typescriptMethodAccessor OrangeItalic
  2215. highlight! link typescriptVariable Orange
  2216. highlight! link typescriptVariableDeclaration Blue
  2217. highlight! link typescriptTypeReference Yellow
  2218. highlight! link typescriptBraces Fg
  2219. highlight! link typescriptEnumKeyword RedItalic
  2220. highlight! link typescriptEnum Yellow
  2221. highlight! link typescriptIdentifierName Aqua
  2222. highlight! link typescriptProp Aqua
  2223. highlight! link typescriptCall Blue
  2224. highlight! link typescriptInterfaceName Yellow
  2225. highlight! link typescriptEndColons Fg
  2226. highlight! link typescriptMember Aqua
  2227. highlight! link typescriptMemberOptionality Orange
  2228. highlight! link typescriptObjectLabel Aqua
  2229. highlight! link typescriptArrowFunc Purple
  2230. highlight! link typescriptAbstract Orange
  2231. highlight! link typescriptObjectColon Grey
  2232. highlight! link typescriptTypeAnnotation Grey
  2233. highlight! link typescriptAssign Orange
  2234. highlight! link typescriptBinaryOp Orange
  2235. highlight! link typescriptUnaryOp Orange
  2236. highlight! link typescriptFuncComma Fg
  2237. highlight! link typescriptClassName Yellow
  2238. highlight! link typescriptClassHeritage Yellow
  2239. highlight! link typescriptInterfaceHeritage Yellow
  2240. highlight! link typescriptIdentifier Purple
  2241. highlight! link typescriptGlobal Purple
  2242. highlight! link typescriptOperator RedItalic
  2243. highlight! link typescriptNodeGlobal PurpleItalic
  2244. highlight! link typescriptExport PurpleItalic
  2245. highlight! link typescriptDefaultParam Orange
  2246. highlight! link typescriptImport PurpleItalic
  2247. highlight! link typescriptTypeParameter Yellow
  2248. highlight! link typescriptReadonlyModifier Orange
  2249. highlight! link typescriptAccessibilityModifier Orange
  2250. highlight! link typescriptAmbientDeclaration RedItalic
  2251. highlight! link typescriptTemplateSubstitution Yellow
  2252. highlight! link typescriptTemplateSB Yellow
  2253. highlight! link typescriptExceptions RedItalic
  2254. highlight! link typescriptCastKeyword RedItalic
  2255. highlight! link typescriptOptionalMark Orange
  2256. highlight! link typescriptNull Aqua
  2257. highlight! link typescriptMappedIn RedItalic
  2258. highlight! link typescriptFuncTypeArrow Purple
  2259. highlight! link typescriptTernaryOp Orange
  2260. highlight! link typescriptParenExp Blue
  2261. highlight! link typescriptIndexExpr Blue
  2262. highlight! link typescriptDotNotation Grey
  2263. highlight! link typescriptGlobalNumberDot Grey
  2264. highlight! link typescriptGlobalStringDot Grey
  2265. highlight! link typescriptGlobalArrayDot Grey
  2266. highlight! link typescriptGlobalObjectDot Grey
  2267. highlight! link typescriptGlobalSymbolDot Grey
  2268. highlight! link typescriptGlobalMathDot Grey
  2269. highlight! link typescriptGlobalDateDot Grey
  2270. highlight! link typescriptGlobalJSONDot Grey
  2271. highlight! link typescriptGlobalRegExpDot Grey
  2272. highlight! link typescriptGlobalPromiseDot Grey
  2273. highlight! link typescriptGlobalURLDot Grey
  2274. highlight! link typescriptGlobalMethod GreenBold
  2275. highlight! link typescriptDOMStorageMethod GreenBold
  2276. highlight! link typescriptFileMethod GreenBold
  2277. highlight! link typescriptFileReaderMethod GreenBold
  2278. highlight! link typescriptFileListMethod GreenBold
  2279. highlight! link typescriptBlobMethod GreenBold
  2280. highlight! link typescriptURLStaticMethod GreenBold
  2281. highlight! link typescriptNumberStaticMethod GreenBold
  2282. highlight! link typescriptNumberMethod GreenBold
  2283. highlight! link typescriptDOMNodeMethod GreenBold
  2284. highlight! link typescriptPaymentMethod GreenBold
  2285. highlight! link typescriptPaymentResponseMethod GreenBold
  2286. highlight! link typescriptHeadersMethod GreenBold
  2287. highlight! link typescriptRequestMethod GreenBold
  2288. highlight! link typescriptResponseMethod GreenBold
  2289. highlight! link typescriptES6SetMethod GreenBold
  2290. highlight! link typescriptReflectMethod GreenBold
  2291. highlight! link typescriptBOMWindowMethod GreenBold
  2292. highlight! link typescriptGeolocationMethod GreenBold
  2293. highlight! link typescriptServiceWorkerMethod GreenBold
  2294. highlight! link typescriptCacheMethod GreenBold
  2295. highlight! link typescriptES6MapMethod GreenBold
  2296. highlight! link typescriptFunctionMethod GreenBold
  2297. highlight! link typescriptRegExpMethod GreenBold
  2298. highlight! link typescriptXHRMethod GreenBold
  2299. highlight! link typescriptBOMNavigatorMethod GreenBold
  2300. highlight! link typescriptServiceWorkerMethod GreenBold
  2301. highlight! link typescriptIntlMethod GreenBold
  2302. highlight! link typescriptDOMEventTargetMethod GreenBold
  2303. highlight! link typescriptDOMEventMethod GreenBold
  2304. highlight! link typescriptDOMDocMethod GreenBold
  2305. highlight! link typescriptStringStaticMethod GreenBold
  2306. highlight! link typescriptStringMethod GreenBold
  2307. highlight! link typescriptSymbolStaticMethod GreenBold
  2308. highlight! link typescriptObjectStaticMethod GreenBold
  2309. highlight! link typescriptObjectMethod GreenBold
  2310. highlight! link typescriptJSONStaticMethod GreenBold
  2311. highlight! link typescriptEncodingMethod GreenBold
  2312. highlight! link typescriptBOMLocationMethod GreenBold
  2313. highlight! link typescriptPromiseStaticMethod GreenBold
  2314. highlight! link typescriptPromiseMethod GreenBold
  2315. highlight! link typescriptSubtleCryptoMethod GreenBold
  2316. highlight! link typescriptCryptoMethod GreenBold
  2317. highlight! link typescriptBOMHistoryMethod GreenBold
  2318. highlight! link typescriptDOMFormMethod GreenBold
  2319. highlight! link typescriptConsoleMethod GreenBold
  2320. highlight! link typescriptDateStaticMethod GreenBold
  2321. highlight! link typescriptDateMethod GreenBold
  2322. highlight! link typescriptArrayStaticMethod GreenBold
  2323. highlight! link typescriptArrayMethod GreenBold
  2324. highlight! link typescriptMathStaticMethod GreenBold
  2325. highlight! link typescriptStringProperty Aqua
  2326. highlight! link typescriptDOMStorageProp Aqua
  2327. highlight! link typescriptFileReaderProp Aqua
  2328. highlight! link typescriptURLUtilsProp Aqua
  2329. highlight! link typescriptNumberStaticProp Aqua
  2330. highlight! link typescriptDOMNodeProp Aqua
  2331. highlight! link typescriptBOMWindowProp Aqua
  2332. highlight! link typescriptRequestProp Aqua
  2333. highlight! link typescriptResponseProp Aqua
  2334. highlight! link typescriptPaymentProp Aqua
  2335. highlight! link typescriptPaymentResponseProp Aqua
  2336. highlight! link typescriptPaymentAddressProp Aqua
  2337. highlight! link typescriptPaymentShippingOptionProp Aqua
  2338. highlight! link typescriptES6SetProp Aqua
  2339. highlight! link typescriptServiceWorkerProp Aqua
  2340. highlight! link typescriptES6MapProp Aqua
  2341. highlight! link typescriptRegExpStaticProp Aqua
  2342. highlight! link typescriptRegExpProp Aqua
  2343. highlight! link typescriptBOMNavigatorProp GreenBold
  2344. highlight! link typescriptXHRProp Aqua
  2345. highlight! link typescriptDOMEventProp Aqua
  2346. highlight! link typescriptDOMDocProp Aqua
  2347. highlight! link typescriptBOMNetworkProp Aqua
  2348. highlight! link typescriptSymbolStaticProp Aqua
  2349. highlight! link typescriptEncodingProp Aqua
  2350. highlight! link typescriptBOMLocationProp Aqua
  2351. highlight! link typescriptCryptoProp Aqua
  2352. highlight! link typescriptDOMFormProp Aqua
  2353. highlight! link typescriptBOMHistoryProp Aqua
  2354. highlight! link typescriptMathStaticProp Aqua
  2355. " }}}
  2356. " nvim-treesitter/nvim-treesitter {{{
  2357. highlight! link tsxTSConstructor TSType
  2358. if has('nvim-0.8.0')
  2359. highlight! link @constructor.tsx tsxTSConstructor
  2360. endif
  2361. if has('nvim-0.9.0')
  2362. highlight! link @lsp.typemod.variable.defaultLibrary.typescript TSConstBuiltin
  2363. highlight! link @lsp.typemod.variable.defaultLibrary.typescriptreact TSConstBuiltin
  2364. endif
  2365. " }}}
  2366. " syn_end }}}
  2367. " syn_begin: dart {{{
  2368. " dart-lang: https://github.com/dart-lang/dart-vim-plugin {{{
  2369. highlight! link dartCoreClasses Aqua
  2370. highlight! link dartTypeName Aqua
  2371. highlight! link dartInterpolation Blue
  2372. highlight! link dartTypeDef RedItalic
  2373. highlight! link dartClassDecl RedItalic
  2374. highlight! link dartLibrary PurpleItalic
  2375. highlight! link dartMetadata Blue
  2376. " }}}
  2377. " syn_end }}}
  2378. " syn_begin: coffee {{{
  2379. " vim-coffee-script: https://github.com/kchmck/vim-coffee-script {{{
  2380. highlight! link coffeeExtendedOp Orange
  2381. highlight! link coffeeSpecialOp Fg
  2382. highlight! link coffeeDotAccess Grey
  2383. highlight! link coffeeCurly Fg
  2384. highlight! link coffeeParen Fg
  2385. highlight! link coffeeBracket Fg
  2386. highlight! link coffeeParens Blue
  2387. highlight! link coffeeBrackets Blue
  2388. highlight! link coffeeCurlies Blue
  2389. highlight! link coffeeOperator RedItalic
  2390. highlight! link coffeeStatement Orange
  2391. highlight! link coffeeSpecialIdent Purple
  2392. highlight! link coffeeObject Purple
  2393. highlight! link coffeeObjAssign Aqua
  2394. " }}}
  2395. " syn_end }}}
  2396. " syn_begin: purescript {{{
  2397. " purescript-vim: https://github.com/purescript-contrib/purescript-vim {{{
  2398. highlight! link purescriptModuleKeyword PurpleItalic
  2399. highlight! link purescriptModule Aqua
  2400. highlight! link purescriptModuleParams Blue
  2401. highlight! link purescriptAsKeyword OrangeItalic
  2402. highlight! link purescriptHidingKeyword OrangeItalic
  2403. highlight! link purescriptWhere OrangeItalic
  2404. highlight! link purescriptIdentifier Blue
  2405. highlight! link purescriptFunction Yellow
  2406. highlight! link purescriptType Aqua
  2407. " }}}
  2408. " syn_end }}}
  2409. " syn_begin: c/cpp/objc/objcpp {{{
  2410. " vim-cpp-enhanced-highlight: https://github.com/octol/vim-cpp-enhanced-highlight {{{
  2411. highlight! link cppSTLnamespace Purple
  2412. highlight! link cppSTLtype Yellow
  2413. highlight! link cppAccess PurpleItalic
  2414. highlight! link cppStructure RedItalic
  2415. highlight! link cppSTLios Aqua
  2416. highlight! link cppSTLiterator PurpleItalic
  2417. highlight! link cppSTLexception Purple
  2418. " }}}
  2419. " vim-cpp-modern: https://github.com/bfrg/vim-cpp-modern {{{
  2420. highlight! link cppSTLVariable Aqua
  2421. " }}}
  2422. " chromatica: https://github.com/arakashic/chromatica.nvim {{{
  2423. highlight! link Member TSVariable
  2424. highlight! link Variable TSVariable
  2425. highlight! link Namespace TSNamespace
  2426. highlight! link EnumConstant TSNumber
  2427. highlight! link chromaticaException TSException
  2428. highlight! link chromaticaCast TSLabel
  2429. highlight! link OperatorOverload TSOperator
  2430. highlight! link AccessQual TSOperator
  2431. highlight! link Linkage TSOperator
  2432. highlight! link AutoType TSType
  2433. " }}}
  2434. " vim-lsp-cxx-highlight https://github.com/jackguo380/vim-lsp-cxx-highlight {{{
  2435. highlight! link LspCxxHlSkippedRegion Grey
  2436. highlight! link LspCxxHlSkippedRegionBeginEnd TSKeyword
  2437. highlight! link LspCxxHlGroupEnumConstant BlueItalic
  2438. highlight! link LspCxxHlGroupNamespace TSNamespace
  2439. highlight! link LspCxxHlGroupMemberVariable TSVariable
  2440. " }}}
  2441. " syn_end }}}
  2442. " syn_begin: objc {{{
  2443. " builtin: {{{
  2444. highlight! link objcModuleImport PurpleItalic
  2445. highlight! link objcException RedItalic
  2446. highlight! link objcProtocolList Aqua
  2447. highlight! link objcObjDef PurpleItalic
  2448. highlight! link objcDirective RedItalic
  2449. highlight! link objcPropertyAttribute Orange
  2450. highlight! link objcHiddenArgument Aqua
  2451. " }}}
  2452. " syn_end }}}
  2453. " syn_begin: cs {{{
  2454. " builtin: https://github.com/nickspoons/vim-cs {{{
  2455. highlight! link csUnspecifiedStatement PurpleItalic
  2456. highlight! link csStorage RedItalic
  2457. highlight! link csClass RedItalic
  2458. highlight! link csNewType Aqua
  2459. highlight! link csContextualStatement PurpleItalic
  2460. highlight! link csInterpolationDelimiter Yellow
  2461. highlight! link csInterpolation Yellow
  2462. highlight! link csEndColon Fg
  2463. " }}}
  2464. " syn_end }}}
  2465. " syn_begin: python {{{
  2466. " builtin: {{{
  2467. highlight! link pythonBuiltin Yellow
  2468. highlight! link pythonExceptions Purple
  2469. highlight! link pythonDecoratorName Blue
  2470. " }}}
  2471. " python-syntax: https://github.com/vim-python/python-syntax {{{
  2472. highlight! link pythonExClass Purple
  2473. highlight! link pythonBuiltinType Yellow
  2474. highlight! link pythonBuiltinObj Blue
  2475. highlight! link pythonDottedName PurpleItalic
  2476. highlight! link pythonBuiltinFunc GreenBold
  2477. highlight! link pythonFunction AquaBold
  2478. highlight! link pythonDecorator Orange
  2479. highlight! link pythonInclude Include
  2480. highlight! link pythonImport PreProc
  2481. highlight! link pythonRun Blue
  2482. highlight! link pythonCoding Grey
  2483. highlight! link pythonOperator Orange
  2484. highlight! link pythonConditional RedItalic
  2485. highlight! link pythonRepeat RedItalic
  2486. highlight! link pythonException RedItalic
  2487. highlight! link pythonNone Aqua
  2488. highlight! link pythonDot Grey
  2489. " }}}
  2490. " semshi: https://github.com/numirias/semshi {{{
  2491. call gruvbox_material#highlight('semshiUnresolved', s:palette.yellow, s:palette.none, 'undercurl')
  2492. highlight! link semshiImported TSInclude
  2493. highlight! link semshiParameter TSParameter
  2494. highlight! link semshiParameterUnused Grey
  2495. highlight! link semshiSelf TSVariableBuiltin
  2496. highlight! link semshiGlobal TSType
  2497. highlight! link semshiBuiltin TSTypeBuiltin
  2498. highlight! link semshiAttribute TSAttribute
  2499. highlight! link semshiLocal TSKeyword
  2500. highlight! link semshiFree TSKeyword
  2501. highlight! link semshiSelected CurrentWord
  2502. highlight! link semshiErrorSign RedSign
  2503. highlight! link semshiErrorChar RedSign
  2504. " }}}
  2505. " syn_end }}}
  2506. " syn_begin: lua {{{
  2507. " builtin: {{{
  2508. highlight! link luaFunc GreenBold
  2509. highlight! link luaFunction Aqua
  2510. highlight! link luaTable Fg
  2511. highlight! link luaIn RedItalic
  2512. " }}}
  2513. " vim-lua: https://github.com/tbastos/vim-lua {{{
  2514. highlight! link luaFuncCall GreenBold
  2515. highlight! link luaLocal Orange
  2516. highlight! link luaSpecialValue GreenBold
  2517. highlight! link luaBraces Fg
  2518. highlight! link luaBuiltIn Purple
  2519. highlight! link luaNoise Grey
  2520. highlight! link luaLabel Purple
  2521. highlight! link luaFuncTable Yellow
  2522. highlight! link luaFuncArgName Blue
  2523. highlight! link luaEllipsis Orange
  2524. highlight! link luaDocTag Green
  2525. " }}}
  2526. " nvim-treesitter/nvim-treesitter {{{
  2527. highlight! link luaTSConstructor luaBraces
  2528. if has('nvim-0.8.0')
  2529. highlight! link @constructor.lua luaTSConstructor
  2530. endif
  2531. " }}}
  2532. " syn_end }}}
  2533. " syn_begin: moon {{{
  2534. " moonscript-vim: https://github.com/leafo/moonscript-vim {{{
  2535. highlight! link moonInterpDelim Yellow
  2536. highlight! link moonInterp Blue
  2537. highlight! link moonFunction Green
  2538. highlight! link moonLuaFunc AquaBold
  2539. highlight! link moonSpecialVar Purple
  2540. highlight! link moonObject Yellow
  2541. highlight! link moonDotAccess Grey
  2542. " }}}
  2543. " syn_end }}}
  2544. " syn_begin: java {{{
  2545. " builtin: {{{
  2546. highlight! link javaClassDecl RedItalic
  2547. highlight! link javaMethodDecl RedItalic
  2548. highlight! link javaVarArg Green
  2549. highlight! link javaAnnotation Blue
  2550. highlight! link javaUserLabel Purple
  2551. highlight! link javaTypedef Aqua
  2552. highlight! link javaParen Fg
  2553. highlight! link javaParen1 Fg
  2554. highlight! link javaParen2 Fg
  2555. highlight! link javaParen3 Fg
  2556. highlight! link javaParen4 Fg
  2557. highlight! link javaParen5 Fg
  2558. " }}}
  2559. " syn_end }}}
  2560. " syn_begin: kotlin {{{
  2561. " kotlin-vim: https://github.com/udalov/kotlin-vim {{{
  2562. highlight! link ktSimpleInterpolation Yellow
  2563. highlight! link ktComplexInterpolation Yellow
  2564. highlight! link ktComplexInterpolationBrace Yellow
  2565. highlight! link ktStructure RedItalic
  2566. highlight! link ktKeyword Aqua
  2567. " }}}
  2568. " syn_end }}}
  2569. " syn_begin: scala {{{
  2570. " builtin: https://github.com/derekwyatt/vim-scala {{{
  2571. highlight! link scalaNameDefinition Aqua
  2572. highlight! link scalaInterpolationBoundary Yellow
  2573. highlight! link scalaInterpolation Blue
  2574. highlight! link scalaTypeOperator Orange
  2575. highlight! link scalaOperator Orange
  2576. highlight! link scalaKeywordModifier Orange
  2577. " }}}
  2578. " syn_end }}}
  2579. " syn_begin: go {{{
  2580. " builtin: https://github.com/fatih/vim-go {{{
  2581. highlight! link goPackage Define
  2582. highlight! link goImport Include
  2583. highlight! link goVar OrangeItalic
  2584. highlight! link goConst goVar
  2585. highlight! link goType Yellow
  2586. highlight! link goSignedInts goType
  2587. highlight! link goUnsignedInts goType
  2588. highlight! link goFloats goType
  2589. highlight! link goComplexes goType
  2590. highlight! link goVarDefs Aqua
  2591. highlight! link goDeclType OrangeItalic
  2592. highlight! link goFunctionCall Function
  2593. highlight! link goPredefinedIdentifiers Aqua
  2594. highlight! link goBuiltins GreenBold
  2595. highlight! link goVarArgs Grey
  2596. " }}}
  2597. " nvim-treesitter/nvim-treesitter {{{
  2598. highlight! link goTSInclude Purple
  2599. highlight! link goTSNamespace Fg
  2600. highlight! link goTSConstBuiltin AquaItalic
  2601. if has('nvim-0.8.0')
  2602. highlight! link @include.go goTSInclude
  2603. highlight! link @namespace.go goTSNamespace
  2604. highlight! link @module.go goTSNamespace
  2605. highlight! link @constant.builtin.go goTSConstBuiltin
  2606. endif
  2607. if has('nvim-0.9.0')
  2608. highlight! link @lsp.typemod.variable.defaultLibrary.go goTSConstBuiltin
  2609. highlight! link @lsp.type.namespace.go goTSNamespace
  2610. endif
  2611. " }}}
  2612. " syn_end }}}
  2613. " syn_begin: rust {{{
  2614. " builtin: https://github.com/rust-lang/rust.vim {{{
  2615. highlight! link rustStructure Orange
  2616. highlight! link rustIdentifier Purple
  2617. highlight! link rustModPath Orange
  2618. highlight! link rustModPathSep Grey
  2619. highlight! link rustSelf Blue
  2620. highlight! link rustSuper Blue
  2621. highlight! link rustDeriveTrait PurpleItalic
  2622. highlight! link rustEnumVariant Purple
  2623. highlight! link rustMacroVariable Blue
  2624. highlight! link rustAssert Aqua
  2625. highlight! link rustPanic Aqua
  2626. highlight! link rustPubScopeCrate PurpleItalic
  2627. " }}}
  2628. " coc-rust-analyzer: https://github.com/fannheyward/coc-rust-analyzer {{{
  2629. highlight! link CocRustChainingHint Grey
  2630. highlight! link CocRustTypeHint Grey
  2631. " }}}
  2632. " syn_end }}}
  2633. " syn_begin: swift {{{
  2634. " swift.vim: https://github.com/keith/swift.vim {{{
  2635. highlight! link swiftInterpolatedWrapper Yellow
  2636. highlight! link swiftInterpolatedString Blue
  2637. highlight! link swiftProperty Aqua
  2638. highlight! link swiftTypeDeclaration Orange
  2639. highlight! link swiftClosureArgument Purple
  2640. " }}}
  2641. " syn_end }}}
  2642. " syn_begin: php {{{
  2643. " builtin: https://jasonwoof.com/gitweb/?p=vim-syntax.git;a=blob;f=php.vim;hb=HEAD {{{
  2644. highlight! link phpVarSelector Blue
  2645. highlight! link phpDefine OrangeItalic
  2646. highlight! link phpStructure RedItalic
  2647. highlight! link phpSpecialFunction GreenBold
  2648. highlight! link phpInterpSimpleCurly Yellow
  2649. highlight! link phpComparison Orange
  2650. highlight! link phpMethodsVar Aqua
  2651. highlight! link phpMemberSelector Green
  2652. " }}}
  2653. " php.vim: https://github.com/StanAngeloff/php.vim {{{
  2654. highlight! link phpParent Fg
  2655. highlight! link phpNowDoc Green
  2656. highlight! link phpFunction GreenBold
  2657. highlight! link phpMethod GreenBold
  2658. highlight! link phpClass Orange
  2659. highlight! link phpSuperglobals Purple
  2660. " }}}
  2661. " syn_end }}}
  2662. " syn_begin: ruby {{{
  2663. " builtin: https://github.com/vim-ruby/vim-ruby {{{
  2664. highlight! link rubyKeywordAsMethod GreenBold
  2665. highlight! link rubyInterpolation Yellow
  2666. highlight! link rubyInterpolationDelimiter Yellow
  2667. highlight! link rubyStringDelimiter Green
  2668. highlight! link rubyBlockParameterList Blue
  2669. highlight! link rubyDefine RedItalic
  2670. highlight! link rubyModuleName Purple
  2671. highlight! link rubyAccess Orange
  2672. highlight! link rubyAttribute Yellow
  2673. highlight! link rubyMacro RedItalic
  2674. " }}}
  2675. " syn_end }}}
  2676. " syn_begin: haskell {{{
  2677. " haskell-vim: https://github.com/neovimhaskell/haskell-vim {{{
  2678. highlight! link haskellBrackets Blue
  2679. highlight! link haskellIdentifier Yellow
  2680. highlight! link haskellAssocType Aqua
  2681. highlight! link haskellQuotedType Aqua
  2682. highlight! link haskellType Aqua
  2683. highlight! link haskellDeclKeyword RedItalic
  2684. highlight! link haskellWhere RedItalic
  2685. highlight! link haskellDeriving PurpleItalic
  2686. highlight! link haskellForeignKeywords PurpleItalic
  2687. " }}}
  2688. " syn_end }}}
  2689. " syn_begin: perl/pod {{{
  2690. " builtin: https://github.com/vim-perl/vim-perl {{{
  2691. highlight! link perlStatementPackage PurpleItalic
  2692. highlight! link perlStatementInclude PurpleItalic
  2693. highlight! link perlStatementStorage Orange
  2694. highlight! link perlStatementList Orange
  2695. highlight! link perlMatchStartEnd Orange
  2696. highlight! link perlVarSimpleMemberName Aqua
  2697. highlight! link perlVarSimpleMember Fg
  2698. highlight! link perlMethod GreenBold
  2699. highlight! link podVerbatimLine Green
  2700. highlight! link podCmdText Yellow
  2701. " }}}
  2702. " syn_end }}}
  2703. " syn_begin: ocaml {{{
  2704. " builtin: https://github.com/rgrinberg/vim-ocaml {{{
  2705. highlight! link ocamlArrow Orange
  2706. highlight! link ocamlEqual Orange
  2707. highlight! link ocamlOperator Orange
  2708. highlight! link ocamlKeyChar Orange
  2709. highlight! link ocamlModPath Green
  2710. highlight! link ocamlFullMod Green
  2711. highlight! link ocamlModule Purple
  2712. highlight! link ocamlConstructor Aqua
  2713. highlight! link ocamlFuncWith Yellow
  2714. highlight! link ocamlWith Yellow
  2715. highlight! link ocamlModParam Fg
  2716. highlight! link ocamlModParam1 Fg
  2717. highlight! link ocamlAnyVar Blue
  2718. highlight! link ocamlPpxEncl Orange
  2719. highlight! link ocamlPpxIdentifier Blue
  2720. highlight! link ocamlSigEncl Orange
  2721. highlight! link ocamlStructEncl Aqua
  2722. highlight! link ocamlModParam1 Blue
  2723. " }}}
  2724. " syn_end }}}
  2725. " syn_begin: erlang {{{
  2726. " builtin: https://github.com/vim-erlang/vim-erlang-runtime {{{
  2727. highlight! link erlangAtom Aqua
  2728. highlight! link erlangLocalFuncRef GreenBold
  2729. highlight! link erlangLocalFuncCall GreenBold
  2730. highlight! link erlangGlobalFuncRef GreenBold
  2731. highlight! link erlangGlobalFuncCall GreenBold
  2732. highlight! link erlangAttribute PurpleItalic
  2733. highlight! link erlangPipe Orange
  2734. " }}}
  2735. " syn_end }}}
  2736. " syn_begin: elixir {{{
  2737. " vim-elixir: https://github.com/elixir-editors/vim-elixir {{{
  2738. highlight! link elixirStringDelimiter Green
  2739. highlight! link elixirKeyword Orange
  2740. highlight! link elixirInterpolation Yellow
  2741. highlight! link elixirInterpolationDelimiter Yellow
  2742. highlight! link elixirSelf Purple
  2743. highlight! link elixirPseudoVariable Purple
  2744. highlight! link elixirModuleDefine PurpleItalic
  2745. highlight! link elixirBlockDefinition RedItalic
  2746. highlight! link elixirDefine RedItalic
  2747. highlight! link elixirPrivateDefine RedItalic
  2748. highlight! link elixirGuard RedItalic
  2749. highlight! link elixirPrivateGuard RedItalic
  2750. highlight! link elixirProtocolDefine RedItalic
  2751. highlight! link elixirImplDefine RedItalic
  2752. highlight! link elixirRecordDefine RedItalic
  2753. highlight! link elixirPrivateRecordDefine RedItalic
  2754. highlight! link elixirMacroDefine RedItalic
  2755. highlight! link elixirPrivateMacroDefine RedItalic
  2756. highlight! link elixirDelegateDefine RedItalic
  2757. highlight! link elixirOverridableDefine RedItalic
  2758. highlight! link elixirExceptionDefine RedItalic
  2759. highlight! link elixirCallbackDefine RedItalic
  2760. highlight! link elixirStructDefine RedItalic
  2761. highlight! link elixirExUnitMacro RedItalic
  2762. " }}}
  2763. " syn_end }}}
  2764. " syn_begin: lisp {{{
  2765. " builtin: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_LISP {{{
  2766. highlight! link lispAtomMark Green
  2767. highlight! link lispKey Aqua
  2768. highlight! link lispFunc OrangeItalic
  2769. " }}}
  2770. " syn_end }}}
  2771. " syn_begin: clojure {{{
  2772. " builtin: https://github.com/guns/vim-clojure-static {{{
  2773. highlight! link clojureMacro PurpleItalic
  2774. highlight! link clojureFunc AquaBold
  2775. highlight! link clojureConstant Yellow
  2776. highlight! link clojureSpecial RedItalic
  2777. highlight! link clojureDefine RedItalic
  2778. highlight! link clojureKeyword Orange
  2779. highlight! link clojureVariable Blue
  2780. highlight! link clojureMeta Yellow
  2781. highlight! link clojureDeref Yellow
  2782. " }}}
  2783. " syn_end }}}
  2784. " syn_begin: matlab {{{
  2785. " builtin: {{{
  2786. highlight! link matlabSemicolon Fg
  2787. highlight! link matlabFunction RedItalic
  2788. highlight! link matlabImplicit GreenBold
  2789. highlight! link matlabDelimiter Fg
  2790. highlight! link matlabOperator GreenBold
  2791. highlight! link matlabArithmeticOperator Orange
  2792. highlight! link matlabArithmeticOperator Orange
  2793. highlight! link matlabRelationalOperator Orange
  2794. highlight! link matlabRelationalOperator Orange
  2795. highlight! link matlabLogicalOperator Orange
  2796. " }}}
  2797. " syn_end }}}
  2798. " syn_begin: octave {{{
  2799. " vim-octave: https://github.com/McSinyx/vim-octave{{{
  2800. highlight! link octaveDelimiter Fg
  2801. highlight! link octaveSemicolon Grey
  2802. highlight! link octaveOperator Orange
  2803. highlight! link octaveVariable YellowItalic
  2804. highlight! link octaveVarKeyword YellowItalic
  2805. " }}}
  2806. " syn_end }}}
  2807. " syn_begin: sh/zsh {{{
  2808. " builtin: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH {{{
  2809. highlight! link shRange Fg
  2810. highlight! link shTestOpr Orange
  2811. highlight! link shOption Aqua
  2812. highlight! link bashStatement Orange
  2813. highlight! link shOperator Orange
  2814. highlight! link shQuote Green
  2815. highlight! link shSet Orange
  2816. highlight! link shSetList Blue
  2817. highlight! link shSnglCase Orange
  2818. highlight! link shVariable Blue
  2819. highlight! link shVarAssign Orange
  2820. highlight! link shCmdSubRegion Green
  2821. highlight! link shCommandSub Orange
  2822. highlight! link shFunctionOne GreenBold
  2823. highlight! link shFunctionKey RedItalic
  2824. " }}}
  2825. " syn_end }}}
  2826. " syn_begin: zsh {{{
  2827. " builtin: https://github.com/chrisbra/vim-zsh {{{
  2828. highlight! link zshOptStart PurpleItalic
  2829. highlight! link zshOption Blue
  2830. highlight! link zshSubst Yellow
  2831. highlight! link zshFunction GreenBold
  2832. highlight! link zshDeref Blue
  2833. highlight! link zshTypes Orange
  2834. highlight! link zshVariableDef Blue
  2835. " }}}
  2836. " syn_end }}}
  2837. " syn_begin: fish {{{
  2838. " vim-fish: https://github.com/georgewitteman/vim-fish {{{
  2839. highlight! link fishStatement Orange
  2840. highlight! link fishLabel RedItalic
  2841. highlight! link fishCommandSub Yellow
  2842. " }}}
  2843. " syn_end }}}
  2844. " syn_begin: ps1 {{{
  2845. " vim-ps1: https://github.com/PProvost/vim-ps1 {{{
  2846. highlight! link ps1FunctionInvocation AquaBold
  2847. highlight! link ps1FunctionDeclaration AquaBold
  2848. highlight! link ps1InterpolationDelimiter Yellow
  2849. highlight! link ps1BuiltIn Yellow
  2850. " }}}
  2851. " syn_end }}}
  2852. " syn_begin: vim {{{
  2853. call gruvbox_material#highlight('vimCommentTitle', s:palette.grey1, s:palette.none, 'bold')
  2854. highlight! link vimLet Orange
  2855. highlight! link vimFunction GreenBold
  2856. highlight! link vimIsCommand Fg
  2857. highlight! link vimUserFunc GreenBold
  2858. highlight! link vimFuncName GreenBold
  2859. highlight! link vimMap PurpleItalic
  2860. highlight! link vimNotation Aqua
  2861. highlight! link vimMapLhs Green
  2862. highlight! link vimMapRhs Green
  2863. highlight! link vimSetEqual Yellow
  2864. highlight! link vimSetSep Fg
  2865. highlight! link vimOption Aqua
  2866. highlight! link vimUserAttrbKey Yellow
  2867. highlight! link vimUserAttrb Green
  2868. highlight! link vimAutoCmdSfxList Aqua
  2869. highlight! link vimSynType Orange
  2870. highlight! link vimHiBang Orange
  2871. highlight! link vimSet Yellow
  2872. highlight! link vimSetSep Grey
  2873. highlight! link vimContinue Grey
  2874. " syn_end }}}
  2875. " syn_begin: make {{{
  2876. highlight! link makeIdent Aqua
  2877. highlight! link makeSpecTarget Yellow
  2878. highlight! link makeTarget Blue
  2879. highlight! link makeCommands Orange
  2880. " syn_end }}}
  2881. " syn_begin: cmake {{{
  2882. highlight! link cmakeCommand Orange
  2883. highlight! link cmakeKWconfigure_package_config_file Yellow
  2884. highlight! link cmakeKWwrite_basic_package_version_file Yellow
  2885. highlight! link cmakeKWExternalProject Aqua
  2886. highlight! link cmakeKWadd_compile_definitions Aqua
  2887. highlight! link cmakeKWadd_compile_options Aqua
  2888. highlight! link cmakeKWadd_custom_command Aqua
  2889. highlight! link cmakeKWadd_custom_target Aqua
  2890. highlight! link cmakeKWadd_definitions Aqua
  2891. highlight! link cmakeKWadd_dependencies Aqua
  2892. highlight! link cmakeKWadd_executable Aqua
  2893. highlight! link cmakeKWadd_library Aqua
  2894. highlight! link cmakeKWadd_link_options Aqua
  2895. highlight! link cmakeKWadd_subdirectory Aqua
  2896. highlight! link cmakeKWadd_test Aqua
  2897. highlight! link cmakeKWbuild_command Aqua
  2898. highlight! link cmakeKWcmake_host_system_information Aqua
  2899. highlight! link cmakeKWcmake_minimum_required Aqua
  2900. highlight! link cmakeKWcmake_parse_arguments Aqua
  2901. highlight! link cmakeKWcmake_policy Aqua
  2902. highlight! link cmakeKWconfigure_file Aqua
  2903. highlight! link cmakeKWcreate_test_sourcelist Aqua
  2904. highlight! link cmakeKWctest_build Aqua
  2905. highlight! link cmakeKWctest_configure Aqua
  2906. highlight! link cmakeKWctest_coverage Aqua
  2907. highlight! link cmakeKWctest_memcheck Aqua
  2908. highlight! link cmakeKWctest_run_script Aqua
  2909. highlight! link cmakeKWctest_start Aqua
  2910. highlight! link cmakeKWctest_submit Aqua
  2911. highlight! link cmakeKWctest_test Aqua
  2912. highlight! link cmakeKWctest_update Aqua
  2913. highlight! link cmakeKWctest_upload Aqua
  2914. highlight! link cmakeKWdefine_property Aqua
  2915. highlight! link cmakeKWdoxygen_add_docs Aqua
  2916. highlight! link cmakeKWenable_language Aqua
  2917. highlight! link cmakeKWenable_testing Aqua
  2918. highlight! link cmakeKWexec_program Aqua
  2919. highlight! link cmakeKWexecute_process Aqua
  2920. highlight! link cmakeKWexport Aqua
  2921. highlight! link cmakeKWexport_library_dependencies Aqua
  2922. highlight! link cmakeKWfile Aqua
  2923. highlight! link cmakeKWfind_file Aqua
  2924. highlight! link cmakeKWfind_library Aqua
  2925. highlight! link cmakeKWfind_package Aqua
  2926. highlight! link cmakeKWfind_path Aqua
  2927. highlight! link cmakeKWfind_program Aqua
  2928. highlight! link cmakeKWfltk_wrap_ui Aqua
  2929. highlight! link cmakeKWforeach Aqua
  2930. highlight! link cmakeKWfunction Aqua
  2931. highlight! link cmakeKWget_cmake_property Aqua
  2932. highlight! link cmakeKWget_directory_property Aqua
  2933. highlight! link cmakeKWget_filename_component Aqua
  2934. highlight! link cmakeKWget_property Aqua
  2935. highlight! link cmakeKWget_source_file_property Aqua
  2936. highlight! link cmakeKWget_target_property Aqua
  2937. highlight! link cmakeKWget_test_property Aqua
  2938. highlight! link cmakeKWif Aqua
  2939. highlight! link cmakeKWinclude Aqua
  2940. highlight! link cmakeKWinclude_directories Aqua
  2941. highlight! link cmakeKWinclude_external_msproject Aqua
  2942. highlight! link cmakeKWinclude_guard Aqua
  2943. highlight! link cmakeKWinstall Aqua
  2944. highlight! link cmakeKWinstall_files Aqua
  2945. highlight! link cmakeKWinstall_programs Aqua
  2946. highlight! link cmakeKWinstall_targets Aqua
  2947. highlight! link cmakeKWlink_directories Aqua
  2948. highlight! link cmakeKWlist Aqua
  2949. highlight! link cmakeKWload_cache Aqua
  2950. highlight! link cmakeKWload_command Aqua
  2951. highlight! link cmakeKWmacro Aqua
  2952. highlight! link cmakeKWmark_as_advanced Aqua
  2953. highlight! link cmakeKWmath Aqua
  2954. highlight! link cmakeKWmessage Aqua
  2955. highlight! link cmakeKWoption Aqua
  2956. highlight! link cmakeKWproject Aqua
  2957. highlight! link cmakeKWqt_wrap_cpp Aqua
  2958. highlight! link cmakeKWqt_wrap_ui Aqua
  2959. highlight! link cmakeKWremove Aqua
  2960. highlight! link cmakeKWseparate_arguments Aqua
  2961. highlight! link cmakeKWset Aqua
  2962. highlight! link cmakeKWset_directory_properties Aqua
  2963. highlight! link cmakeKWset_property Aqua
  2964. highlight! link cmakeKWset_source_files_properties Aqua
  2965. highlight! link cmakeKWset_target_properties Aqua
  2966. highlight! link cmakeKWset_tests_properties Aqua
  2967. highlight! link cmakeKWsource_group Aqua
  2968. highlight! link cmakeKWstring Aqua
  2969. highlight! link cmakeKWsubdirs Aqua
  2970. highlight! link cmakeKWtarget_compile_definitions Aqua
  2971. highlight! link cmakeKWtarget_compile_features Aqua
  2972. highlight! link cmakeKWtarget_compile_options Aqua
  2973. highlight! link cmakeKWtarget_include_directories Aqua
  2974. highlight! link cmakeKWtarget_link_directories Aqua
  2975. highlight! link cmakeKWtarget_link_libraries Aqua
  2976. highlight! link cmakeKWtarget_link_options Aqua
  2977. highlight! link cmakeKWtarget_precompile_headers Aqua
  2978. highlight! link cmakeKWtarget_sources Aqua
  2979. highlight! link cmakeKWtry_compile Aqua
  2980. highlight! link cmakeKWtry_run Aqua
  2981. highlight! link cmakeKWunset Aqua
  2982. highlight! link cmakeKWuse_mangled_mesa Aqua
  2983. highlight! link cmakeKWvariable_requires Aqua
  2984. highlight! link cmakeKWvariable_watch Aqua
  2985. highlight! link cmakeKWwrite_file Aqua
  2986. " syn_end }}}
  2987. " syn_begin: json {{{
  2988. highlight! link jsonKeyword Orange
  2989. highlight! link jsonQuote Grey
  2990. highlight! link jsonBraces Fg
  2991. " syn_end }}}
  2992. " syn_begin: yaml {{{
  2993. highlight! link yamlKey Orange
  2994. highlight! link yamlConstant Purple
  2995. " syn_end }}}
  2996. " syn_begin: toml {{{
  2997. call gruvbox_material#highlight('tomlTable', s:palette.purple, s:palette.none, 'bold')
  2998. highlight! link tomlKey Orange
  2999. highlight! link tomlBoolean Aqua
  3000. highlight! link tomlTableArray tomlTable
  3001. " syn_end }}}
  3002. " syn_begin: gitcommit {{{
  3003. " builtin {{{
  3004. highlight! link gitcommitSummary Red
  3005. highlight! link gitcommitUntracked Grey
  3006. highlight! link gitcommitDiscarded Grey
  3007. highlight! link gitcommitSelected Grey
  3008. highlight! link gitcommitUnmerged Grey
  3009. highlight! link gitcommitOnBranch Grey
  3010. highlight! link gitcommitArrow Grey
  3011. highlight! link gitcommitFile Green
  3012. " }}}
  3013. " nvim-treesitter/nvim-treesitter {{{
  3014. if has('nvim-0.8.0')
  3015. highlight! link @text.gitcommit TSNone
  3016. endif
  3017. " }}}
  3018. " syn_end }}}
  3019. " syn_begin: dosini {{{
  3020. call gruvbox_material#highlight('dosiniHeader', s:palette.red, s:palette.none, 'bold')
  3021. highlight! link dosiniLabel Yellow
  3022. highlight! link dosiniValue Green
  3023. highlight! link dosiniNumber Green
  3024. " syn_end }}}
  3025. " syn_begin: help {{{
  3026. call gruvbox_material#highlight('helpNote', s:palette.purple, s:palette.none, 'bold')
  3027. call gruvbox_material#highlight('helpHeadline', s:palette.red, s:palette.none, 'bold')
  3028. call gruvbox_material#highlight('helpHeader', s:palette.orange, s:palette.none, 'bold')
  3029. call gruvbox_material#highlight('helpURL', s:palette.green, s:palette.none, 'underline')
  3030. call gruvbox_material#highlight('helpHyperTextEntry', s:palette.yellow, s:palette.none, 'bold')
  3031. highlight! link helpHyperTextJump Yellow
  3032. highlight! link helpCommand Aqua
  3033. highlight! link helpExample Green
  3034. highlight! link helpSpecial Blue
  3035. highlight! link helpSectionDelim Grey
  3036. " syn_end }}}
  3037. " }}}
  3038. " vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker fmr={{{,}}}: