diff options
author | Matthew Lemon <y@yulqen.org> | 2024-04-04 13:00:43 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-04-04 13:00:43 +0100 |
commit | 80426fe85bbd3b95820d6ea328a11ef83d25b8b6 (patch) | |
tree | d1d4f26e7571547adb5769049e0d0ade5898b2aa /vim/colors | |
parent | 446ac607c4556c421872a025ca0713ada3696520 (diff) |
Big bring-up April 2023
Diffstat (limited to 'vim/colors')
-rw-r--r-- | vim/colors/blackboard.vim | 99 | ||||
-rw-r--r-- | vim/colors/codedark.vim | 656 | ||||
-rw-r--r-- | vim/colors/distinguished.vim | 179 | ||||
-rw-r--r-- | vim/colors/grb256.vim | 32 | ||||
-rw-r--r-- | vim/colors/gruber-darker.vim | 228 | ||||
-rw-r--r-- | vim/colors/hemisu.vim | 229 | ||||
-rw-r--r-- | vim/colors/hipster.vim | 102 |
7 files changed, 1525 insertions, 0 deletions
diff --git a/vim/colors/blackboard.vim b/vim/colors/blackboard.vim new file mode 100644 index 0000000..2ac839d --- /dev/null +++ b/vim/colors/blackboard.vim @@ -0,0 +1,99 @@ +" Vim color scheme +" +" Name: blackboard.vim +" Maintainer: Ben Wyrosdick <ben.wyrosdick@gmail.com> +" Last Change: 20 August 2009 +" License: public domain +" Version: 1.4 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "blackboard" + +" Colours in use +" -------------- +" #FF5600 bright orange +" #FFDE00 yolk yellow +" #D8FA3C lemon yellow +" #61CE3C green +" #84A7C1 light blue +" #AEAEAE medium grey + +if has("gui_running") + "GUI Colors + highlight Normal guifg=White guibg=#0B1022 + highlight Cursor guifg=Black guibg=Yellow + highlight CursorLine guibg=#191E2F + highlight LineNr guibg=#323232 guifg=#888888 + highlight Folded guifg=#1d2652 guibg=#070a15 + highlight Pmenu guibg=#84A7C1 + highlight Visual guibg=#283A76 + + "General Colors + highlight Comment guifg=#AEAEAE + highlight Constant guifg=#D8FA3C + highlight Keyword guifg=#FFDE00 + highlight String guifg=#61CE3C + highlight Type guifg=#84A7C1 + highlight Identifier guifg=#61CE3C gui=NONE + highlight Function guifg=#FF5600 gui=NONE + highlight clear Search + highlight Search guibg=#1C3B79 + highlight PreProc guifg=#FF5600 + + " StatusLine + highlight StatusLine guifg=#000000 guibg=#ffffaf gui=italic + highlight StatusLineNC guifg=#000000 guibg=#ffffff gui=NONE + + "Invisible character colors + highlight NonText guifg=#4a4a59 + highlight SpecialKey guifg=#4a4a59 + + "HTML Colors + highlight link htmlTag Type + highlight link htmlEndTag htmlTag + highlight link htmlTagName htmlTag + + "Ruby Colors + highlight link rubyClass Keyword + highlight link rubyDefine Keyword + highlight link rubyConstant Type + highlight link rubySymbol Constant + highlight link rubyStringDelimiter rubyString + highlight link rubyInclude Keyword + highlight link rubyAttribute Keyword + highlight link rubyInstanceVariable Normal + + "Rails Colors + highlight link railsMethod Type + + "Sass colors + highlight link sassMixin Keyword + highlight link sassMixing Constant + + "Outliner colors + highlight OL1 guifg=#FF5600 + highlight OL2 guifg=#61CE3C + highlight OL3 guifg=#84A7C1 + highlight OL4 guifg=#D8FA3C + highlight BT1 guifg=#AEAEAE + highlight link BT2 BT1 + highlight link BT3 BT1 + highlight link BT4 BT1 + + "Markdown colors + highlight markdownCode guifg=#61CE3C guibg=#070a15 + highlight link markdownCodeBlock markdownCode + + "Git colors + highlight gitcommitSelectedFile guifg=#61CE3C + highlight gitcommitDiscardedFile guifg=#C23621 + highlight gitcommitWarning guifg=#C23621 + highlight gitcommitBranch guifg=#FFDE00 + highlight gitcommitHeader guifg=#84A7C1 + +end diff --git a/vim/colors/codedark.vim b/vim/colors/codedark.vim new file mode 100644 index 0000000..7215a8d --- /dev/null +++ b/vim/colors/codedark.vim @@ -0,0 +1,656 @@ +" Vim Code Dark (color scheme) +" https://github.com/tomasiser/vim-code-dark + +scriptencoding utf-8 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="codedark" + +" Highlighting function (inspiration from https://github.com/chriskempson/base16-vim) +if &t_Co >= 256 + let g:codedark_term256=1 +elseif !exists("g:codedark_term256") + let g:codedark_term256=0 +endif +fun! <sid>hi(group, fg, bg, attr, sp) + if !empty(a:fg) + exec "hi " . a:group . " guifg=" . a:fg.gui . " ctermfg=" . (g:codedark_term256 ? a:fg.cterm256 : a:fg.cterm) + endif + if !empty(a:bg) + exec "hi " . a:group . " guibg=" . a:bg.gui . " ctermbg=" . (g:codedark_term256 ? a:bg.cterm256 : a:bg.cterm) + endif + if a:attr != "" + exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr + endif + if !empty(a:sp) + exec "hi " . a:group . " guisp=" . a:sp.gui + endif +endfun +" Choose old or new name for Treesitter groups depending on Neovim version +fun! <sid>hiTS(g_new, g_old, fg, bg, attr, sp) + call <sid>hi(has("nvim-0.8.0") ? a:g_new : a:g_old, a:fg, a:bg, a:attr, a:sp) +endfun + +fun! <sid>hiTSlink(g_new, g_old, link) + exec "hi! link " . (has("nvim-0.8.0") ? a:g_new : a:g_old) . " " . a:link +endfun + +" ------------------ +" Color definitions: +" ------------------ + +" Terminal colors (base16): +let s:cterm00 = "00" +let s:cterm03 = "08" +let s:cterm05 = "07" +let s:cterm07 = "15" +let s:cterm08 = "01" +let s:cterm0A = "03" +let s:cterm0B = "02" +let s:cterm0C = "06" +let s:cterm0D = "04" +let s:cterm0E = "05" +if exists('base16colorspace') && base16colorspace == "256" + let s:cterm01 = "18" + let s:cterm02 = "19" + let s:cterm04 = "20" + let s:cterm06 = "21" + let s:cterm09 = "16" + let s:cterm0F = "17" +else + let s:cterm01 = "00" + let s:cterm02 = "08" + let s:cterm04 = "07" + let s:cterm06 = "07" + let s:cterm09 = "06" + let s:cterm0F = "03" +endif + +" General appearance colors: +" (some of them may be unused) + +" Transparent background +if !exists("g:codedark_transparent") + let g:codedark_transparent=0 +endif + +if !exists("g:codedark_modern") + let g:codedark_modern=0 +endif + +let s:cdNone = {'gui': 'NONE', 'cterm': 'NONE', 'cterm256': 'NONE'} +let s:cdFront = {'gui': '#D4D4D4', 'cterm': s:cterm05, 'cterm256': '188'} +let s:cdBack = {'gui': '#1E1E1E', 'cterm': s:cterm00, 'cterm256': '234'} +if g:codedark_modern | let s:cdBack = {'gui': '#1f1f1f', 'cterm': 'NONE', 'cterm256': '234'} | endif +if g:codedark_transparent | let s:cdBack = {'gui': 'NONE', 'cterm': 'NONE', 'cterm256': 'NONE'} | endif + +let s:cdTabCurrent = {'gui': '#1E1E1E', 'cterm': s:cterm00, 'cterm256': '234'} +if g:codedark_modern | let s:cdTabCurrent = {'gui': '#1f1f1f', 'cterm': s:cterm00, 'cterm256': '234'} | endif +let s:cdTabOther = {'gui': '#2D2D2D', 'cterm': s:cterm01, 'cterm256': '236'} +if g:codedark_modern | let s:cdTabOther = {'gui': '#181818', 'cterm': s:cterm01, 'cterm256': '236'} | endif +let s:cdTabOutside = {'gui': '#252526', 'cterm': s:cterm01, 'cterm256': '235'} +if g:codedark_modern | let s:cdTabOutside = {'gui': '#181818', 'cterm': s:cterm01, 'cterm256': '236'} | endif + +let s:cdLeftDark = {'gui': '#252526', 'cterm': s:cterm01, 'cterm256': '235'} +let s:cdLeftMid = {'gui': '#373737', 'cterm': s:cterm03, 'cterm256': '237'} +if g:codedark_modern | let s:cdLeftMid = {'gui': '#181818', 'cterm': 'NONE', 'cterm256': '237'} | endif +let s:cdLeftLight = {'gui': '#3F3F46', 'cterm': s:cterm03, 'cterm256': '238'} + +let s:cdPopupFront = {'gui': '#BBBBBB', 'cterm': s:cterm06, 'cterm256': '250'} +let s:cdPopupBack = {'gui': '#2D2D30', 'cterm': s:cterm01, 'cterm256': '236'} +let s:cdPopupHighlightBlue = {'gui': '#073655', 'cterm': s:cterm0D, 'cterm256': '24'} +let s:cdPopupHighlightGray = {'gui': '#3D3D40', 'cterm': s:cterm03, 'cterm256': '237'} + +let s:cdSplitLight = {'gui': '#898989', 'cterm': s:cterm04, 'cterm256': '245'} +let s:cdSplitDark = {'gui': '#444444', 'cterm': s:cterm03, 'cterm256': '238'} +let s:cdSplitThumb = {'gui': '#424242', 'cterm': s:cterm04, 'cterm256': '238'} + +let s:cdCursorDarkDark = {'gui': '#222222', 'cterm': s:cterm01, 'cterm256': '235'} +let s:cdCursorDark = {'gui': '#51504F', 'cterm': s:cterm03, 'cterm256': '239'} +let s:cdCursorLight = {'gui': '#AEAFAD', 'cterm': s:cterm04, 'cterm256': '145'} +let s:cdSelection = {'gui': '#264F78', 'cterm': s:cterm03, 'cterm256': '24'} +let s:cdLineNumber = {'gui': '#5A5A5A', 'cterm': s:cterm04, 'cterm256': '240'} + +let s:cdDiffRedDark = {'gui': '#4B1818', 'cterm': s:cterm08, 'cterm256': '52'} +if g:codedark_modern | let s:cdDiffRedDark = {'gui': '#da3633', 'cterm': 'NONE', 'cterm256': '52'} | endif +let s:cdDiffRedLight = {'gui': '#6F1313', 'cterm': s:cterm08, 'cterm256': '52'} +let s:cdDiffRedLightLight = {'gui': '#FB0101', 'cterm': s:cterm08, 'cterm256': '09'} +let s:cdDiffGreenDark = {'gui': '#373D29', 'cterm': s:cterm0B, 'cterm256': '237'} +if g:codedark_modern | let s:cdDiffGreenDark = {'gui': '#238636', 'cterm': 'NONE', 'cterm256': '237'} | endif +let s:cdDiffGreenLight = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'} +let s:cdDiffBlueLight = {'gui': '#87d7ff', 'cterm': s:cterm0C, 'cterm256': '117'} +let s:cdDiffBlue = {'gui': '#005f87', 'cterm': s:cterm0D, 'cterm256': '24'} + +let s:cdSearchCurrent = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'} +if g:codedark_modern | let s:cdSearchCurrent = {'gui': '#9e6a03', 'cterm': s:cterm09, 'cterm256': '58'} | endif +let s:cdSearch = {'gui': '#264F78', 'cterm': s:cterm03, 'cterm256': '24'} + +" Syntax colors: + +if !exists("g:codedark_conservative") + let g:codedark_conservative=0 +endif + +" Italicized comments +if !exists("g:codedark_italics") + let g:codedark_italics=0 +endif + +let s:cdGray = {'gui': '#808080', 'cterm': s:cterm04, 'cterm256': '08'} +let s:cdViolet = {'gui': '#646695', 'cterm': s:cterm04, 'cterm256': '60'} +let s:cdBlue = {'gui': '#569CD6', 'cterm': s:cterm0D, 'cterm256': '75'} +let s:cdDarkBlue = {'gui': '#223E55', 'cterm': s:cterm0D, 'cterm256': '73'} +let s:cdLightBlue = {'gui': '#9CDCFE', 'cterm': s:cterm0C, 'cterm256': '117'} +if g:codedark_conservative | let s:cdLightBlue = s:cdFront | endif +let s:cdGreen = {'gui': '#6A9955', 'cterm': s:cterm0B, 'cterm256': '65'} +let s:cdBlueGreen = {'gui': '#4EC9B0', 'cterm': s:cterm0F, 'cterm256': '43'} +let s:cdLightGreen = {'gui': '#B5CEA8', 'cterm': s:cterm09, 'cterm256': '151'} +let s:cdRed = {'gui': '#F44747', 'cterm': s:cterm08, 'cterm256': '203'} +if g:codedark_modern | let s:cdRed = {'gui': '#f85149', 'cterm': s:cterm08, 'cterm256': '203'} | endif +let s:cdOrange = {'gui': '#CE9178', 'cterm': s:cterm0F, 'cterm256': '173'} +let s:cdLightRed = {'gui': '#D16969', 'cterm': s:cterm08, 'cterm256': '167'} +if g:codedark_conservative | let s:cdLightRed = s:cdOrange | endif +let s:cdYellowOrange = {'gui': '#D7BA7D', 'cterm': s:cterm0A, 'cterm256': '179'} +let s:cdYellow = {'gui': '#DCDCAA', 'cterm': s:cterm0A, 'cterm256': '187'} +if g:codedark_conservative | let s:cdYellow = s:cdFront | endif +let s:cdPink = {'gui': '#C586C0', 'cterm': s:cterm0E, 'cterm256': '176'} +if g:codedark_conservative | let s:cdPink = s:cdBlue | endif +let s:cdSilver = {'gui': '#C0C0C0', 'cterm': s:cterm05, 'cterm256': '7'} + +" UI (built-in) +" <sid>hi(GROUP, FOREGROUND, BACKGROUND, ATTRIBUTE, SPECIAL) +call <sid>hi('Normal', s:cdFront, s:cdBack, 'none', {}) +call <sid>hi('ColorColumn', {}, s:cdCursorDarkDark, 'none', {}) +call <sid>hi('Cursor', s:cdCursorDark, s:cdCursorLight, 'none', {}) +call <sid>hi('CursorLine', {}, s:cdCursorDarkDark, 'none', {}) +hi! link CursorColumn CursorLine +call <sid>hi('Directory', s:cdBlue, s:cdNone, 'none', {}) +call <sid>hi('DiffAdd', s:cdFront, s:cdDiffGreenLight, 'none', {}) +call <sid>hi('DiffChange', s:cdFront, s:cdDiffBlue, 'none', {}) +call <sid>hi('DiffDelete', s:cdFront, s:cdDiffRedLight, 'none', {}) +call <sid>hi('DiffText', s:cdBack, s:cdDiffBlueLight, 'none', {}) +call <sid>hi('EndOfBuffer', s:cdLineNumber, s:cdBack, 'none', {}) +call <sid>hi('ErrorMsg', s:cdRed, s:cdBack, 'none', {}) +call <sid>hi('VertSplit', s:cdSplitDark, s:cdBack, 'none', {}) +call <sid>hi('Folded', s:cdLeftLight, s:cdLeftDark, 'underline', {}) +call <sid>hi('FoldColumn', s:cdLineNumber, s:cdBack, 'none', {}) +call <sid>hi('SignColumn', {}, s:cdBack, 'none', {}) +call <sid>hi('IncSearch', s:cdNone, s:cdSearchCurrent, 'none', {}) +call <sid>hi('LineNr', s:cdLineNumber, s:cdBack, 'none', {}) +call <sid>hi('CursorLineNr', s:cdPopupFront, s:cdBack, 'none', {}) +call <sid>hi('MatchParen', s:cdNone, s:cdCursorDark, 'none', {}) +call <sid>hi('ModeMsg', s:cdFront, s:cdLeftDark, 'none', {}) +hi! link MoreMsg ModeMsg +call <sid>hi('NonText', s:cdLineNumber, s:cdNone, 'none', {}) +call <sid>hi('Pmenu', s:cdPopupFront, s:cdPopupBack, 'none', {}) +call <sid>hi('PmenuSel', s:cdPopupFront, s:cdPopupHighlightBlue, 'none', {}) +call <sid>hi('PmenuSbar', {}, s:cdPopupHighlightGray, 'none', {}) +call <sid>hi('PmenuThumb', {}, s:cdPopupFront, 'none', {}) +call <sid>hi('Question', s:cdBlue, s:cdBack, 'none', {}) +call <sid>hi('Search', s:cdNone, s:cdSearch, 'none', {}) +call <sid>hi('SpecialKey', s:cdBlue, s:cdNone, 'none', {}) +call <sid>hi('StatusLine', s:cdFront, s:cdLeftMid, 'none', {}) +call <sid>hi('StatusLineNC', s:cdFront, s:cdLeftDark, 'none', {}) +call <sid>hi('TabLine', s:cdFront, s:cdTabOther, 'none', {}) +call <sid>hi('TabLineFill', s:cdFront, s:cdTabOutside, 'none', {}) +call <sid>hi('TabLineSel', s:cdFront, s:cdTabCurrent, 'none', {}) +call <sid>hi('Title', s:cdNone, s:cdNone, 'bold', {}) +call <sid>hi('Visual', s:cdNone, s:cdSelection, 'none', {}) +hi! link VisualNOS Visual +call <sid>hi('WarningMsg', s:cdOrange, s:cdBack, 'none', {}) +call <sid>hi('WildMenu', s:cdNone, s:cdSelection, 'none', {}) +call <sid>hi('netrwMarkFile', s:cdFront, s:cdSelection, 'none', {}) + +" Legacy groups for official git.vim and diff.vim syntax +hi! link diffAdded DiffAdd +hi! link diffChanged DiffChange +hi! link diffRemoved DiffDelete + +if g:codedark_italics | call <sid>hi('Comment', s:cdGreen, {}, 'italic', {}) | else | call <sid>hi('Comment', s:cdGreen, {}, 'none', {}) | endif + +" SYNTAX HIGHLIGHT (built-in) +call <sid>hi('Constant', s:cdBlue, {}, 'none', {}) +call <sid>hi('String', s:cdOrange, {}, 'none', {}) +call <sid>hi('Character', s:cdOrange, {}, 'none', {}) +call <sid>hi('Number', s:cdLightGreen, {}, 'none', {}) +call <sid>hi('Boolean', s:cdBlue, {}, 'none', {}) +hi! link Float Number +call <sid>hi('Identifier', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('Function', s:cdYellow, {}, 'none', {}) +call <sid>hi('Statement', s:cdPink, {}, 'none', {}) +call <sid>hi('Conditional', s:cdPink, {}, 'none', {}) +call <sid>hi('Repeat', s:cdPink, {}, 'none', {}) +call <sid>hi('Label', s:cdPink, {}, 'none', {}) +call <sid>hi('Operator', s:cdFront, {}, 'none', {}) +call <sid>hi('Keyword', s:cdPink, {}, 'none', {}) +call <sid>hi('Exception', s:cdPink, {}, 'none', {}) +call <sid>hi('PreProc', s:cdPink, {}, 'none', {}) +call <sid>hi('Include', s:cdPink, {}, 'none', {}) +call <sid>hi('Define', s:cdPink, {}, 'none', {}) +call <sid>hi('Macro', s:cdPink, {}, 'none', {}) +call <sid>hi('PreCondit', s:cdPink, {}, 'none', {}) +call <sid>hi('Type', s:cdBlue, {}, 'none', {}) +call <sid>hi('StorageClass', s:cdBlue, {}, 'none', {}) +call <sid>hi('Structure', s:cdBlue, {}, 'none', {}) +call <sid>hi('Typedef', s:cdBlue, {}, 'none', {}) +call <sid>hi('Special', s:cdYellowOrange, {}, 'none', {}) +call <sid>hi('SpecialChar', s:cdFront, {}, 'none', {}) +call <sid>hi('Tag', s:cdFront, {}, 'none', {}) +call <sid>hi('Delimiter', s:cdFront, {}, 'none', {}) +if g:codedark_italics | call <sid>hi('SpecialComment', s:cdGreen, {}, 'italic', {}) | else | call <sid>hi('SpecialComment', s:cdGreen, {}, 'none', {}) | endif +call <sid>hi('Debug', s:cdFront, {}, 'none', {}) +call <sid>hi('Underlined', s:cdNone, {}, 'underline', {}) +call <sid>hi("Conceal", s:cdFront, s:cdBack, 'none', {}) +call <sid>hi('Ignore', s:cdBack, {}, 'none', {}) +call <sid>hi('Error', s:cdRed, s:cdBack, 'undercurl', s:cdRed) +call <sid>hi('Todo', s:cdNone, s:cdLeftMid, 'none', {}) +call <sid>hi('SpellBad', s:cdRed, s:cdBack, 'undercurl', s:cdRed) +call <sid>hi('SpellCap', s:cdRed, s:cdBack, 'undercurl', s:cdRed) +call <sid>hi('SpellRare', s:cdRed, s:cdBack, 'undercurl', s:cdRed) +call <sid>hi('SpellLocal', s:cdRed, s:cdBack, 'undercurl', s:cdRed) + +" NEOVIM +" Make neovim specific groups load only on Neovim +if has("nvim") + " nvim-treesitter/nvim-treesitter (github) + call <sid>hiTSlink('@error', 'TSError', 'ErrorMsg') + call <sid>hiTSlink('@punctuation.delimiter', 'TSPunctDelimiter', 'Delimiter') + call <sid>hiTSlink('@punctuation.bracket', 'TSPunctBracket', 'Delimiter') + call <sid>hiTSlink('@punctuation.special', 'TSPunctSpecial', 'Delimiter') + " Constant + call <sid>hiTS('@constant', 'TSConstant', s:cdYellow, {}, 'none', {}) + call <sid>hiTSlink('@constant.builtin', 'TSConstBuiltin', 'Constant') + call <sid>hiTS('@constant.macro', 'TSConstMacro', s:cdBlueGreen, {}, 'none', {}) + call <sid>hiTSlink('@string', 'TSString', 'String') + call <sid>hiTSlink('@string.regex', 'TSStringRegex', 'String') + call <sid>hiTS('@string.escape', 'TSStringEscape', s:cdYellowOrange, {}, 'none', {}) + call <sid>hiTSlink('@character', 'TSCharacter', 'Character') + call <sid>hiTSlink('@number', 'TSNumber', 'Number') + call <sid>hiTS('@boolean', 'TSBoolean', s:cdBlue, {}, 'none', {}) + call <sid>hiTSlink('@float', 'TSFloat', 'Float') + call <sid>hiTS('@annotation', 'TSAnnotation', s:cdYellow, {}, 'none', {}) + call <sid>hiTS('@attribute', 'TSAttribute', s:cdBlueGreen, {}, 'none', {}) + call <sid>hiTS('@namespace', 'TSNamespace', s:cdBlueGreen, {}, 'none', {}) + " Functions + call <sid>hiTSlink('@function.builtin', 'TSFuncBuiltin', 'Function') + call <sid>hiTSlink('@function', 'TSFunction','Function') + call <sid>hiTSlink('@function.macro', 'TSFuncMacro','Function') + call <sid>hiTS('@parameter', 'TSParameter', s:cdLightBlue, {}, 'none', {}) + call <sid>hiTS('@parameter.reference', 'TSParameterReference', s:cdLightBlue, {}, 'none', {}) + call <sid>hiTS('@method', 'TSMethod', s:cdYellow, {}, 'none', {}) + call <sid>hiTS('@field', 'TSField', s:cdLightBlue, {}, 'none', {}) + call <sid>hiTS('@property', 'TSProperty', s:cdLightBlue, {}, 'none', {}) + call <sid>hiTS('@constructor', 'TSConstructor', s:cdBlueGreen, {}, 'none', {}) + " Keywords + call <sid>hiTSlink('@conditional', 'TSConditional', 'Conditional') + call <sid>hiTSlink('@repeat', 'TSRepeat', 'Repeat') + call <sid>hiTS('@label', 'TSLabel', s:cdLightBlue, {}, 'none', {}) + call <sid>hiTS('@keyword', 'TSKeyword', s:cdBlue, {}, 'none', {}) + call <sid>hiTS('@keyword.function', 'TSKeywordFunction', s:cdBlue, {}, 'none', {}) + call <sid>hiTS('@keyword.operator', 'TSKeywordOperator', s:cdBlue, {}, 'none', {}) + call <sid>hiTS('@operator', 'TSOperator', s:cdFront, {}, 'none', {}) + call <sid>hiTS('@exception', 'TSException', s:cdPink, {}, 'none', {}) + call <sid>hiTS('@type', 'TSType', s:cdBlueGreen, {}, 'none', {}) + call <sid>hiTSlink('@type.builtin', 'TSTypeBuiltin', 'Type') + call <sid>hi('TSStructure', s:cdLightBlue, {}, 'none', {}) + call <sid>hiTSlink('@include', 'TSInclude', 'Include') + " Variable + call <sid>hiTS('@variable', 'TSVariable', s:cdLightBlue, {}, 'none', {}) + call <sid>hiTS('@variable.builtin', 'TSVariableBuiltin', s:cdLightBlue, {}, 'none', {}) + " Text + call <sid>hiTS('@text', 'TSText', s:cdFront, s:cdNone, 'bold', {}) + call <sid>hiTS('@text.strong', 'TSStrong', s:cdFront, s:cdNone, 'bold', {}) + call <sid>hiTS('@text.emphasis', 'TSEmphasis', s:cdYellowOrange, s:cdNone, 'italic', {}) + call <sid>hiTSlink('@text.underline', 'TSUnderline', 'Underlined') + call <sid>hiTS('@text.title', 'TSTitle', s:cdBlue, {}, 'bold', {}) + call <sid>hiTS('@text.literal', 'TSLiteral', s:cdOrange, {}, 'none', {}) + call <sid>hiTS('@text.uri', 'TSURI', s:cdOrange, {}, 'none', {}) + " Tags + call <sid>hiTS('@tag', 'TSTag', s:cdBlue, {}, 'none', {}) + call <sid>hiTS('@tag.delimiter', 'TSTagDelimiter', s:cdGray, {}, 'none', {}) + + " hrsh7th/nvim-cmp (github) + call <sid>hi('CmpItemAbbrDeprecated', s:cdGray, {}, 'none', {}) + call <sid>hi('CmpItemAbbrMatch', s:cdBlue, {}, 'none', {}) + hi! link CmpItemAbbrMatchFuzzy CmpItemAbbrMatch + call <sid>hi('CmpItemKindVariable', s:cdLightBlue, {}, 'none', {}) + call <sid>hi('CmpItemKindInterface', s:cdLightBlue, {}, 'none', {}) + call <sid>hi('CmpItemKindText', s:cdLightBlue, {}, 'none', {}) + call <sid>hi('CmpItemKindFunction', s:cdPink, {}, 'none', {}) + call <sid>hi('CmpItemKindMethod ', s:cdPink, {}, 'none', {}) + call <sid>hi('CmpItemKindKeyword', s:cdFront, {}, 'none', {}) + call <sid>hi('CmpItemKindProperty', s:cdFront, {}, 'none', {}) + call <sid>hi('CmpItemKindUnit', s:cdFront, {}, 'none', {}) +endif + +" MARKDOWN (built-in) +call <sid>hi('markdownH1', s:cdBlue, {}, 'bold', {}) +hi! link markdownH2 markdownH1 +hi! link markdownH3 markdownH1 +hi! link markdownH4 markdownH1 +hi! link markdownH5 markdownH1 +hi! link markdownH6 markdownH1 +call <sid>hi('markdownHeadingDelimiter', s:cdBlue, {}, 'none', {}) +call <sid>hi('markdownBold', s:cdBlue, {}, 'bold', {}) +call <sid>hi('markdownRule', s:cdBlue, {}, 'bold', {}) +call <sid>hi('markdownCode', s:cdOrange, {}, 'none', {}) +hi! link markdownCodeDelimiter markdownCode +call <sid>hi('markdownFootnote', s:cdOrange, {}, 'none', {}) +hi! link markdownFootnoteDefinition markdownFootnote +call <sid>hi('markdownUrl', s:cdLightBlue, {}, 'underline', {}) +call <sid>hi('markdownLinkText', s:cdOrange, {}, 'none', {}) +call <sid>hi('markdownEscape', s:cdYellowOrange, {}, 'none', {}) + +" ASCIIDOC (built-in) +call <sid>hi("asciidocAttributeEntry", s:cdYellowOrange, {}, 'none', {}) +call <sid>hi("asciidocAttributeList", s:cdPink, {}, 'none', {}) +call <sid>hi("asciidocAttributeRef", s:cdYellowOrange, {}, 'none', {}) +call <sid>hi("asciidocHLabel", s:cdBlue, {}, 'bold', {}) +call <sid>hi("asciidocListingBlock", s:cdOrange, {}, 'none', {}) +call <sid>hi("asciidocMacroAttributes", s:cdYellowOrange, {}, 'none', {}) +call <sid>hi("asciidocOneLineTitle", s:cdBlue, {}, 'bold', {}) +call <sid>hi("asciidocPassthroughBlock", s:cdBlue, {}, 'none', {}) +call <sid>hi("asciidocQuotedMonospaced", s:cdOrange, {}, 'none', {}) +call <sid>hi("asciidocTriplePlusPassthrough", s:cdYellow, {}, 'none', {}) +call <sid>hi("asciidocMacro", s:cdPink, {}, 'none', {}) +call <sid>hi("asciidocAdmonition", s:cdOrange, {}, 'none', {}) +call <sid>hi("asciidocQuotedEmphasized", s:cdBlue, {}, 'italic', {}) +call <sid>hi("asciidocQuotedEmphasized2", s:cdBlue, {}, 'italic', {}) +call <sid>hi("asciidocQuotedEmphasizedItalic", s:cdBlue, {}, 'italic', {}) +hi! link asciidocBackslash Keyword +hi! link asciidocQuotedBold markdownBold +hi! link asciidocQuotedMonospaced2 asciidocQuotedMonospaced +hi! link asciidocQuotedUnconstrainedBold asciidocQuotedBold +hi! link asciidocQuotedUnconstrainedEmphasized asciidocQuotedEmphasized +hi! link asciidocURL markdownUrl + +" JSON (built-in) +call <sid>hi('jsonKeyword', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('jsonEscape', s:cdYellowOrange, {}, 'none', {}) +call <sid>hi('jsonNull', s:cdBlue, {}, 'none', {}) +call <sid>hi('jsonBoolean', s:cdBlue, {}, 'none', {}) + +" HTML (built-in) +call <sid>hi('htmlTag', s:cdGray, {}, 'none', {}) +call <sid>hi('htmlEndTag', s:cdGray, {}, 'none', {}) +call <sid>hi('htmlTagName', s:cdBlue, {}, 'none', {}) +hi! link htmlSpecialTagName htmlTagName +call <sid>hi('htmlArg', s:cdLightBlue, {}, 'none', {}) + +" PHP (built-in) +call <sid>hi('phpClass', s:cdBlueGreen, {}, 'none', {}) +hi! link phpUseClass phpClass +hi! link phpStaticClasses phpClass +call <sid>hi('phpMethod', s:cdYellow, {}, 'none', {}) +call <sid>hi('phpFunction', s:cdYellow, {}, 'none', {}) +call <sid>hi('phpInclude', s:cdBlue, {}, 'none', {}) +call <sid>hi('phpRegion', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('phpMethodsVar', s:cdLightBlue, {}, 'none', {}) + +" CSS (built-in) +call <sid>hi('cssBraces', s:cdFront, {}, 'none', {}) +call <sid>hi('cssInclude', s:cdPink, {}, 'none', {}) +call <sid>hi('cssTagName', s:cdBlue, {}, 'none', {}) +call <sid>hi('cssClassName', s:cdYellowOrange, {}, 'none', {}) +call <sid>hi('cssPseudoClass', s:cdYellowOrange, {}, 'none', {}) +call <sid>hi('cssPseudoClassId', s:cdOrange, {}, 'none', {}) +call <sid>hi('cssPseudoClassLang', s:cdYellowOrange, {}, 'none', {}) +call <sid>hi('cssIdentifier', s:cdYellowOrange, {}, 'none', {}) +call <sid>hi('cssProp', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('cssDefinition', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('cssAttr', s:cdOrange, {}, 'none', {}) +call <sid>hi('cssAttrRegion', s:cdOrange, {}, 'none', {}) +call <sid>hi('cssColor', s:cdOrange, {}, 'none', {}) +call <sid>hi('cssFunction', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('cssFunctionName', s:cdYellow, {}, 'none', {}) +call <sid>hi('cssVendor', s:cdOrange, {}, 'none', {}) +call <sid>hi('cssValueNumber', s:cdOrange, {}, 'none', {}) +call <sid>hi('cssValueLength', s:cdLightGreen, {}, 'none', {}) +call <sid>hi('cssUnitDecorators', s:cdLightGreen, {}, 'none', {}) +call <sid>hi('cssStyle', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('cssImportant', s:cdBlue, {}, 'none', {}) +call <sid>hi('cssSelectorOp', s:cdFront, {}, 'none', {}) +call <sid>hi('cssKeyFrameProp2', s:cdLightGreen, {}, 'none', {}) + +" JavaScript: +call <sid>hi('jsVariableDef', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('jsFuncArgs', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('jsFuncBlock', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('jsRegexpString', s:cdLightRed, {}, 'none', {}) +call <sid>hi('jsThis', s:cdBlue, {}, 'none', {}) +call <sid>hi('jsOperatorKeyword', s:cdBlue, {}, 'none', {}) +call <sid>hi('jsDestructuringBlock', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('jsObjectKey', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('jsGlobalObjects', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('jsModuleKeyword', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('jsClassDefinition', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('jsClassKeyword', s:cdBlue, {}, 'none', {}) +call <sid>hi('jsExtendsKeyword', s:cdBlue, {}, 'none', {}) +call <sid>hi('jsExportDefault', s:cdPink, {}, 'none', {}) +call <sid>hi('jsFuncCall', s:cdYellow, {}, 'none', {}) +call <sid>hi('jsObjectValue', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('jsParen', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('jsObjectProp', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('jsIfElseBlock', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('jsParenIfElse', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('jsSpreadOperator', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('jsSpreadExpression', s:cdLightBlue, {}, 'none', {}) + +" Vue: +call <sid>hi('VueComponentName', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('VueValue', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('VueBrace', s:cdYellowOrange, {}, 'none', {}) +call <sid>hi('VueExpression', s:cdYellow, {}, 'none', {}) +call <sid>hi('VueTag', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('VueKey', s:cdPink, {}, 'none', {}) + +" Typescript: +call <sid>hi('typescriptLabel', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptTry', s:cdPink, {}, 'none', {}) +call <sid>hi('typescriptExceptions', s:cdPink, {}, 'none', {}) +call <sid>hi('typescriptBraces', s:cdFront, {}, 'none', {}) +call <sid>hi('typescriptEndColons', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptParens', s:cdFront, {}, 'none', {}) +call <sid>hi('typescriptDocTags', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptDocComment', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('typescriptLogicSymbols', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptImport', s:cdPink, {}, 'none', {}) +call <sid>hi('typescriptBOM', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptVariableDeclaration', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptVariable', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptExport', s:cdPink, {}, 'none', {}) +call <sid>hi('typescriptAliasDeclaration', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('typescriptAliasKeyword', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptClassName', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('typescriptAccessibilityModifier', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptOperator', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptArrowFunc', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptMethodAccessor', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptMember', s:cdYellow, {}, 'none', {}) +call <sid>hi('typescriptTypeReference', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('typescriptDefault', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptTemplateSB', s:cdYellowOrange, {}, 'none', {}) +call <sid>hi('typescriptArrowFuncArg', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptParamImpl', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptFuncComma', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptCastKeyword', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptCall', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptCase', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptReserved', s:cdPink, {}, 'none', {}) +call <sid>hi('typescriptDefault', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptDecorator', s:cdYellow, {}, 'none', {}) +call <sid>hi('typescriptPredefinedType', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('typescriptClassHeritage', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('typescriptClassExtends', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptClassKeyword', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptBlock', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptDOMDocProp', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptTemplateSubstitution', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptClassBlock', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptFuncCallArg', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptIndexExpr', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptConditionalParen', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptArray', s:cdYellow, {}, 'none', {}) +call <sid>hi('typescriptES6SetProp', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptObjectLiteral', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptTypeParameter', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('typescriptEnumKeyword', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptEnum', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('typescriptLoopParen', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptParenExp', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptModule', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptAmbientDeclaration', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptModule', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptFuncTypeArrow', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptInterfaceHeritage', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('typescriptInterfaceName', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('typescriptInterfaceKeyword', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptInterfaceExtends', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptGlobal', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('typescriptAsyncFuncKeyword', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptFuncKeyword', s:cdBlue, {}, 'none', {}) +call <sid>hi('typescriptGlobalMethod', s:cdYellow, {}, 'none', {}) +call <sid>hi('typescriptPromiseMethod', s:cdYellow, {}, 'none', {}) +call <sid>hi('typescriptIdentifierName', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('typescriptCacheMethod', s:cdYellow, {}, 'none', {}) + +" XML: +call <sid>hi('xmlTag', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('xmlTagName', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('xmlEndTag', s:cdBlueGreen, {}, 'none', {}) + +" Ruby: +call <sid>hi('rubyClassNameTag', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('rubyClassName', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('rubyModuleName', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('rubyConstant', s:cdBlueGreen, {}, 'none', {}) + +" Golang: +call <sid>hi('goPackage', s:cdBlue, {}, 'none', {}) +call <sid>hi('goImport', s:cdBlue, {}, 'none', {}) +call <sid>hi('goVar', s:cdBlue, {}, 'none', {}) +call <sid>hi('goConst', s:cdBlue, {}, 'none', {}) +call <sid>hi('goStatement', s:cdPink, {}, 'none', {}) +call <sid>hi('goType', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('goSignedInts', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('goUnsignedInts', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('goFloats', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('goComplexes', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('goBuiltins', s:cdYellow, {}, 'none', {}) +call <sid>hi('goBoolean', s:cdBlue, {}, 'none', {}) +call <sid>hi('goPredefinedIdentifiers', s:cdBlue, {}, 'none', {}) +call <sid>hi('goTodo', s:cdGreen, {}, 'none', {}) +call <sid>hi('goDeclaration', s:cdBlue, {}, 'none', {}) +call <sid>hi('goDeclType', s:cdBlue, {}, 'none', {}) +call <sid>hi('goTypeDecl', s:cdBlue, {}, 'none', {}) +call <sid>hi('goTypeName', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('goVarAssign', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('goVarDefs', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('goReceiver', s:cdFront, {}, 'none', {}) +call <sid>hi('goReceiverType', s:cdFront, {}, 'none', {}) +call <sid>hi('goFunctionCall', s:cdYellow, {}, 'none', {}) +call <sid>hi('goMethodCall', s:cdYellow, {}, 'none', {}) +call <sid>hi('goSingleDecl', s:cdLightBlue, {}, 'none', {}) + +" Python: +call <sid>hi('pythonStatement', s:cdBlue, {}, 'none', {}) +call <sid>hi('pythonOperator', s:cdBlue, {}, 'none', {}) +call <sid>hi('pythonException', s:cdPink, {}, 'none', {}) +call <sid>hi('pythonExClass', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('pythonBuiltinObj', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('pythonBuiltinType', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('pythonBoolean', s:cdBlue, {}, 'none', {}) +call <sid>hi('pythonNone', s:cdBlue, {}, 'none', {}) +call <sid>hi('pythonTodo', s:cdBlue, {}, 'none', {}) +call <sid>hi('pythonClassVar', s:cdBlue, {}, 'none', {}) +call <sid>hi('pythonClassDef', s:cdBlueGreen, {}, 'none', {}) + +" TeX: +call <sid>hi('texStatement', s:cdBlue, {}, 'none', {}) +call <sid>hi('texBeginEnd', s:cdYellow, {}, 'none', {}) +call <sid>hi('texBeginEndName', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('texOption', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('texBeginEndModifier', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('texDocType', s:cdPink, {}, 'none', {}) +call <sid>hi('texDocTypeArgs', s:cdLightBlue, {}, 'none', {}) + +" GIT (built-in) +call <sid>hi('gitcommitHeader', s:cdGray, {}, 'none', {}) +call <sid>hi('gitcommitOnBranch', s:cdGray, {}, 'none', {}) +call <sid>hi('gitcommitBranch', s:cdPink, {}, 'none', {}) +call <sid>hi('gitcommitComment', s:cdGray, {}, 'none', {}) +call <sid>hi('gitcommitSelectedType', s:cdGreen, {}, 'none', {}) +hi! link gitcommitSelectedFile gitcommitSelectedType +call <sid>hi('gitcommitDiscardedType', s:cdRed, {}, 'none', {}) +hi! link gitcommitDiscardedFile gitcommitDiscardedType +hi! link gitcommitOverflow gitcommitDiscardedType +call <sid>hi('gitcommitSummary', s:cdPink, {}, 'none', {}) +call <sid>hi('gitcommitBlank', s:cdPink, {}, 'none', {}) + +" Lua: +call <sid>hi('luaFuncCall', s:cdYellow, {}, 'none', {}) +call <sid>hi('luaFuncArgName', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('luaFuncKeyword', s:cdPink, {}, 'none', {}) +call <sid>hi('luaLocal', s:cdPink, {}, 'none', {}) +call <sid>hi('luaBuiltIn', s:cdBlue, {}, 'none', {}) + +" SH: +call <sid>hi('shDeref', s:cdLightBlue, {}, 'none', {}) +call <sid>hi('shVariable', s:cdLightBlue, {}, 'none', {}) + +" SQL: +call <sid>hi('sqlKeyword', s:cdPink, {}, 'none', {}) +call <sid>hi('sqlFunction', s:cdYellowOrange, {}, 'none', {}) +call <sid>hi('sqlOperator', s:cdPink, {}, 'none', {}) + +" YAML: +call <sid>hi('yamlKey', s:cdBlue, {}, 'none', {}) +call <sid>hi('yamlConstant', s:cdBlue, {}, 'none', {}) + +" C++: +call <sid>hi('CTagsClass', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('CTagsStructure', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('CTagsNamespace', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('CTagsGlobalVariable', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('CTagsDefinedName ', s:cdBlue, {}, 'none', {}) +highlight def link CTagsFunction Function +highlight def link CTagsMember Identifier + +" C++ color_coded +call <sid>hi('StructDecl', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('UnionDecl', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('ClassDecl', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('TypeRef', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('TypedefDecl', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('TypeAliasDecl', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('EnumDecl', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('TemplateTypeParameter', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('TypeAliasTemplateDecl', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('ClassTemplate', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('ClassTemplatePartialSpecialization', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('FunctionTemplate', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('TemplateRef', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('TemplateTemplateParameter', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('UsingDeclaration', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('MemberRef', s:cdLightBlue, {}, 'italic', {}) +call <sid>hi('MemberRefExpr', s:cdYellow, {}, 'italic', {}) +call <sid>hi('Namespace', s:cdSilver, {}, 'none', {}) +call <sid>hi('NamespaceRef', s:cdSilver, {}, 'none', {}) +call <sid>hi('NamespaceAlias', s:cdSilver, {}, 'none', {}) + +" C++ lsp-cxx-highlight +call <sid>hi('LspCxxHlSymClass', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('LspCxxHlSymStruct', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('LspCxxHlSymEnum', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('LspCxxHlSymTypeAlias', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('LspCxxHlSymTypeParameter', s:cdBlueGreen, {}, 'none', {}) +call <sid>hi('LspCxxHlSymConcept', s:cdBlueGreen, {}, 'italic', {}) +call <sid>hi('LspCxxHlSymNamespace', s:cdSilver, {}, 'none', {}) + +" Coc Explorer: +call <sid>hi('CocHighlightText', {}, s:cdSelection, 'none', {}) +call <sid>hi('CocExplorerIndentLine', s:cdCursorDark, {}, 'none', {}) diff --git a/vim/colors/distinguished.vim b/vim/colors/distinguished.vim new file mode 100644 index 0000000..30934e5 --- /dev/null +++ b/vim/colors/distinguished.vim @@ -0,0 +1,179 @@ +" Author: Kim Silkebækken <kim.silkebaekken+vim@gmail.com> +" Source repository: https://github.com/Lokaltog/vim-distinguished + +" Initialization {{{ + set background=dark + + hi clear + if exists('syntax_on') + syntax reset + endif + + let g:colors_name = 'distinguished' + + if ! has('gui_running') + if &t_Co != 256 + echoe 'The ' . g:colors_name . ' color scheme requires gvim or a 256-color terminal' + + finish + endif + endif +" }}} +" Color dictionary parser {{{ + function! s:ColorDictParser(color_dict) + for [group, group_colors] in items(a:color_dict) + exec 'hi ' . group + \ . ' ctermfg=' . (group_colors[0] == '' ? 'NONE' : group_colors[0]) + \ . ' ctermbg=' . (group_colors[1] == '' ? 'NONE' : group_colors[1]) + \ . ' cterm=' . (group_colors[2] == '' ? 'NONE' : group_colors[2]) + \ + \ . ' guifg=' . (group_colors[3] == '' ? 'NONE' : '#' . group_colors[3]) + \ . ' guibg=' . (group_colors[4] == '' ? 'NONE' : '#' . group_colors[4]) + \ . ' gui=' . (group_colors[5] == '' ? 'NONE' : group_colors[5]) + endfor + endfunction +" }}} + +" | Highlight group | CTFG | CTBG | CTAttributes | || | GUIFG | GUIBG | GUIAttributes | +" |--------------------------------|-------|-------|-----------------| || |---------|----------|-----------------| +call s:ColorDictParser({ + \ 'Normal' : [ 231, 16, '', 'ffffff', '000000', ''] + \ , 'Visual' : [ 240, 253, '', '585858', 'dadada', ''] + \ + \ , 'Cursor' : [ '', '', '', 'ffffff', 'dd4010', ''] + \ , 'lCursor' : [ '', '', '', 'ffffff', '89b6e2', ''] + \ + \ , 'CursorLine' : [ 16, 231, '', '', '3a3a3a', ''] + \ , 'CursorColumn' : [ 231, 237, '', 'ffffff', '3a3a3a', ''] + \ + \ , 'Folded' : [ 249, 234, '', 'b2b2b2', '1c1c1c', ''] + \ , 'FoldColumn' : [ 243, 234, '', '767676', '1c1c1c', ''] + \ , 'SignColumn' : [ 231, 233, 'bold', 'ffffff', '121212', 'bold'] + \ , 'ColorColumn' : [ '', 233, '', '', '262626', ''] + \ + \ , 'StatusLine' : [ 231, 236, 'bold', 'ffffff', '303030', 'bold'] + \ , 'StatusLineNC' : [ 244, 232, '', '808080', '080808', ''] + \ + \ , 'LineNr' : [ 243, 235, '', '767676', '262626', ''] + \ , 'VertSplit' : [ 240, '', '', '585858', '1c1c1c', ''] + \ + \ , 'WildMenu' : [ 234, 231, '', '1c1c1c', 'ffffff', ''] + \ , 'Directory' : [ 143, '', 'bold', 'afaf5f', '', 'bold'] + \ , 'Underlined' : [ 130, '', '', 'af5f00', '', ''] + \ + \ , 'Question' : [ 74, '', 'bold', '5fafd7', '', 'bold'] + \ , 'MoreMsg' : [ 214, '', 'bold', 'ffaf00', '', 'bold'] + \ , 'WarningMsg' : [ 202, '', 'bold', 'ff5f00', '', 'bold'] + \ , 'ErrorMsg' : [ 196, '', 'bold', 'ff0000', '', 'bold'] + \ + \ , 'Comment' : [ 243, 233, '', '767676', '121212', ''] + \ , 'vimCommentTitleLeader' : [ 250, 233, '', 'bcbcbc', '121212', ''] + \ , 'vimCommentTitle' : [ 250, 233, '', 'bcbcbc', '121212', ''] + \ , 'vimCommentString' : [ 245, 233, '', '8a8a8a', '121212', ''] + \ + \ , 'TabLine' : [ 231, 238, '', 'ffffff', '444444', ''] + \ , 'TabLineSel' : [ 255, '', 'bold', 'eeeeee', '', 'bold'] + \ , 'TabLineFill' : [ 240, 238, '', '585858', '444444', ''] + \ , 'TabLineNumber' : [ 160, 238, 'bold', 'd70000', '444444', 'bold'] + \ , 'TabLineClose' : [ 245, 238, 'bold', '8a8a8a', '444444', 'bold'] + \ + \ , 'SpellCap' : [ 231, 31, 'bold', 'ffffff', '0087af', 'bold'] + \ + \ , 'SpecialKey' : [ 239, '', '', '4e4e4e', '', ''] + \ , 'NonText' : [ 88, '', '', '870000', '', ''] + \ , 'MatchParen' : [ 231, 25, 'bold', 'ffffff', '005faf', 'bold'] + \ + \ , 'Constant' : [ 137, '', 'bold', 'af875f', '', 'bold'] + \ , 'Special' : [ 150, '', '', 'afd787', '', ''] + \ , 'Identifier' : [ 66, '', 'bold', '5f8787', '', 'bold'] + \ , 'Statement' : [ 186, '', 'bold', 'd7d787', '', 'bold'] + \ , 'PreProc' : [ 247, '', '', '9e9e9e', '', ''] + \ , 'Type' : [ 67, '', 'bold', '5f87af', '', 'bold'] + \ , 'String' : [ 143, '', '', 'afaf5f', '', ''] + \ , 'Number' : [ 173, '', '', 'd7875f', '', ''] + \ , 'Define' : [ 173, '', '', 'd7875f', '', ''] + \ , 'Error' : [ 208, 124, '', 'ff8700', 'af0000', ''] + \ , 'Function' : [ 179, '', '', 'd7af5f', '', ''] + \ , 'Include' : [ 173, '', '', 'd7875f', '', ''] + \ , 'PreCondit' : [ 173, '', '', 'd7875f', '', ''] + \ , 'Keyword' : [ 173, '', '', 'd7875f', '', ''] + \ , 'Search' : [ 231, 131, '', '000000', 'ffff5f', 'underline,bold'] + \ , 'Title' : [ 231, '', '', 'ffffff', '', ''] + \ , 'Delimiter' : [ 246, '', '', '949494', '', ''] + \ , 'StorageClass' : [ 187, '', '', 'd7d7af', '', ''] + \ + \ , 'TODO' : [ 228, 94, 'bold', 'ffff87', '875f00', 'bold'] + \ + \ , 'SyntasticWarning' : [ 220, 94, '', 'ffff87', '875f00', 'bold'] + \ , 'SyntasticError' : [ 202, 52, '', 'ffff87', '875f00', 'bold'] + \ + \ , 'Pmenu' : [ 248, 240, '', 'a8a8a8', '585858', ''] + \ , 'PmenuSel' : [ 253, 245, '', 'dadada', '8a8a8a', ''] + \ , 'PmenuSbar' : [ 253, 248, '', 'dadada', 'a8a8a8', ''] + \ + \ , 'phpEOL' : [ 245, '', '', 'dadada', '', ''] + \ , 'phpStringDelim' : [ 94, '', '', '875f00', '', ''] + \ , 'phpDelimiter' : [ 160, '', '', 'd70000', '', ''] + \ , 'phpFunctions' : [ 221, '', 'bold', 'ffd75f', '', 'bold'] + \ , 'phpBoolean' : [ 172, '', 'bold', 'd78700', '', 'bold'] + \ , 'phpOperator' : [ 215, '', '', 'ffaf5f', '', ''] + \ , 'phpMemberSelector' : [ 138, '', 'bold', 'af8787', '', 'bold'] + \ , 'phpParent' : [ 227, '', '', 'ffff5f', '', ''] + \ + \ , 'PHPClassTag' : [ 253, '', '', 'dadada', '', ''] + \ , 'PHPInterfaceTag' : [ 253, '', '', 'dadada', '', ''] + \ , 'PHPFunctionTag' : [ 222, '', 'bold', 'ffd787', '', 'bold'] + \ + \ , 'pythonDocString' : [ 240, 233, '', '585858', '121212', ''] + \ , 'pythonDocStringTitle' : [ 245, 233, '', 'dadada', '121212', ''] + \ , 'pythonRun' : [ 65, '', '', '5f875f', '', ''] + \ , 'pythonBuiltinObj' : [ 67, '', 'bold', '5f87af', '', 'bold'] + \ , 'pythonSelf' : [ 250, '', 'bold', 'bcbcbc', '', 'bold'] + \ , 'pythonFunction' : [ 179, '', 'bold', 'd7af5f', '', 'bold'] + \ , 'pythonClass' : [ 221, '', 'bold', 'ffd75f', '', 'bold'] + \ , 'pythonExClass' : [ 130, '', '', 'af5f00', '', ''] + \ , 'pythonException' : [ 130, '', 'bold', 'af5f00', '', 'bold'] + \ , 'pythonOperator' : [ 186, '', '', 'd7d787', '', ''] + \ , 'pythonPreCondit' : [ 152, '', 'bold', 'afd7d7', '', 'bold'] + \ , 'pythonDottedName' : [ 166, '', '', 'd75f00', '', ''] + \ , 'pythonDecorator' : [ 124, '', 'bold', 'af0000', '', 'bold'] + \ + \ , 'PythonInterfaceTag' : [ 109, '', '', '87afaf', '', ''] + \ , 'PythonClassTag' : [ 221, '', '', 'ffd75f', '', ''] + \ , 'PythonFunctionTag' : [ 109, '', '', '87afaf', '', ''] + \ , 'PythonVariableTag' : [ 253, '', '', 'dadada', '', ''] + \ , 'PythonMemberTag' : [ 145, '', '', 'afafaf', '', ''] + \ + \ , 'CTagsImport' : [ 109, '', '', '87afaf', '', ''] + \ , 'CTagsClass' : [ 221, '', '', 'ffd75f', '', ''] + \ , 'CTagsFunction' : [ 109, '', '', '87afaf', '', ''] + \ , 'CTagsGlobalVariable' : [ 253, '', '', 'dadada', '', ''] + \ , 'CTagsMember' : [ 145, '', '', 'afafaf', '', ''] + \ + \ , 'xmlTag' : [ 149, '', 'bold', 'afd75f', '', 'bold'] + \ , 'xmlTagName' : [ 250, '', '', 'bcbcbc', '', ''] + \ , 'xmlEndTag' : [ 209, '', 'bold', 'ff875f', '', 'bold'] + \ + \ , 'cssImportant' : [ 166, '', 'bold', 'd75f00', '', 'bold'] + \ + \ , 'DiffAdd' : [ 112, 22, '', '87d700', '005f00', ''] + \ , 'DiffChange' : [ 220, 94, '', 'ffd700', '875f00', ''] + \ , 'DiffDelete' : [ 160, '', '', 'd70000', '', ''] + \ , 'DiffText' : [ 220, 94, 'reverse,bold', 'ffd700', '875f00', 'reverse,bold'] + \ + \ , 'diffLine' : [ 68, '', 'bold', '5f87d7', '', 'bold'] + \ , 'diffFile' : [ 242, '', '', '6c6c6c', '', ''] + \ , 'diffNewFile' : [ 242, '', '', '6c6c6c', '', ''] +\ }) + +hi link htmlTag xmlTag +hi link htmlTagName xmlTagName +hi link htmlEndTag xmlEndTag + +hi link phpCommentTitle vimCommentTitle +hi link phpDocTags vimCommentString +hi link phpDocParam vimCommentTitle + +hi link diffAdded DiffAdd +hi link diffChanged DiffChange +hi link diffRemoved DiffDelete diff --git a/vim/colors/grb256.vim b/vim/colors/grb256.vim new file mode 100644 index 0000000..10c57c0 --- /dev/null +++ b/vim/colors/grb256.vim @@ -0,0 +1,32 @@ +" Based on +runtime colors/ir_black.vim + +let g:colors_name = "grb256" + +hi pythonSpaceError ctermbg=red guibg=red + +hi Comment ctermfg=darkgray + +hi StatusLine ctermbg=darkgrey ctermfg=white +hi StatusLineNC ctermbg=black ctermfg=lightgrey +hi VertSplit ctermbg=black ctermfg=lightgrey +hi LineNr ctermfg=darkgray +hi CursorLine guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=234 +hi Function guifg=#FFD2A7 guibg=NONE gui=NONE ctermfg=yellow ctermbg=NONE cterm=NONE +hi Visual guifg=NONE guibg=#262D51 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE + +hi Error guifg=NONE guibg=NONE gui=undercurl ctermfg=16 ctermbg=red cterm=NONE guisp=#FF6C60 " undercurl color +hi ErrorMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=16 ctermbg=red cterm=NONE +hi WarningMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=16 ctermbg=red cterm=NONE +hi SpellBad guifg=white guibg=#FF6C60 gui=BOLD ctermfg=16 ctermbg=160 cterm=NONE + +" ir_black doesn't highlight operators for some reason +hi Operator guifg=#6699CC guibg=NONE gui=NONE ctermfg=lightblue ctermbg=NONE cterm=NONE + +highlight DiffAdd term=reverse cterm=bold ctermbg=lightgreen ctermfg=16 +highlight DiffChange term=reverse cterm=bold ctermbg=lightblue ctermfg=16 +highlight DiffText term=reverse cterm=bold ctermbg=lightgray ctermfg=16 +highlight DiffDelete term=reverse cterm=bold ctermbg=lightred ctermfg=16 + +highlight PmenuSel ctermfg=16 ctermbg=156 + diff --git a/vim/colors/gruber-darker.vim b/vim/colors/gruber-darker.vim new file mode 100644 index 0000000..1bd9d87 --- /dev/null +++ b/vim/colors/gruber-darker.vim @@ -0,0 +1,228 @@ +" GruberDarker Theme for Vim +" +" Adapted from an Emacs theme: +" https://github.com/rexim/gruber-darker-theme +" +" Colorscheme template: https://github.com/mhartington/oceanic-next/blob/master/colors/OceanicNext.vim +" -------------------------------------------- + +" {{{ Setup + set background=dark + hi clear + if exists("syntax_on") + syntax reset + endif + let g:colors_name="GruberDarker" +" }}} +" {{{ Italics + let g:gruber_terminal_italic = get(g:, 'gruber_terminal_italic', 0) + let s:italic = "" + if g:gruber_terminal_italic == 1 + let s:italic = "italic" + endif +"}}} +" {{{ Bold + let g:gruber_terminal_bold = get(g:, 'gruber_terminal_bold', 0) + let s:bold = "" + if g:gruber_terminal_bold == 1 + let s:bold = "bold" + endif +"}}} +" {{{ Colors + let s:gruberFG=['#e4e4ef', '253'] + let s:gruberFG1=['#f4f4ff', '254'] + let s:gruberFG2=['#f5f5ff', '240'] + let s:gruberFG3=['#65737e', '243'] + let s:gruberWhite=['#ffffff', '15'] + let s:gruberBlack=['#000000', '0'] + let s:gruberBG=['#181818', '233'] + let s:gruberBG1=['#282828', '235'] + let s:gruberBG2=['#453d41', '238'] + let s:gruberLightRed=['#c73c3f', '203'] + let s:gruberRed=['#f43841', '160'] + let s:gruberNiagara=['#96a6c8', '147'] + let s:gruberQuartz=['#95a99f', '108'] + let s:gruberGreen=['#73c936', '70'] + let s:gruberMain=['#ffdd33', '220'] + let s:gruberBrown=['#cc8c3c', '172'] + let s:gruberPurple=['#9e95c7', '98'] + let s:gruberLightBlue=['#0087d7', '32'] + let s:gruberBlue=['#0000d7', '20'] + let s:gruberGold=['#d7af00', '178'] + let s:none=['NONE', 'NONE'] + +" {{{ Highlight function +function! <sid>hi(group, fg, bg, attr, attrsp) + " fg, bg, attr, attrsp + if !empty(a:fg) + exec "hi " . a:group . " guifg=" . a:fg[0] + exec "hi " . a:group . " ctermfg=" . a:fg[1] + endif + if !empty(a:bg) + exec "hi " . a:group . " guibg=" . a:bg[0] + exec "hi " . a:group . " ctermbg=" . a:bg[1] + endif + if a:attr != "" + exec "hi " . a:group . " gui=" . a:attr + exec "hi " . a:group . " cterm=" . a:attr + endif + if !empty(a:attrsp) + exec "hi " . a:group . " guisp=" . a:attrsp[0] + endif +endfunction +" }}} +" {{{ call <sid>:hi(group, fg, bg, gui, guisp) +call <sid>hi('Bold', '', '', 'bold', '') +call <sid>hi('Debug', s:gruberFG2, '', '', '') +call <sid>hi('Directory', s:gruberLightBlue, '', '', '') +call <sid>hi('ErrorMsg', s:gruberWhite, s:gruberRed, '', '') +call <sid>hi('Exception', s:gruberBrown, '', '', '') +call <sid>hi('FoldColumn', s:gruberBrown, s:gruberFG2, '', '') +call <sid>hi('Folded', s:gruberBrown, s:gruberFG2, s:italic, '') +call <sid>hi('IncSearch', s:gruberBlack, s:gruberFG2, 'NONE', '') +call <sid>hi('Italic', '', '', s:italic, '') + +call <sid>hi('Macro', s:gruberFG, '', '', '') +call <sid>hi('MatchParen', s:gruberBG2, s:gruberMain, '', '') +call <sid>hi('ModeMsg', s:gruberFG2, '', '', '') +call <sid>hi('MoreMsg', s:gruberFG2, '', '', '') +call <sid>hi('Question', s:gruberNiagara, '', '', '') +call <sid>hi('Search', s:gruberBlack, s:gruberMain, '', '') +call <sid>hi('SpecialKey', s:gruberFG2, '', '', '') +call <sid>hi('TooLong', s:gruberFG2, '', '', '') +call <sid>hi('Underlined', s:gruberPurple, '', '', '') +call <sid>hi('Visual', '', s:gruberBG2, '', '') +call <sid>hi('VisualNOS', s:gruberRed, '', '', '') +call <sid>hi('WarningMsg', s:gruberRed, '', '', '') +call <sid>hi('WildMenu', s:gruberBlack, s:gruberMain, '', '') +call <sid>hi('Title', s:gruberQuartz, '', '', '') +call <sid>hi('Conceal', s:gruberFG, s:gruberBG, '', '') +call <sid>hi('Cursor', s:gruberBG, s:gruberFG, '', '') +call <sid>hi('NonText', s:gruberFG2, '', '', '') +call <sid>hi('Normal', s:gruberFG, s:gruberBG, '', '') +call <sid>hi('EndOfBuffer', s:gruberFG, s:gruberBG, '', '') +call <sid>hi('LineNr', s:gruberFG, s:gruberBG, '', '') +call <sid>hi('SignColumn', s:none, s:none, '', '') +call <sid>hi('VertSplit', s:gruberFG2, s:gruberBG1, '', '') +call <sid>hi('ColorColumn', '', s:gruberBG2, '', '') +call <sid>hi('CursorColumn', '', s:gruberBG2, '', '') +call <sid>hi('CursorLine', '', s:gruberBG2, 'NONE', '') +call <sid>hi('CursorLineNr', s:gruberMain, s:gruberBG, '', '') +call <sid>hi('PMenu', s:gruberFG, s:gruberBG1, '', '') +call <sid>hi('PMenuSel', s:gruberFG, s:gruberBG2, '', '') +call <sid>hi('PmenuSbar', '', s:gruberBG, '', '') +call <sid>hi('PmenuThumb', '', s:gruberBG, '', '') +call <sid>hi('helpExample', s:gruberMain, '', '', '') +call <sid>hi('helpCommand', s:gruberMain, '', '', '') + +" Standard syntax highlighting +call <sid>hi('Boolean', s:gruberQuartz, '', '', '') +call <sid>hi('Character', s:gruberGreen, '', '', '') +call <sid>hi('Comment', s:gruberBrown, '', s:italic, '') +call <sid>hi('Conditional', s:gruberMain, '', '', '') +call <sid>hi('Constant', s:gruberQuartz, '', '', '') +call <sid>hi('Define', s:gruberMain, '', '', '') +call <sid>hi('Delimiter', s:gruberFG, '', '', '') +call <sid>hi('Float', s:gruberQuartz, '', '', '') +call <sid>hi('Function', s:gruberNiagara, '', '', '') +call <sid>hi('Identifier', s:gruberNiagara, '', '', '') +call <sid>hi('Include', s:gruberMain, '', '', '') +call <sid>hi('Keyword', s:gruberMain, '', '', '') +call <sid>hi('Label', s:gruberFG, '', '', '') +call <sid>hi('Number', s:gruberQuartz, '', '', '') +call <sid>hi('Operator', s:gruberFG, '', '', '') +call <sid>hi('PreProc', s:gruberFG1, '', '', '') +call <sid>hi('Repeat', s:gruberMain, '', '', '') +call <sid>hi('Special', s:gruberMain, '', '', '') +call <sid>hi('SpecialChar', s:gruberMain, '', '', '') +call <sid>hi('Statement', s:gruberMain, '', '', '') +call <sid>hi('StorageClass', s:gruberMain, '', '', '') +call <sid>hi('String', s:gruberGreen, '', '', '') +call <sid>hi('Structure', s:gruberMain, '', '', '') +call <sid>hi('Todo', s:gruberBG, s:gruberMain, '', '') +call <sid>hi('Type', s:gruberQuartz, '', '', '') +call <sid>hi('Typedef', s:gruberQuartz, '', '', '') + +call <sid>hi('SpellBad', '', '', 'undercurl', '') +call <sid>hi('SpellLocal', '', '', 'undercurl', '') +call <sid>hi('SpellCap', '', '', 'undercurl', '') +call <sid>hi('SpellRare', '', '', 'undercurl', '') + +" Haskell Highlighting +call <sid>hi('hsTypeDef', s:gruberMain, '', '', '') +call <sid>hi('hsStructure', s:gruberMain, '', '', '') +call <sid>hi('hsStatement', s:gruberMain, '', '', '') +call <sid>hi('hsconditional', s:gruberMain, '', '', '') +call <sid>hi('hsconditional', s:gruberMain, '', '', '') +call <sid>hi('hsconditional', s:gruberMain, '', '', '') + +" Java Highlighting +" TODO Fix function definitions +call <sid>hi('javaConstant', s:gruberQuartz, '', '', '') +call <sid>hi('javaConditional', s:gruberMain, '', '', '') +call <sid>hi('javaOperator', s:gruberMain, '', '', '') +call <sid>hi('javaExceptions', s:gruberMain, '', '', '') +call <sid>hi('javaAssert', s:gruberMain, '', '', '') +call <sid>hi('javaClassDecl', s:gruberMain, '', '', '') +call <sid>hi('javaBraces', s:gruberFG, '', '', '') +call <sid>hi('javaLangObject', s:gruberFG, '', '', '') +call <sid>hi('javaType', s:gruberQuartz, '', '', '') + +" Python Highlighting +call <sid>hi('pythonRepeat', s:gruberMain, '', '', '') +call <sid>hi('pythonOperator', s:gruberMain, '', '', '') +call <sid>hi('pythonException', s:gruberMain, '', '', '') + + +call <sid>hi('markdownCode', s:gruberGreen, '', '', '') +call <sid>hi('markdownCodeBlock', s:gruberGreen, '', '', '') +call <sid>hi('markdownHeadingDelimiter', s:gruberNiagara, '', '', '') +call <sid>hi('markdownItalic', s:gruberPurple, '', s:italic, '') +call <sid>hi('markdownBold', s:gruberMain, '', s:bold, '') +call <sid>hi('markdownCodeDelimiter', s:gruberBrown, '', s:italic, '') +call <sid>hi('markdownError', s:gruberFG, s:gruberBG1, '', '') + +call <sid>hi('ALEErrorSign', s:gruberRed, s:gruberBG2, s:bold, '') +call <sid>hi('ALEWarningSign', s:gruberMain, s:gruberBG2, s:bold, '') +call <sid>hi('ALEInfoSign', s:gruberGreen, s:gruberBG2, s:bold, '') + +call <sid>hi('NERDTreeExecFile', s:gruberFG, '', '', '') +call <sid>hi('NERDTreeDirSlash', s:gruberNiagara, '', '', '') +call <sid>hi('NERDTreeOpenable', s:gruberNiagara, '', '', '') +call <sid>hi('NERDTreeFile', '', s:none, '', '') +call <sid>hi('NERDTreeFlags', s:gruberNiagara, '', '', '') + +call <sid>hi('vimfilerLeaf', s:gruberFG, '', '', '') +call <sid>hi('vimfilerNormalFile', s:gruberFG, s:gruberBG1, '', '') +call <sid>hi('vimfilerOpenedFile', s:gruberNiagara, '', '', '') +call <sid>hi('vimfilerClosedFile', s:gruberNiagara, '', '', '') + +" }}} + +let g:terminal_color_0=s:gruberBG1[0] +let g:terminal_color_8=s:gruberBG1[0] + +let g:terminal_color_1=s:gruberLightRed[0] +let g:terminal_color_9=s:gruberLightRed[0] + +let g:terminal_color_2=s:gruberGreen[0] +let g:terminal_color_10=s:gruberGreen[0] + +let g:terminal_color_3=s:gruberMain[0] +let g:terminal_color_11=s:gruberMain[0] + +let g:terminal_color_4=s:gruberNiagara[0] +let g:terminal_color_12=s:gruberNiagara[0] + +let g:terminal_color_5=s:gruberPurple[0] +let g:terminal_color_13=s:gruberPurple[0] + +let g:terminal_color_6=s:gruberNiagara[0] +let g:terminal_color_14=s:gruberNiagara[0] + +let g:terminal_color_7=s:gruberFG[0] +let g:terminal_color_15=s:gruberFG[0] + +let g:terminal_color_background=s:gruberBG1[0] +let g:terminal_color_foreground=s:gruberWhite[0] + diff --git a/vim/colors/hemisu.vim b/vim/colors/hemisu.vim new file mode 100644 index 0000000..95d39e2 --- /dev/null +++ b/vim/colors/hemisu.vim @@ -0,0 +1,229 @@ +" hemisu.vim - Vim color scheme +" ---------------------------------------------------------- +" Author: Noah Frederick (http://noahfrederick.com/) +" Version: 3.4 +" License: Creative Commons Attribution-NonCommercial +" 3.0 Unported License (see README.md) +" ---------------------------------------------------------- + +" Setup ----------------------------------------------------{{{ +" Reset syntax highlighting +hi clear +if exists("syntax_on") + syntax reset +endif + +" Declare theme name +let g:colors_name = "hemisu" + +"}}} +" The Colors -----------------------------------------------{{{ +" Define reusable colors +let s:black = { "gui": "#080D14", "cterm": "16" } +let s:white = { "gui": "#FFFFFF", "cterm": "231" } +let s:almostWhite = { "gui": "#FFDABD", "cterm": "255" } +let s:almostBlack = { "gui": "#111111", "cterm": "233" } +let s:middleDarkGrey = { "gui": "#777777", "cterm": "241" } +let s:middleLightGrey = { "gui": "#999999", "cterm": "246" } +let s:lightGrey = { "gui": "#BBBBBB", "cterm": "249" } +let s:darkGrey = { "gui": "#444444", "cterm": "238" } + +let s:darkPink = { "gui": "#63001C", "cterm": "88" } +let s:middleDarkPink = { "gui": "#FF0055", "cterm": "197" } +let s:middleLightPink = { "gui": "#D65E76", "cterm": "167" } +let s:lightPink = { "gui": "#FFAFAF", "cterm": "217" } + +let s:darkBlue = { "gui": "#005F87", "cterm": "24" } +let s:middleDarkBlue = { "gui": "#538192", "cterm": "24" } +let s:middleLightBlue = { "gui": "#9FD3E6", "cterm": "116" } +let s:lightBlue = { "gui": "#CBE4EE", "cterm": "195" } +let s:verylightBlue = { "gui": "#D7F9FC", "cterm": "195" } +let s:lightCyan = { "gui": "#84D9A5", "cterm": "195" } +let s:lightPurple = { "gui": "#8CFAF1", "cterm": "195" } + +let s:darkGreen = { "gui": "#5F5F00", "cterm": "58" } +let s:middleDarkGreen = { "gui": "#739200", "cterm": "64" } +let s:middleLightGreen = { "gui": "#C78C52", "cterm": "149" } +let s:lightGreen = { "gui": "#EAEB88", "cterm": "157" } +let s:intenseGreen = { "gui": "#52EB66", "cterm": "157" } + +let s:darkGold = { "gui": "#C2B85B", "cterm": "149" } + +let s:darkTan = { "gui": "#503D15", "cterm": "52" } +let s:lightTan = { "gui": "#ECE1C8", "cterm": "230" } + +" Assign to semantic categories based on background color +if &background == "dark" + " Dark theme + let s:bg = s:black + let s:norm = s:almostWhite + let s:comment = s:middleDarkGrey + let s:dimmed = s:middleLightGrey + let s:subtle = s:darkGrey + let s:faint = s:almostBlack + let s:accent1 = s:middleLightBlue + let s:accent2 = s:darkGold + let s:accent3 = s:lightCyan + let s:accent4 = s:lightTan + let s:accent5 = s:verylightBlue + let s:accent6 = s:middleLightGreen + let s:normRed = s:middleLightPink + let s:normGreen = s:middleLightGreen + let s:normBlue = s:middleLightBlue + let s:faintRed = s:darkPink + let s:faintGreen = s:darkGreen + let s:faintBlue = s:darkBlue +else + " Light theme + let s:bg = s:white + let s:norm = s:almostBlack + let s:comment = s:middleLightGrey + let s:dimmed = s:middleDarkGrey + let s:subtle = s:lightGrey + let s:faint = s:almostWhite + let s:accent1 = s:middleDarkBlue + let s:accent2 = s:middleDarkGreen + let s:accent3 = s:middleDarkPink + let s:accent4 = s:darkTan + let s:normRed = s:middleDarkPink + let s:normGreen = s:middleDarkGreen + let s:normBlue = s:middleDarkBlue + let s:faintRed = s:lightPink + let s:faintGreen = s:lightGreen + let s:faintBlue = s:lightBlue +endif + +"}}} +" Utility Function -----------------------------------------{{{ +function! s:h(group, style) + execute "highlight" a:group + \ "guifg=" (has_key(a:style, "fg") ? a:style.fg.gui : "NONE") + \ "guibg=" (has_key(a:style, "bg") ? a:style.bg.gui : "NONE") + \ "guisp=" (has_key(a:style, "sp") ? a:style.sp.gui : "NONE") + \ "gui=" (has_key(a:style, "gui") ? a:style.gui : "NONE") + \ "ctermfg=" (has_key(a:style, "fg") ? a:style.fg.cterm : "NONE") + \ "ctermbg=" (has_key(a:style, "bg") ? a:style.bg.cterm : "NONE") + \ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE") +endfunction + +"}}} +" Highlights - Vim >= 7 ------------------------------------{{{ +if version >= 700 + call s:h("CursorLine", { "bg": s:faint }) + call s:h("MatchParen", { "fg": s:accent1, "bg": s:faint, "gui": "bold" }) + call s:h("Pmenu", { "bg": s:faint }) + call s:h("PmenuThumb", { "bg": s:norm }) + call s:h("PmenuSBar", { "bg": s:subtle }) + call s:h("PmenuSel", { "bg": s:faintBlue }) + call s:h("ColorColumn", { "bg": s:faintRed }) + call s:h("SpellBad", { "sp": s:normRed, "gui": "undercurl" }) + call s:h("SpellCap", { "sp": s:accent1, "gui": "undercurl" }) + call s:h("SpellRare", { "sp": s:normGreen, "gui": "undercurl" }) + call s:h("SpellLocal", { "sp": s:accent4, "gui": "undercurl" }) + hi! link CursorColumn CursorLine + + " Use background for cterm Spell*, which does not support undercurl + execute "hi! SpellBad ctermbg=" s:faintRed.cterm + execute "hi! SpellCap ctermbg=" s:faintBlue.cterm + execute "hi! SpellRare ctermbg=" s:faintGreen.cterm + execute "hi! SpellLocal ctermbg=" s:faint.cterm +endif + +"}}} +" Highlights - UI ------------------------------------------{{{ +call s:h("Normal", { "fg": s:norm, "bg": s:bg }) +call s:h("NonText", { "fg": s:subtle }) +call s:h("Cursor", { "fg": s:bg, "bg": s:accent3 }) +call s:h("Visual", { "bg": s:faintBlue }) +call s:h("IncSearch", { "bg": s:faintBlue }) +call s:h("Search", { "bg": s:faintGreen }) +call s:h("StatusLine", { "fg": s:norm, "bg": s:faint, "gui": "bold", "cterm": "bold" }) +call s:h("StatusLineNC", { "fg": s:dimmed, "bg": s:faint }) +call s:h("SignColumn", { "fg": s:norm }) +call s:h("VertSplit", { "fg": s:subtle, "bg": s:faint }) +call s:h("TabLine", { "fg": s:dimmed, "bg": s:faint }) +call s:h("TabLineSel", { "gui": "bold", "cterm": "bold" }) +call s:h("Folded", { "fg": s:comment, "bg": s:faint }) +call s:h("Directory", { "fg": s:accent1 }) +call s:h("Title", { "fg": s:accent4, "gui": "bold", "cterm": "bold" }) +call s:h("ErrorMsg", { "bg": s:faintRed }) +call s:h("DiffAdd", { "bg": s:faintGreen }) +call s:h("DiffChange", { "bg": s:faintRed }) +call s:h("DiffDelete", { "fg": s:normRed, "bg": s:faintRed }) +call s:h("DiffText", { "bg": s:faintRed, "gui": "bold", "cterm": "bold" }) +call s:h("User1", { "fg": s:bg, "bg": s:normGreen }) +call s:h("User2", { "fg": s:bg, "bg": s:normRed }) +call s:h("User3", { "fg": s:bg, "bg": s:normBlue }) +hi! link WildMenu IncSearch +hi! link FoldColumn SignColumn +hi! link WarningMsg ErrorMsg +hi! link MoreMsg Title +hi! link Question MoreMsg +hi! link ModeMsg MoreMsg +hi! link TabLineFill StatusLineNC +hi! link LineNr NonText +hi! link SpecialKey NonText + +"}}} +" Highlights - Generic Syntax ------------------------------{{{ +call s:h("Delimiter", { "fg": s:dimmed }) +call s:h("Comment", { "fg": s:dimmed, "gui": "italic" }) +call s:h("Underlined", { "fg": s:accent1, "gui": "underline", "cterm": "underline" }) +call s:h("Type", { "fg": s:accent3 }) +call s:h("String", { "fg": s:accent2 }) +call s:h("Constant", { "fg": s:accent6 }) +call s:h("Statement", { "fg": s:accent5 }) +"call s:h("Number", { "fg": s:lightPurple}) +call s:h("Identifier", { "fg": s:norm}) +" call s:h("@lsp.mod.declaration", { "fg": s:lightGreen}) +" call s:h("@lsp.mod.class", { "fg": s:accent3}) +" call s:h("@lsp.typemod.variable.globalScope", { "fg": s:accent6}) +" call s:h("@lsp.type.namespace", { "fg": s:norm}) +call s:h("Keyword", { "fg": s:accent5 }) +call s:h("Todo", { "fg": s:normRed, "gui": "bold", "cterm": "bold" }) + +hi! link StorageClass Keyword +hi! link Number Normal +hi! link Special Constant +hi! link PreProc Constant +hi! link Error ErrorMsg + +"}}} +" Highlights - HTML ----------------------------------------{{{ +hi! link htmlLink Underlined +hi! link htmlTag Type +hi! link htmlEndTag htmlTag + +"}}} +" Highlights - CSS -----------------------------------------{{{ +hi! link cssBraces Delimiter +hi! link cssSelectorOp cssBraces +hi! link cssClassName Normal + +"}}} +" Highlights - Markdown ------------------------------------{{{ +hi! link mkdListItem mkdDelimiter + +"}}} +" Highlights - Shell ---------------------------------------{{{ +hi! link shOperator Delimiter +hi! link shCaseBar Delimiter + +"}}} +" Highlights - JavaScript ----------------------------------{{{ +hi! link javaScriptValue Constant +hi! link javaScriptNull Constant +hi! link javaScriptBraces Normal + +"}}} +" Highlights - Help ----------------------------------------{{{ +hi! link helpExample String +hi! link helpHeadline Title +hi! link helpSectionDelim Comment +hi! link helpHyperTextEntry Statement +hi! link helpHyperTextJump Underlined +hi! link helpURL Underlined + +"}}} + +" vim: fdm=marker:sw=2:sts=2:et diff --git a/vim/colors/hipster.vim b/vim/colors/hipster.vim new file mode 100644 index 0000000..973aeb1 --- /dev/null +++ b/vim/colors/hipster.vim @@ -0,0 +1,102 @@ +" --- hipster --- +" Author: Conner McDaniel (connermcd.com) +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif + +let g:colors_name = "hipster" +set t_Co=256 +set background=dark + +" Vim >= 7.0 specific colors +if version >= 700 +hi CursorLine guifg=NONE guibg=#32322f guisp=NONE gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE +hi CursorLineNr guifg=#8a8a8a guibg=#32322f guisp=NONE gui=NONE ctermfg=245 ctermbg=236 cterm=NONE +hi MatchParen guifg=#eae788 guibg=#857b6f guisp=NONE gui=bold ctermfg=228 ctermbg=101 cterm=bold +hi PMenu guifg=#dddddd guibg=#423d35 guisp=#423d35 gui=NONE ctermfg=253 ctermbg=238 cterm=NONE +hi PMenuSbar guifg=NONE guibg=#848688 guisp=#848688 gui=NONE ctermfg=NONE ctermbg=102 cterm=NONE +hi PMenuSel guifg=#ffd700 guibg=#706070 guisp=#706070 gui=bold ctermfg=220 ctermbg=242 cterm=bold +hi PMenuThumb guifg=NONE guibg=#a4a5a8 guisp=#a4a5a8 gui=NONE ctermfg=NONE ctermbg=248 cterm=NONE +endif + +" General colors +hi Normal guifg=#f9f8ff guibg=#000000 guisp=NONE gui=NONE ctermfg=15 ctermbg=NONE cterm=NONE +hi Cursor guifg=NONE guibg=#cd6f5c guisp=#cd6f5c gui=NONE ctermfg=NONE ctermbg=173 cterm=NONE +hi Visual guifg=#c3c6ca guibg=#554d4b guisp=NONE gui=NONE ctermfg=251 ctermbg=239 cterm=NONE +hi Visualnos guifg=#c3c6ca guibg=#303030 guisp=NONE gui=NONE ctermfg=251 ctermbg=236 cterm=NONE +hi Search guifg=#000000 guibg=#8dabcd guisp=#8dabcd gui=NONE ctermfg=NONE ctermbg=110 cterm=NONE +hi Folded guifg=#857b6f guibg=#000000 guisp=NONE gui=NONE ctermfg=241 ctermbg=233 cterm=NONE +hi StatusLineNC guifg=NONE guibg=#262626 guisp=#262626 gui=NONE ctermfg=NONE ctermbg=235 cterm=NONE +hi VertSplit guifg=#444444 guibg=#444444 guisp=NONE gui=NONE ctermfg=238 ctermbg=238 cterm=NONE +" hi StatusLineNC guifg=#857b6f guibg=#444444 guisp=NONE gui=NONE ctermfg=241 ctermbg=238 cterm=NONE +hi LineNr guifg=#595959 guibg=NONE guisp=NONE gui=NONE ctermfg=240 ctermbg=NONE cterm=NONE +hi SpecialKey guifg=#87beeb guibg=NONE guisp=NONE gui=NONE ctermfg=117 ctermbg=NONE cterm=NONE +hi WarningMsg guifg=#bd4848 guibg=#f9f8ff guisp=#f9f8ff gui=bold ctermfg=131 ctermbg=15 cterm=bold +hi ErrorMsg guifg=#bd5353 guibg=NONE guisp=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE +hi MoreMsg guifg=#ffff00 guibg=NONE guisp=NONE gui=NONE ctermfg=11 ctermbg=NONE cterm=NONE + +" Diff highlighting +hi DiffAdd guifg=NONE guibg=#301430 guisp=#3c664e gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE +hi DiffDelete guifg=#ad3838 guibg=#301430 guisp=#301430 gui=NONE ctermfg=131 ctermbg=236 cterm=NONE +hi DiffChange guifg=NONE guibg=#7e8c2d guisp=#331833 gui=NONE ctermfg=NONE ctermbg=238 cterm=NONE + +" Syntax highlighting +hi Keyword guifg=#d6d69a guibg=NONE guisp=NONE gui=NONE ctermfg=186 ctermbg=NONE cterm=NONE +hi Function guifg=#bf9b76 guibg=NONE guisp=NONE gui=NONE ctermfg=137 ctermbg=NONE cterm=NONE +hi Constant guifg=#44807d guibg=NONE guisp=NONE gui=NONE ctermfg=66 ctermbg=NONE cterm=NONE +hi Number guifg=#386175 guibg=NONE guisp=NONE gui=NONE ctermfg=66 ctermbg=NONE cterm=NONE +hi PreProc guifg=#ad5234 guibg=NONE guisp=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE +hi Statement guifg=#418db3 guibg=NONE guisp=NONE gui=NONE ctermfg=67 ctermbg=NONE cterm=NONE +hi Identifier guifg=#5f875f guibg=NONE guisp=NONE gui=NONE ctermfg=65 ctermbg=NONE cterm=NONE +hi Type guifg=#babaa2 guibg=NONE guisp=NONE gui=NONE ctermfg=144 ctermbg=NONE cterm=NONE +hi Special guifg=#7a490d guibg=NONE guisp=NONE gui=NONE ctermfg=3 ctermbg=NONE cterm=NONE +hi String guifg=#7e8c2d guibg=NONE guisp=NONE gui=NONE ctermfg=100 ctermbg=NONE cterm=NONE +hi Comment guifg=#576157 guibg=NONE guisp=NONE gui=NONE ctermfg=241 ctermbg=NONE cterm=NONE +hi Todo guifg=#a1481e guibg=NONE guisp=NONE gui=NONE ctermfg=130 ctermbg=NONE cterm=NONE + +" Linking +hi! link FoldColumn Folded +hi! link CursorColumn CursorLine +hi! link Search CursorLine +hi! link NonText LineNr +hi! link DiffText DiffChange +hi! link SpellBad ErrorMsg +hi! link SpellCap ErrorMsg +hi! link Error ErrorMsg +hi! link Question MoreMsg +hi! link htmlBold Special +hi! link htmlItalic Number +hi! link Title Function + +" Unhighlighted: +" CursorIM +" CursorColumn +" DiffText +" Directory +" FoldColumn +" IncSearch +" Menu +" ModeMsg +" MoreMsg +" NonText +" PmenuSbar +" PmenuThumb +" Question +" Scrollbar +" SignColumn +" SpellBad +" SpellLocal +" SpellRare +" TabLine +" TabLineFill +" TabLineSel +" Tooltip +" User1 +" User9 +" WildMenu +" Links + +" vim: ts=3:sw=3:et |