Skip to content

Instantly share code, notes, and snippets.

@th3terrorist
Created July 30, 2022 11:28
Show Gist options
  • Save th3terrorist/41b0ab4174622d145fd019951705a2c6 to your computer and use it in GitHub Desktop.
Save th3terrorist/41b0ab4174622d145fd019951705a2c6 to your computer and use it in GitHub Desktop.
Best vim colorscheme you'll ever see
highlight clear
let colors_name = "rhighs"
function s:highlight(group, bg, fg, style)
let gui = a:style == '' ? '' : 'gui=' . a:style
let fg = a:fg == '' ? '' : 'guifg=' . a:fg
let bg = a:bg == '' ? '' : 'guibg=' . a:bg
exec 'hi ' . a:group . ' ' . bg . ' ' . fg . ' ' . gui
endfunction
let s:Color1 = '#31B72C'
let s:Color8 = '#093136'
let s:Color2 = '#C0C0C0'
let s:Color3 = '#2ca198'
let s:Color12 = '#F0F0F0'
let s:Color6 = '#031c1f'
let s:Color9 = '#0000FF'
let s:Color5 = '#000000'
let s:Color4 = '#B59E7A'
let s:Color7 = '#bdb395'
let s:Color10 = '#494f43'
let s:Color0 = '#b7cadd'
let s:Color11 = '#042327'
call s:highlight('Number', '', s:Color0, '')
call s:highlight('Type', '', s:Color0, '')
call s:highlight('Comment', '', s:Color1, '')
call s:highlight('Conditional', '', s:Color2, '')
call s:highlight('Repeat', '', s:Color2, '')
call s:highlight('String', '', s:Color3, '')
call s:highlight('StatusLine', s:Color5, s:Color4, '')
call s:highlight('WildMenu', s:Color6, s:Color7, '')
call s:highlight('Pmenu', s:Color6, s:Color7, '')
call s:highlight('PmenuSel', s:Color7, s:Color8, '')
call s:highlight('PmenuThumb', s:Color6, s:Color7, '')
call s:highlight('Normal', s:Color6, s:Color7, '')
call s:highlight('Visual', s:Color9, '', '')
call s:highlight('CursorLine', s:Color9, '', '')
call s:highlight('ColorColumn', s:Color9, '', '')
call s:highlight('SignColumn', s:Color6, '', '')
call s:highlight('LineNr', '', s:Color10, '')
call s:highlight('TabLine', s:Color11, s:Color2, '')
call s:highlight('TabLineSel', s:Color12, s:Color8, '')
call s:highlight('TabLineFill', s:Color11, s:Color2, '')
call s:highlight('TSPunctDelimiter', '', s:Color7, '')
highlight! link TSConstant Constant
highlight! link CursorLineNr Identifier
highlight! link TSPunctSpecial TSPunctDelimiter
highlight! link TSKeyword Keyword
highlight! link Macro Function
highlight! link TSOperator Operator
highlight! link TSTagDelimiter Type
highlight! link TSString String
highlight! link TSRepeat Repeat
highlight! link TSNamespace TSType
highlight! link TSField Constant
highlight! link Repeat Conditional
highlight! link TSPunctBracket MyTag
highlight! link TSFuncMacro Macro
highlight! link TSConditional Conditional
highlight! link TSConstBuiltin TSVariableBuiltin
highlight! link Folded Comment
highlight! link TSProperty TSField
highlight! link TSLabel Type
highlight! link TSTag MyTag
highlight! link Operator Keyword
highlight! link NonText Comment
highlight! link TSParameter Constant
highlight! link TSNumber Number
highlight! link TSFunction Function
highlight! link TSFloat Number
highlight! link Conditional Operator
highlight! link TSParameterReference TSParameter
highlight! link TSType Type
highlight! link Whitespace Comment
highlight! link TSComment Comment
highlight! link TelescopeNormal Normal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment