From 98aa8b0c051c3276c14e42604a00753c640697ac Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 8 Oct 2021 20:40:59 +0200 Subject: feat: nvim import --- git/.gitconfig | 2 +- nvim/colors/miramare.vim | 1753 ++++++++++++++++++++++++++++++++++++++ nvim/init.vim | 195 +++++ nvim/lua/evil_lualine.lua | 220 +++++ nvim/lua/git.lua | 56 ++ vim/.vim/bundle/indentpy.vim | 196 ----- vim/.vim/colors/gruvbox-hard.vim | 1336 ----------------------------- vim/.vim/colors/horizon.vim | 226 ----- vim/.vim/colors/miramare.vim | 1753 -------------------------------------- vim/.vimrc | 180 ---- 10 files changed, 2225 insertions(+), 3692 deletions(-) create mode 100644 nvim/colors/miramare.vim create mode 100644 nvim/init.vim create mode 100644 nvim/lua/evil_lualine.lua create mode 100644 nvim/lua/git.lua delete mode 100755 vim/.vim/bundle/indentpy.vim delete mode 100644 vim/.vim/colors/gruvbox-hard.vim delete mode 100755 vim/.vim/colors/horizon.vim delete mode 100644 vim/.vim/colors/miramare.vim delete mode 100755 vim/.vimrc diff --git a/git/.gitconfig b/git/.gitconfig index d0ae13e..0e9b0bb 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -12,7 +12,7 @@ [credential] helper = store [core] - editor = vim + editor = nvim pager = delta [init] defaultBranch = main diff --git a/nvim/colors/miramare.vim b/nvim/colors/miramare.vim new file mode 100644 index 0000000..9fef3a7 --- /dev/null +++ b/nvim/colors/miramare.vim @@ -0,0 +1,1753 @@ +" ----------------------------------------------------------------------------- +" Name: Miramare +" Description: Comfortable & Pleasant Color Scheme for Vim +" Author: Francisco Bach +" Website: https://github.com/franbach/miramare +" License: MIT +" ----------------------------------------------------------------------------- + +" Initialization: {{{ +highlight clear +if exists('syntax_on') + syntax reset +endif +set background=dark + +let s:t_Co = exists('&t_Co') && !empty(&t_Co) && &t_Co > 1 ? &t_Co : 2 + +let g:colors_name = 'miramare' +" }}} +" Configuration: {{{ +let s:configuration = {} +let s:configuration.palette = get(g:, 'miramare_palette', 'soft') +let s:configuration.transparent_background = get(g:, 'miramare_transparent_background', 0) +let s:configuration.disable_italic_comment = get(g:, 'miramare_disable_italic_comment', 0) +let s:configuration.enable_italic = get(g:, 'miramare_enable_italic', 0) +let s:configuration.cursor = get(g:, 'miramare_cursor', 'auto') +let s:configuration.current_word = get(g:, 'miramare_current_word', get(g:, 'miramare_transparent_background', 0) == 0 ? 'grey background' : 'bold') +" }}} +" Palette: {{{ +let s:palette = { + \ 'bg0': ['#2A2426', '235', 'Black'], + \ 'bg1': ['#242021', '236', 'DarkGrey'], + \ 'bg2': ['#242021', '237', 'DarkGrey'], + \ 'bg3': ['#242021', '238', 'DarkGrey'], + \ 'bg4': ['#242021', '239', 'Grey'], + \ 'bg_red': ['#392f32', '52', 'DarkRed'], + \ 'bg_green': ['#333b2f', '22', 'DarkGreen'], + \ 'bg_blue': ['#203a41', '17', 'DarkBlue'], + \ 'fg': ['#e6d6ac', '223', 'White'], + \ 'red': ['#e68183', '167', 'Red'], + \ 'orange': ['#fabd2f', '208', 'Red'], + \ 'yellow': ['#d9bb80', '214', 'Yellow'], + \ 'green': ['#a7c080', '142', 'Green'], + \ 'cyan': ['#87c095', '108', 'Cyan'], + \ 'blue': ['#89beba', '109', 'Blue'], + \ 'purple': ['#d3a0bc', '175', 'Magenta'], + \ 'grey': ['#444444', '245', 'LightGrey'], + \ 'none': ['NONE', 'NONE', 'NONE'] + \ } +" }}} +" Function: {{{ +" call s:HL(group, foreground, background) +" call s:HL(group, foreground, background, gui, guisp) +" +" E.g.: +" call s:HL('Normal', s:palette.fg, s:palette.bg0) + +if (has('termguicolors') && &termguicolors) || has('gui_running') " guifg guibg gui cterm guisp + function! s:HL(group, fg, bg, ...) + let hl_string = [ + \ 'highlight', a:group, + \ 'guifg=' . a:fg[0], + \ 'guibg=' . a:bg[0], + \ ] + if a:0 >= 1 + if a:1 ==# 'undercurl' + call add(hl_string, 'gui=undercurl') + call add(hl_string, 'cterm=underline') + else + call add(hl_string, 'gui=' . a:1) + call add(hl_string, 'cterm=' . a:1) + endif + else + call add(hl_string, 'gui=NONE') + call add(hl_string, 'cterm=NONE') + endif + if a:0 >= 2 + call add(hl_string, 'guisp=' . a:2[0]) + endif + execute join(hl_string, ' ') + endfunction +elseif s:t_Co >= 256 " ctermfg ctermbg cterm + function! s:HL(group, fg, bg, ...) + let hl_string = [ + \ 'highlight', a:group, + \ 'ctermfg=' . a:fg[1], + \ 'ctermbg=' . a:bg[1], + \ ] + if a:0 >= 1 + if a:1 ==# 'undercurl' + call add(hl_string, 'cterm=underline') + else + call add(hl_string, 'cterm=' . a:1) + endif + else + call add(hl_string, 'cterm=NONE') + endif + execute join(hl_string, ' ') + endfunction +else " ctermfg ctermbg cterm + function! s:HL(group, fg, bg, ...) + let hl_string = [ + \ 'highlight', a:group, + \ 'ctermfg=' . a:fg[2], + \ 'ctermbg=' . a:bg[2], + \ ] + if a:0 >= 1 + if a:1 ==# 'undercurl' + call add(hl_string, 'cterm=underline') + else + call add(hl_string, 'cterm=' . a:1) + endif + else + call add(hl_string, 'cterm=NONE') + endif + execute join(hl_string, ' ') + endfunction +endif +" }}} + +" Common Highlight Groups: {{{ +" UI: {{{ +if s:configuration.transparent_background + call s:HL('Normal', s:palette.fg, s:palette.none) + call s:HL('Terminal', s:palette.fg, s:palette.none) + call s:HL('EndOfBuffer', s:palette.bg0, s:palette.none) + call s:HL('FoldColumn', s:palette.grey, s:palette.none) + call s:HL('Folded', s:palette.grey, s:palette.none) + call s:HL('SignColumn', s:palette.fg, s:palette.none) +else + call s:HL('Normal', s:palette.fg, s:palette.bg0) + call s:HL('Terminal', s:palette.fg, s:palette.bg0) + call s:HL('EndOfBuffer', s:palette.bg0, s:palette.bg0) + call s:HL('FoldColumn', s:palette.grey, s:palette.bg1) + call s:HL('Folded', s:palette.grey, s:palette.bg1) + call s:HL('SignColumn', s:palette.fg, s:palette.bg1) +endif +call s:HL('ColorColumn', s:palette.none, s:palette.bg1) +call s:HL('Conceal', s:palette.grey, s:palette.none) +if s:configuration.cursor ==# 'auto' + call s:HL('Cursor', s:palette.none, s:palette.none, 'reverse') + call s:HL('lCursor', s:palette.none, s:palette.none, 'reverse') +elseif s:configuration.cursor ==# 'red' + call s:HL('Cursor', s:palette.bg0, s:palette.red) + call s:HL('lCursor', s:palette.bg0, s:palette.red) +elseif s:configuration.cursor ==# 'green' + call s:HL('Cursor', s:palette.bg0, s:palette.green) + call s:HL('lCursor', s:palette.bg0, s:palette.green) +elseif s:configuration.cursor ==# 'blue' + call s:HL('Cursor', s:palette.bg0, s:palette.blue) + call s:HL('lCursor', s:palette.bg0, s:palette.blue) +elseif s:configuration.cursor ==# 'purple' + call s:HL('Cursor', s:palette.bg0, s:palette.purple) + call s:HL('lCursor', s:palette.bg0, s:palette.purple) +endif +call s:HL('CursorColumn', s:palette.none, s:palette.bg1) +call s:HL('CursorLine', s:palette.none, s:palette.bg1) +call s:HL('LineNr', s:palette.grey, s:palette.none) +if &relativenumber == 1 && &cursorline == 0 + call s:HL('CursorLineNr', s:palette.yellow, s:palette.none) +else + call s:HL('CursorLineNr', s:palette.yellow, s:palette.none) +endif +call s:HL('DiffAdd', s:palette.none, s:palette.bg_green) +call s:HL('DiffChange', s:palette.none, s:palette.bg_blue) +call s:HL('DiffDelete', s:palette.none, s:palette.bg_red) +call s:HL('DiffText', s:palette.none, s:palette.bg0, 'reverse') +call s:HL('Directory', s:palette.green, s:palette.none) +call s:HL('ErrorMsg', s:palette.red, s:palette.none, 'bold,underline') +call s:HL('WarningMsg', s:palette.yellow, s:palette.none, 'bold') +call s:HL('ModeMsg', s:palette.fg, s:palette.none, 'bold') +call s:HL('MoreMsg', s:palette.blue, s:palette.none, 'bold') +call s:HL('IncSearch', s:palette.none, s:palette.none, 'reverse') +call s:HL('Search', s:palette.none, s:palette.bg3) +call s:HL('MatchParen', s:palette.none, s:palette.bg4) +call s:HL('NonText', s:palette.grey, s:palette.none) +call s:HL('Pmenu', s:palette.fg, s:palette.bg2) +call s:HL('PmenuSbar', s:palette.none, s:palette.bg2) +call s:HL('PmenuThumb', s:palette.none, s:palette.grey) +call s:HL('PmenuSel', s:palette.bg0, s:palette.fg) +call s:HL('WildMenu', s:palette.bg0, s:palette.fg) +call s:HL('Question', s:palette.yellow, s:palette.none) +call s:HL('SpellBad', s:palette.red, s:palette.none, 'undercurl', s:palette.red) +call s:HL('SpellCap', s:palette.yellow, s:palette.none, 'undercurl', s:palette.yellow) +call s:HL('SpellLocal', s:palette.blue, s:palette.none, 'undercurl', s:palette.blue) +call s:HL('SpellRare', s:palette.purple, s:palette.none, 'undercurl', s:palette.purple) +call s:HL('StatusLine', s:palette.fg, s:palette.bg3) +call s:HL('StatusLineTerm', s:palette.fg, s:palette.bg3) +call s:HL('StatusLineNC', s:palette.grey, s:palette.bg1) +call s:HL('StatusLineTermNC', s:palette.grey, s:palette.bg1) +call s:HL('TabLine', s:palette.fg, s:palette.bg4) +call s:HL('TabLineFill', s:palette.grey, s:palette.bg1) +call s:HL('TabLineSel', s:palette.bg0, s:palette.green) +call s:HL('VertSplit', s:palette.bg4, s:palette.none) +call s:HL('Visual', s:palette.none, s:palette.bg3) +call s:HL('VisualNOS', s:palette.none, s:palette.bg3, 'underline') +call s:HL('CursorIM', s:palette.none, s:palette.fg) +call s:HL('ToolbarLine', s:palette.none, s:palette.grey) +call s:HL('ToolbarButton', s:palette.fg, s:palette.bg0, 'bold') +call s:HL('QuickFixLine', s:palette.blue, s:palette.bg1) +call s:HL('Debug', s:palette.yellow, s:palette.none) +" }}} +" Syntax: {{{ +call s:HL('Boolean', s:palette.purple, s:palette.none) +call s:HL('Number', s:palette.purple, s:palette.none) +call s:HL('Float', s:palette.purple, s:palette.none) +if s:configuration.enable_italic + call s:HL('PreProc', s:palette.purple, s:palette.none, 'italic') + call s:HL('PreCondit', s:palette.purple, s:palette.none, 'italic') + call s:HL('Include', s:palette.purple, s:palette.none, 'italic') + call s:HL('Define', s:palette.purple, s:palette.none, 'italic') + call s:HL('Conditional', s:palette.red, s:palette.none, 'bold,italic') + call s:HL('Repeat', s:palette.red, s:palette.none, 'italic') + call s:HL('Keyword', s:palette.red, s:palette.none, 'italic') + call s:HL('Typedef', s:palette.red, s:palette.none, 'italic') + call s:HL('Exception', s:palette.red, s:palette.none, 'italic') + call s:HL('Statement', s:palette.red, s:palette.none, 'italic') +else + call s:HL('PreProc', s:palette.purple, s:palette.none) + call s:HL('PreCondit', s:palette.purple, s:palette.none) + call s:HL('Include', s:palette.purple, s:palette.none) + call s:HL('Define', s:palette.purple, s:palette.none) + call s:HL('Conditional', s:palette.red, s:palette.none) + call s:HL('Repeat', s:palette.red, s:palette.none) + call s:HL('Keyword', s:palette.red, s:palette.none) + call s:HL('Typedef', s:palette.red, s:palette.none) + call s:HL('Exception', s:palette.red, s:palette.none) + call s:HL('Statement', s:palette.red, s:palette.none) +endif +call s:HL('Error', s:palette.red, s:palette.none) +call s:HL('StorageClass', s:palette.orange, s:palette.none, 'bold') +call s:HL('Tag', s:palette.orange, s:palette.none) +call s:HL('Label', s:palette.orange, s:palette.none) +call s:HL('Structure', s:palette.orange, s:palette.none) +call s:HL('Operator', s:palette.orange, s:palette.none) +call s:HL('Title', s:palette.orange, s:palette.none, 'bold') +call s:HL('Special', s:palette.yellow, s:palette.none) +call s:HL('SpecialChar', s:palette.yellow, s:palette.none) +call s:HL('Type', s:palette.yellow, s:palette.none, 'bold') +call s:HL('Function', s:palette.green, s:palette.none, 'bold') +call s:HL('String', s:palette.green, s:palette.none) +call s:HL('Character', s:palette.green, s:palette.none) +call s:HL('Constant', s:palette.cyan, s:palette.none, 'bold') +call s:HL('Macro', s:palette.cyan, s:palette.none) +call s:HL('Identifier', s:palette.blue, s:palette.none) +call s:HL('SpecialKey', s:palette.blue, s:palette.none) +if s:configuration.disable_italic_comment + call s:HL('Comment', s:palette.grey, s:palette.none) + call s:HL('SpecialComment', s:palette.grey, s:palette.none) + call s:HL('Todo', s:palette.purple, s:palette.none) +else + call s:HL('Comment', s:palette.grey, s:palette.none, 'italic') + call s:HL('SpecialComment', s:palette.grey, s:palette.none, 'italic') + call s:HL('Todo', s:palette.purple, s:palette.none, 'italic') +endif +call s:HL('Delimiter', s:palette.fg, s:palette.none) +call s:HL('Ignore', s:palette.grey, s:palette.none) +call s:HL('Underlined', s:palette.none, s:palette.none, 'underline') +" }}} +" Predefined Highlight Groups: {{{ +call s:HL('Fg', s:palette.fg, s:palette.none) +call s:HL('Grey', s:palette.grey, s:palette.none) +call s:HL('Yellow', s:palette.yellow, s:palette.none) +call s:HL('Blue', s:palette.blue, s:palette.none) +if s:configuration.enable_italic + call s:HL('RedItalic', s:palette.red, s:palette.none, 'italic') + call s:HL('OrangeItalic', s:palette.orange, s:palette.none, 'italic') + call s:HL('PurpleItalic', s:palette.purple, s:palette.none, 'italic') +else + call s:HL('RedItalic', s:palette.red, s:palette.none) + call s:HL('OrangeItalic', s:palette.orange, s:palette.none) + call s:HL('PurpleItalic', s:palette.purple, s:palette.none) +endif +call s:HL('Red', s:palette.red, s:palette.none) +call s:HL('Orange', s:palette.orange, s:palette.none) +call s:HL('Purple', s:palette.purple, s:palette.none) +call s:HL('Green', s:palette.green, s:palette.none) +call s:HL('Cyan', s:palette.cyan, s:palette.none) +if s:configuration.transparent_background + call s:HL('RedSign', s:palette.red, s:palette.none) + call s:HL('OrangeSign', s:palette.orange, s:palette.none) + call s:HL('YellowSign', s:palette.yellow, s:palette.none) + call s:HL('GreenSign', s:palette.green, s:palette.none) + call s:HL('CyanSign', s:palette.cyan, s:palette.none) + call s:HL('BlueSign', s:palette.blue, s:palette.none) + call s:HL('PurpleSign', s:palette.purple, s:palette.none) +else + call s:HL('RedSign', s:palette.red, s:palette.bg1) + call s:HL('OrangeSign', s:palette.orange, s:palette.bg1) + call s:HL('YellowSign', s:palette.yellow, s:palette.bg1) + call s:HL('GreenSign', s:palette.green, s:palette.bg1) + call s:HL('CyanSign', s:palette.cyan, s:palette.bg1) + call s:HL('BlueSign', s:palette.blue, s:palette.bg1) + call s:HL('PurpleSign', s:palette.purple, s:palette.bg1) +endif +" }}} +" }}} +" Extended File Types: {{{ +" Markdown: {{{ +" builtin: {{{ +call s:HL('markdownH1', s:palette.red, s:palette.none, 'bold') +call s:HL('markdownH2', s:palette.orange, s:palette.none, 'bold') +call s:HL('markdownH3', s:palette.yellow, s:palette.none, 'bold') +call s:HL('markdownH4', s:palette.green, s:palette.none, 'bold') +call s:HL('markdownH5', s:palette.blue, s:palette.none, 'bold') +call s:HL('markdownH6', s:palette.purple, s:palette.none, 'bold') +call s:HL('markdownUrl', s:palette.blue, s:palette.none, 'underline') +call s:HL('markdownItalic', s:palette.none, s:palette.none, 'italic') +call s:HL('markdownBold', s:palette.none, s:palette.none, 'bold') +call s:HL('markdownItalicDelimiter', s:palette.grey, s:palette.none, 'italic') +highlight! link markdownCode Green +highlight! link markdownCodeBlock Cyan +highlight! link markdownCodeDelimiter Cyan +highlight! link markdownBlockquote Grey +highlight! link markdownListMarker Red +highlight! link markdownOrderedListMarker Red +highlight! link markdownRule Purple +highlight! link markdownHeadingRule Grey +highlight! link markdownUrlDelimiter Grey +highlight! link markdownLinkDelimiter Grey +highlight! link markdownLinkTextDelimiter Grey +highlight! link markdownHeadingDelimiter Grey +highlight! link markdownLinkText Purple +highlight! link markdownUrlTitleDelimiter Green +highlight! link markdownIdDeclaration markdownLinkText +highlight! link markdownBoldDelimiter Grey +highlight! link markdownId Yellow +" }}} +" vim-markdown: https://github.com/gabrielelana/vim-markdown{{{ +call s:HL('mkdURL', s:palette.blue, s:palette.none, 'underline') +call s:HL('mkdInlineURL', s:palette.purple, s:palette.none, 'underline') +call s:HL('mkdItalic', s:palette.grey, s:palette.none, 'italic') +highlight! link mkdCodeDelimiter Cyan +highlight! link mkdBold Grey +highlight! link mkdLink Purple +highlight! link mkdHeading Grey +highlight! link mkdListItem Red +highlight! link mkdRule Purple +highlight! link mkdDelimiter Grey +highlight! link mkdId Yellow +" }}} +" }}} +" ReStructuredText: {{{ +" builtin: https://github.com/marshallward/vim-restructuredtext{{{ +call s:HL('rstStandaloneHyperlink', s:palette.purple, s:palette.none, 'underline') +highlight! link rstSubstitutionReference Blue +highlight! link rstInterpretedTextOrHyperlinkReference Cyan +highlight! link rstTableLines Grey +" }}} +" }}} +" LaTex: {{{ +" builtin: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX{{{ +highlight! link texStatement Green +highlight! link texOnlyMath Grey +highlight! link texDefName Yellow +highlight! link texNewCmd Orange +highlight! link texCmdName Blue +highlight! link texBeginEnd Red +highlight! link texBeginEndName Blue +highlight! link texDocType Purple +highlight! link texDocTypeArgs Orange +" }}} +" }}} +" Html: {{{ +" builtin: https://notabug.org/jorgesumle/vim-html-syntax{{{ +call s:HL('htmlH1', s:palette.red, s:palette.none, 'bold') +call s:HL('htmlH2', s:palette.orange, s:palette.none, 'bold') +call s:HL('htmlH3', s:palette.yellow, s:palette.none, 'bold') +call s:HL('htmlH4', s:palette.green, s:palette.none, 'bold') +call s:HL('htmlH5', s:palette.blue, s:palette.none, 'bold') +call s:HL('htmlH6', s:palette.purple, s:palette.none, 'bold') +call s:HL('htmlLink', s:palette.none, s:palette.none, 'underline') +call s:HL('htmlBold', s:palette.none, s:palette.none, 'bold') +call s:HL('htmlBoldUnderline', s:palette.none, s:palette.none, 'bold,underline') +call s:HL('htmlBoldItalic', s:palette.none, s:palette.none, 'bold,italic') +call s:HL('htmlBoldUnderlineItalic', s:palette.none, s:palette.none, 'bold,underline,italic') +call s:HL('htmlUnderline', s:palette.none, s:palette.none, 'underline') +call s:HL('htmlUnderlineItalic', s:palette.none, s:palette.none, 'underline,italic') +call s:HL('htmlItalic', s:palette.none, s:palette.none, 'italic') +highlight! link htmlTag Green +highlight! link htmlEndTag Blue +highlight! link htmlTagN OrangeItalic +highlight! link htmlTagName OrangeItalic +highlight! link htmlArg Cyan +highlight! link htmlScriptTag Purple +highlight! link htmlSpecialTagName RedItalic +" }}} +" }}} +" Xml: {{{ +" builtin: https://github.com/chrisbra/vim-xml-ftplugin{{{ +highlight! link xmlTag Green +highlight! link xmlEndTag Blue +highlight! link xmlTagName OrangeItalic +highlight! link xmlEqual Orange +highlight! link xmlAttrib Cyan +highlight! link xmlEntity Red +highlight! link xmlEntityPunct Red +highlight! link xmlDocTypeDecl Grey +highlight! link xmlDocTypeKeyword PurpleItalic +highlight! link xmlCdataStart Grey +highlight! link xmlCdataCdata Purple +" }}} +" }}} +" CSS: {{{ +" builtin: https://github.com/JulesWang/css.vim{{{ +highlight! link cssAttrComma Fg +highlight! link cssBraces Fg +highlight! link cssTagName PurpleItalic +highlight! link cssClassNameDot Red +highlight! link cssClassName RedItalic +highlight! link cssFunctionName Yellow +highlight! link cssAttr Orange +highlight! link cssProp Cyan +highlight! link cssCommonAttr Yellow +highlight! link cssPseudoClassId Blue +highlight! link cssPseudoClassFn Green +highlight! link cssPseudoClass Purple +highlight! link cssImportant RedItalic +highlight! link cssSelectorOp Orange +highlight! link cssSelectorOp2 Orange +highlight! link cssColor Green +highlight! link cssAttributeSelector Cyan +highlight! link cssUnitDecorators Orange +highlight! link cssValueLength Green +highlight! link cssValueInteger Green +highlight! link cssValueNumber Green +highlight! link cssValueAngle Green +highlight! link cssValueTime Green +highlight! link cssValueFrequency Green +highlight! link cssVendor Grey +highlight! link cssNoise Grey +" }}} +" }}} +" SASS: {{{ +" builtin: {{{ +highlight! link sassProperty Cyan +highlight! link sassAmpersand Orange +highlight! link sassClass RedItalic +highlight! link sassClassChar Red +highlight! link sassMixing PurpleItalic +highlight! link sassMixinName Orange +highlight! link sassCssAttribute Yellow +highlight! link sassInterpolationDelimiter Green +highlight! link sassFunction Yellow +highlight! link sassControl RedItalic +highlight! link sassFor RedItalic +highlight! link sassFunctionName Green +" }}} +" scss-syntax: https://github.com/cakebaker/scss-syntax.vim{{{ +highlight! link scssMixinName Yellow +highlight! link scssSelectorChar Red +highlight! link scssSelectorName RedItalic +highlight! link scssInterpolationDelimiter Green +highlight! link scssVariableValue Green +highlight! link scssNull Purple +highlight! link scssBoolean Purple +highlight! link scssVariableAssignment Grey +highlight! link scssForKeyword PurpleItalic +highlight! link scssAttribute Orange +highlight! link scssFunctionName Yellow +" }}} +" }}} +" LESS: {{{ +" vim-less: https://github.com/groenewege/vim-less{{{ +highlight! link lessMixinChar Grey +highlight! link lessClass RedItalic +highlight! link lessVariable Blue +highlight! link lessAmpersandChar Orange +highlight! link lessFunction Yellow +" }}} +" }}} +" JavaScript: {{{ +" builtin: http://www.fleiner.com/vim/syntax/javascript.vim{{{ +highlight! link javaScriptNull Cyan +highlight! link javaScriptIdentifier Orange +highlight! link javaScriptParens Fg +highlight! link javaScriptBraces Fg +highlight! link javaScriptGlobal Purple +highlight! link javaScriptMessage Yellow +highlight! link javaScriptFunction RedItalic +highlight! link javaScriptOperator Orange +highlight! link javaScriptMember Cyan +" }}} +" vim-javascript: https://github.com/pangloss/vim-javascript{{{ +highlight! link jsThis Purple +highlight! link jsUndefined Cyan +highlight! link jsNull Cyan +highlight! link jsNan Cyan +highlight! link jsSuper Purple +highlight! link jsPrototype Purple +highlight! link jsFunction RedItalic +highlight! link jsGlobalNodeObjects PurpleItalic +highlight! link jsGlobalObjects Yellow +highlight! link jsArrowFunction Purple +highlight! link jsArrowFuncArgs Blue +highlight! link jsFuncArgs Blue +highlight! link jsObjectProp Cyan +highlight! link jsVariableDef Blue +highlight! link jsObjectKey Cyan +highlight! link jsParen Blue +highlight! link jsParenIfElse Blue +highlight! link jsParenRepeat Blue +highlight! link jsParenSwitch Blue +highlight! link jsParenCatch Blue +highlight! link jsBracket Blue +highlight! link jsBlockLabel Cyan +highlight! link jsFunctionKey Green +highlight! link jsClassDefinition Yellow +highlight! link jsDot Grey +highlight! link jsDestructuringBlock Blue +highlight! link jsSpreadExpression Purple +highlight! link jsSpreadOperator Green +highlight! link jsModuleKeyword Yellow +highlight! link jsObjectValue Blue +highlight! link jsTemplateExpression Yellow +highlight! link jsTemplateBraces Yellow +highlight! link jsClassMethodType Orange +" }}} +" yajs: https://github.com/othree/yajs.vim{{{ +highlight! link javascriptEndColons Fg +highlight! link javascriptOpSymbol Orange +highlight! link javascriptOpSymbols Orange +highlight! link javascriptIdentifierName Blue +highlight! link javascriptVariable Orange +highlight! link javascriptObjectLabel Cyan +highlight! link javascriptObjectLabelColon Grey +highlight! link javascriptPropertyNameString Cyan +highlight! link javascriptFuncArg Blue +highlight! link javascriptIdentifier Purple +highlight! link javascriptArrowFunc Purple +highlight! link javascriptTemplate Yellow +highlight! link javascriptTemplateSubstitution Yellow +highlight! link javascriptTemplateSB Yellow +highlight! link javascriptNodeGlobal PurpleItalic +highlight! link javascriptDocTags PurpleItalic +highlight! link javascriptDocNotation Purple +highlight! link javascriptClassSuper Purple +highlight! link javascriptClassName Yellow +highlight! link javascriptClassSuperName Yellow +highlight! link javascriptBrackets Fg +highlight! link javascriptBraces Fg +highlight! link javascriptLabel Purple +highlight! link javascriptDotNotation Grey +highlight! link javascriptGlobalArrayDot Grey +highlight! link javascriptGlobalBigIntDot Grey +highlight! link javascriptGlobalDateDot Grey +highlight! link javascriptGlobalJSONDot Grey +highlight! link javascriptGlobalMathDot Grey +highlight! link javascriptGlobalNumberDot Grey +highlight! link javascriptGlobalObjectDot Grey +highlight! link javascriptGlobalPromiseDot Grey +highlight! link javascriptGlobalRegExpDot Grey +highlight! link javascriptGlobalStringDot Grey +highlight! link javascriptGlobalSymbolDot Grey +highlight! link javascriptGlobalURLDot Grey +highlight! link javascriptMethod Green +highlight! link javascriptMethodName Green +highlight! link javascriptObjectMethodName Green +highlight! link javascriptGlobalMethod Green +highlight! link javascriptDOMStorageMethod Green +highlight! link javascriptFileMethod Green +highlight! link javascriptFileReaderMethod Green +highlight! link javascriptFileListMethod Green +highlight! link javascriptBlobMethod Green +highlight! link javascriptURLStaticMethod Green +highlight! link javascriptNumberStaticMethod Green +highlight! link javascriptNumberMethod Green +highlight! link javascriptDOMNodeMethod Green +highlight! link javascriptES6BigIntStaticMethod Green +highlight! link javascriptBOMWindowMethod Green +highlight! link javascriptHeadersMethod Green +highlight! link javascriptRequestMethod Green +highlight! link javascriptResponseMethod Green +highlight! link javascriptES6SetMethod Green +highlight! link javascriptReflectMethod Green +highlight! link javascriptPaymentMethod Green +highlight! link javascriptPaymentResponseMethod Green +highlight! link javascriptTypedArrayStaticMethod Green +highlight! link javascriptGeolocationMethod Green +highlight! link javascriptES6MapMethod Green +highlight! link javascriptServiceWorkerMethod Green +highlight! link javascriptCacheMethod Green +highlight! link javascriptFunctionMethod Green +highlight! link javascriptXHRMethod Green +highlight! link javascriptBOMNavigatorMethod Green +highlight! link javascriptServiceWorkerMethod Green +highlight! link javascriptDOMEventTargetMethod Green +highlight! link javascriptDOMEventMethod Green +highlight! link javascriptIntlMethod Green +highlight! link javascriptDOMDocMethod Green +highlight! link javascriptStringStaticMethod Green +highlight! link javascriptStringMethod Green +highlight! link javascriptSymbolStaticMethod Green +highlight! link javascriptRegExpMethod Green +highlight! link javascriptObjectStaticMethod Green +highlight! link javascriptObjectMethod Green +highlight! link javascriptBOMLocationMethod Green +highlight! link javascriptJSONStaticMethod Green +highlight! link javascriptGeneratorMethod Green +highlight! link javascriptEncodingMethod Green +highlight! link javascriptPromiseStaticMethod Green +highlight! link javascriptPromiseMethod Green +highlight! link javascriptBOMHistoryMethod Green +highlight! link javascriptDOMFormMethod Green +highlight! link javascriptClipboardMethod Green +highlight! link javascriptTypedArrayStaticMethod Green +highlight! link javascriptBroadcastMethod Green +highlight! link javascriptDateStaticMethod Green +highlight! link javascriptDateMethod Green +highlight! link javascriptConsoleMethod Green +highlight! link javascriptArrayStaticMethod Green +highlight! link javascriptArrayMethod Green +highlight! link javascriptMathStaticMethod Green +highlight! link javascriptSubtleCryptoMethod Green +highlight! link javascriptCryptoMethod Green +highlight! link javascriptProp Cyan +highlight! link javascriptBOMWindowProp Cyan +highlight! link javascriptDOMStorageProp Cyan +highlight! link javascriptFileReaderProp Cyan +highlight! link javascriptURLUtilsProp Cyan +highlight! link javascriptNumberStaticProp Cyan +highlight! link javascriptDOMNodeProp Cyan +highlight! link javascriptRequestProp Cyan +highlight! link javascriptResponseProp Cyan +highlight! link javascriptES6SetProp Cyan +highlight! link javascriptPaymentProp Cyan +highlight! link javascriptPaymentResponseProp Cyan +highlight! link javascriptPaymentAddressProp Cyan +highlight! link javascriptPaymentShippingOptionProp Cyan +highlight! link javascriptTypedArrayStaticProp Cyan +highlight! link javascriptServiceWorkerProp Cyan +highlight! link javascriptES6MapProp Cyan +highlight! link javascriptRegExpStaticProp Cyan +highlight! link javascriptRegExpProp Cyan +highlight! link javascriptXHRProp Cyan +highlight! link javascriptBOMNavigatorProp Green +highlight! link javascriptDOMEventProp Cyan +highlight! link javascriptBOMNetworkProp Cyan +highlight! link javascriptDOMDocProp Cyan +highlight! link javascriptSymbolStaticProp Cyan +highlight! link javascriptSymbolProp Cyan +highlight! link javascriptBOMLocationProp Cyan +highlight! link javascriptEncodingProp Cyan +highlight! link javascriptCryptoProp Cyan +highlight! link javascriptBOMHistoryProp Cyan +highlight! link javascriptDOMFormProp Cyan +highlight! link javascriptDataViewProp Cyan +highlight! link javascriptBroadcastProp Cyan +highlight! link javascriptMathStaticProp Cyan +" }}} +" }}} +" JavaScript React: {{{ +" vim-jsx-pretty: https://github.com/maxmellon/vim-jsx-pretty{{{ +highlight! link jsxTagName OrangeItalic +highlight! link jsxOpenPunct Green +highlight! link jsxClosePunct Blue +highlight! link jsxEscapeJs Blue +highlight! link jsxAttrib Cyan +" }}} +" }}} +" TypeScript: {{{ +" vim-typescript: https://github.com/leafgarland/typescript-vim{{{ +highlight! link typescriptSource PurpleItalic +highlight! link typescriptMessage Yellow +highlight! link typescriptGlobalObjects Cyan +highlight! link typescriptInterpolation Yellow +highlight! link typescriptInterpolationDelimiter Yellow +highlight! link typescriptBraces Fg +highlight! link typescriptParens Fg +" }}} +" yats: https:github.com/HerringtonDarkholme/yats.vim{{{ +highlight! link typescriptMethodAccessor OrangeItalic +highlight! link typescriptVariable Orange +highlight! link typescriptVariableDeclaration Blue +highlight! link typescriptTypeReference Yellow +highlight! link typescriptBraces Fg +highlight! link typescriptEnumKeyword RedItalic +highlight! link typescriptEnum Yellow +highlight! link typescriptIdentifierName Cyan +highlight! link typescriptProp Cyan +highlight! link typescriptCall Blue +highlight! link typescriptInterfaceName Yellow +highlight! link typescriptEndColons Fg +highlight! link typescriptMember Cyan +highlight! link typescriptMemberOptionality Orange +highlight! link typescriptObjectLabel Cyan +highlight! link typescriptArrowFunc Purple +highlight! link typescriptAbstract Orange +highlight! link typescriptObjectColon Grey +highlight! link typescriptTypeAnnotation Grey +highlight! link typescriptAssign Orange +highlight! link typescriptBinaryOp Orange +highlight! link typescriptUnaryOp Orange +highlight! link typescriptFuncComma Fg +highlight! link typescriptClassName Yellow +highlight! link typescriptClassHeritage Yellow +highlight! link typescriptInterfaceHeritage Yellow +highlight! link typescriptIdentifier Purple +highlight! link typescriptGlobal Purple +highlight! link typescriptOperator RedItalic +highlight! link typescriptNodeGlobal PurpleItalic +highlight! link typescriptExport PurpleItalic +highlight! link typescriptDefaultParam Orange +highlight! link typescriptImport PurpleItalic +highlight! link typescriptTypeParameter Yellow +highlight! link typescriptReadonlyModifier Orange +highlight! link typescriptAccessibilityModifier Orange +highlight! link typescriptAmbientDeclaration RedItalic +highlight! link typescriptTemplateSubstitution Yellow +highlight! link typescriptTemplateSB Yellow +highlight! link typescriptExceptions RedItalic +highlight! link typescriptCastKeyword RedItalic +highlight! link typescriptOptionalMark Orange +highlight! link typescriptNull Cyan +highlight! link typescriptMappedIn RedItalic +highlight! link typescriptFuncTypeArrow Purple +highlight! link typescriptTernaryOp Orange +highlight! link typescriptParenExp Blue +highlight! link typescriptIndexExpr Blue +highlight! link typescriptDotNotation Grey +highlight! link typescriptGlobalNumberDot Grey +highlight! link typescriptGlobalStringDot Grey +highlight! link typescriptGlobalArrayDot Grey +highlight! link typescriptGlobalObjectDot Grey +highlight! link typescriptGlobalSymbolDot Grey +highlight! link typescriptGlobalMathDot Grey +highlight! link typescriptGlobalDateDot Grey +highlight! link typescriptGlobalJSONDot Grey +highlight! link typescriptGlobalRegExpDot Grey +highlight! link typescriptGlobalPromiseDot Grey +highlight! link typescriptGlobalURLDot Grey +highlight! link typescriptGlobalMethod Green +highlight! link typescriptDOMStorageMethod Green +highlight! link typescriptFileMethod Green +highlight! link typescriptFileReaderMethod Green +highlight! link typescriptFileListMethod Green +highlight! link typescriptBlobMethod Green +highlight! link typescriptURLStaticMethod Green +highlight! link typescriptNumberStaticMethod Green +highlight! link typescriptNumberMethod Green +highlight! link typescriptDOMNodeMethod Green +highlight! link typescriptPaymentMethod Green +highlight! link typescriptPaymentResponseMethod Green +highlight! link typescriptHeadersMethod Green +highlight! link typescriptRequestMethod Green +highlight! link typescriptResponseMethod Green +highlight! link typescriptES6SetMethod Green +highlight! link typescriptReflectMethod Green +highlight! link typescriptBOMWindowMethod Green +highlight! link typescriptGeolocationMethod Green +highlight! link typescriptServiceWorkerMethod Green +highlight! link typescriptCacheMethod Green +highlight! link typescriptES6MapMethod Green +highlight! link typescriptFunctionMethod Green +highlight! link typescriptRegExpMethod Green +highlight! link typescriptXHRMethod Green +highlight! link typescriptBOMNavigatorMethod Green +highlight! link typescriptServiceWorkerMethod Green +highlight! link typescriptIntlMethod Green +highlight! link typescriptDOMEventTargetMethod Green +highlight! link typescriptDOMEventMethod Green +highlight! link typescriptDOMDocMethod Green +highlight! link typescriptStringStaticMethod Green +highlight! link typescriptStringMethod Green +highlight! link typescriptSymbolStaticMethod Green +highlight! link typescriptObjectStaticMethod Green +highlight! link typescriptObjectMethod Green +highlight! link typescriptJSONStaticMethod Green +highlight! link typescriptEncodingMethod Green +highlight! link typescriptBOMLocationMethod Green +highlight! link typescriptPromiseStaticMethod Green +highlight! link typescriptPromiseMethod Green +highlight! link typescriptSubtleCryptoMethod Green +highlight! link typescriptCryptoMethod Green +highlight! link typescriptBOMHistoryMethod Green +highlight! link typescriptDOMFormMethod Green +highlight! link typescriptConsoleMethod Green +highlight! link typescriptDateStaticMethod Green +highlight! link typescriptDateMethod Green +highlight! link typescriptArrayStaticMethod Green +highlight! link typescriptArrayMethod Green +highlight! link typescriptMathStaticMethod Green +highlight! link typescriptStringProperty Cyan +highlight! link typescriptDOMStorageProp Cyan +highlight! link typescriptFileReaderProp Cyan +highlight! link typescriptURLUtilsProp Cyan +highlight! link typescriptNumberStaticProp Cyan +highlight! link typescriptDOMNodeProp Cyan +highlight! link typescriptBOMWindowProp Cyan +highlight! link typescriptRequestProp Cyan +highlight! link typescriptResponseProp Cyan +highlight! link typescriptPaymentProp Cyan +highlight! link typescriptPaymentResponseProp Cyan +highlight! link typescriptPaymentAddressProp Cyan +highlight! link typescriptPaymentShippingOptionProp Cyan +highlight! link typescriptES6SetProp Cyan +highlight! link typescriptServiceWorkerProp Cyan +highlight! link typescriptES6MapProp Cyan +highlight! link typescriptRegExpStaticProp Cyan +highlight! link typescriptRegExpProp Cyan +highlight! link typescriptBOMNavigatorProp Green +highlight! link typescriptXHRProp Cyan +highlight! link typescriptDOMEventProp Cyan +highlight! link typescriptDOMDocProp Cyan +highlight! link typescriptBOMNetworkProp Cyan +highlight! link typescriptSymbolStaticProp Cyan +highlight! link typescriptEncodingProp Cyan +highlight! link typescriptBOMLocationProp Cyan +highlight! link typescriptCryptoProp Cyan +highlight! link typescriptDOMFormProp Cyan +highlight! link typescriptBOMHistoryProp Cyan +highlight! link typescriptMathStaticProp Cyan +" }}} +" }}} +" Dart: {{{ +" dart-lang: https://github.com/dart-lang/dart-vim-plugin{{{ +highlight! link dartCoreClasses Cyan +highlight! link dartTypeName Cyan +highlight! link dartInterpolation Blue +highlight! link dartTypeDef RedItalic +highlight! link dartClassDecl RedItalic +highlight! link dartLibrary PurpleItalic +highlight! link dartMetadata Blue +" }}} +" }}} +" CoffeeScript: {{{ +" vim-coffee-script: https://github.com/kchmck/vim-coffee-script{{{ +highlight! link coffeeExtendedOp Orange +highlight! link coffeeSpecialOp Fg +highlight! link coffeeDotAccess Grey +highlight! link coffeeCurly Fg +highlight! link coffeeParen Fg +highlight! link coffeeBracket Fg +highlight! link coffeeParens Blue +highlight! link coffeeBrackets Blue +highlight! link coffeeCurlies Blue +highlight! link coffeeOperator RedItalic +highlight! link coffeeStatement Orange +highlight! link coffeeSpecialIdent Purple +highlight! link coffeeObject Purple +highlight! link coffeeObjAssign Cyan +" }}} +" }}} +" PureScript: {{{ +" purescript-vim: https://github.com/purescript-contrib/purescript-vim{{{ +highlight! link purescriptModuleKeyword PurpleItalic +highlight! link purescriptModule Cyan +highlight! link purescriptModuleParams Blue +highlight! link purescriptAsKeyword OrangeItalic +highlight! link purescriptHidingKeyword OrangeItalic +highlight! link purescriptWhere OrangeItalic +highlight! link purescriptIdentifier Blue +highlight! link purescriptFunction Yellow +highlight! link purescriptType Cyan +" }}} +" }}} +" C/C++: {{{ +" vim-cpp-enhanced-highlight: https://github.com/octol/vim-cpp-enhanced-highlight{{{ +highlight! link cppSTLnamespace Purple +highlight! link cppSTLtype Yellow +highlight! link cppAccess PurpleItalic +highlight! link cppStructure RedItalic +highlight! link cppSTLios Cyan +highlight! link cppSTLiterator PurpleItalic +highlight! link cppSTLexception Purple +" }}} +" vim-cpp-modern: https://github.com/bfrg/vim-cpp-modern{{{ +highlight! link cppSTLVariable Cyan +" }}} +" }}} +" ObjectiveC: {{{ +" builtin: {{{ +highlight! link objcModuleImport PurpleItalic +highlight! link objcException RedItalic +highlight! link objcProtocolList Cyan +highlight! link objcObjDef PurpleItalic +highlight! link objcDirective RedItalic +highlight! link objcPropertyAttribute Orange +highlight! link objcHiddenArgument Cyan +" }}} +" }}} +" C#: {{{ +" builtin: https://github.com/nickspoons/vim-cs{{{ +highlight! link csUnspecifiedStatement PurpleItalic +highlight! link csStorage RedItalic +highlight! link csClass RedItalic +highlight! link csNewType Cyan +highlight! link csContextualStatement PurpleItalic +highlight! link csInterpolationDelimiter Yellow +highlight! link csInterpolation Yellow +highlight! link csEndColon Fg +" }}} +" }}} +" Python: {{{ +" builtin: {{{ +highlight! link pythonBuiltin Yellow +highlight! link pythonExceptions Purple +highlight! link pythonDecoratorName Blue +" }}} +" python-syntax: https://github.com/vim-python/python-syntax{{{ +highlight! link pythonExClass Purple +highlight! link pythonBuiltinType Yellow +highlight! link pythonBuiltinObj Blue +highlight! link pythonDottedName PurpleItalic +highlight! link pythonBuiltinFunc Green +highlight! link pythonFunction Cyan +highlight! link pythonDecorator Orange +highlight! link pythonInclude Include +highlight! link pythonImport PreProc +highlight! link pythonRun Blue +highlight! link pythonCoding Grey +highlight! link pythonOperator Orange +highlight! link pythonConditional RedItalic +highlight! link pythonRepeat RedItalic +highlight! link pythonException RedItalic +highlight! link pythonNone Cyan +highlight! link pythonDot Grey +" }}} +" }}} +" Lua: {{{ +" builtin: {{{ +highlight! link luaFunc Green +highlight! link luaFunction Cyan +highlight! link luaTable Fg +highlight! link luaIn RedItalic +" }}} +" vim-lua: https://github.com/tbastos/vim-lua{{{ +highlight! link luaFuncCall Green +highlight! link luaLocal Orange +highlight! link luaSpecialValue Green +highlight! link luaBraces Fg +highlight! link luaBuiltIn Purple +highlight! link luaNoise Grey +highlight! link luaLabel Purple +highlight! link luaFuncTable Yellow +highlight! link luaFuncArgName Blue +highlight! link luaEllipsis Orange +highlight! link luaDocTag Green +" }}} +" }}} +" Moonscript: {{{ +" moonscript-vim: https://github.com/leafo/moonscript-vim{{{ +highlight! link moonInterpDelim Yellow +highlight! link moonInterp Blue +highlight! link moonFunction Green +highlight! link moonLuaFunc Cyan +highlight! link moonSpecialVar Purple +highlight! link moonObject Yellow +highlight! link moonDotAccess Grey +" }}} +" }}} +" Java: {{{ +" builtin: {{{ +highlight! link javaClassDecl RedItalic +highlight! link javaMethodDecl RedItalic +highlight! link javaVarArg Green +highlight! link javaAnnotation Blue +highlight! link javaUserLabel Purple +highlight! link javaTypedef Cyan +highlight! link javaParen Fg +highlight! link javaParen1 Fg +highlight! link javaParen2 Fg +highlight! link javaParen3 Fg +highlight! link javaParen4 Fg +highlight! link javaParen5 Fg +" }}} +" }}} +" Kotlin: {{{ +" kotlin-vim: https://github.com/udalov/kotlin-vim{{{ +highlight! link ktSimpleInterpolation Yellow +highlight! link ktComplexInterpolation Yellow +highlight! link ktComplexInterpolationBrace Yellow +highlight! link ktStructure RedItalic +highlight! link ktKeyword Cyan +" }}} +" }}} +" Scala: {{{ +" builtin: https://github.com/derekwyatt/vim-scala{{{ +highlight! link scalaNameDefinition Cyan +highlight! link scalaInterpolationBoundary Yellow +highlight! link scalaInterpolation Blue +highlight! link scalaTypeOperator Orange +highlight! link scalaOperator Orange +highlight! link scalaKeywordModifier Orange +" }}} +" }}} +" Go: {{{ +" builtin: https://github.com/google/vim-ft-go{{{ +highlight! link goDirective PurpleItalic +highlight! link goConstants Cyan +highlight! link goDeclType OrangeItalic +" }}} +" polyglot: {{{ +highlight! link goPackage PurpleItalic +highlight! link goImport PurpleItalic +highlight! link goVarArgs Blue +highlight! link goBuiltins Green +highlight! link goPredefinedIdentifiers Cyan +highlight! link goVar Orange +" }}} +" }}} +" Rust: {{{ +" builtin: https://github.com/rust-lang/rust.vim{{{ +highlight! link rustStructure Orange +highlight! link rustIdentifier Purple +highlight! link rustModPath Orange +highlight! link rustModPathSep Grey +highlight! link rustSelf Blue +highlight! link rustSuper Blue +highlight! link rustDeriveTrait PurpleItalic +highlight! link rustEnumVariant Purple +highlight! link rustMacroVariable Blue +highlight! link rustAssert Cyan +highlight! link rustPanic Cyan +highlight! link rustPubScopeCrate PurpleItalic +" }}} +" }}} +" Swift: {{{ +" swift.vim: https://github.com/keith/swift.vim{{{ +highlight! link swiftInterpolatedWrapper Yellow +highlight! link swiftInterpolatedString Blue +highlight! link swiftProperty Cyan +highlight! link swiftTypeDeclaration Orange +highlight! link swiftClosureArgument Purple +" }}} +" }}} +" PHP: {{{ +" builtin: https://jasonwoof.com/gitweb/?p=vim-syntax.git;a=blob;f=php.vim;hb=HEAD{{{ +highlight! link phpVarSelector Blue +highlight! link phpDefine OrangeItalic +highlight! link phpStructure RedItalic +highlight! link phpSpecialFunction Green +highlight! link phpInterpSimpleCurly Yellow +highlight! link phpComparison Orange +highlight! link phpMethodsVar Cyan +highlight! link phpMemberSelector Green +" }}} +" php.vim: https://github.com/StanAngeloff/php.vim{{{ +highlight! link phpParent Fg +highlight! link phpNowDoc Green +highlight! link phpFunction Green +highlight! link phpMethod Green +highlight! link phpClass Orange +highlight! link phpSuperglobals Purple +" }}} +" }}} +" Ruby: {{{ +" builtin: https://github.com/vim-ruby/vim-ruby{{{ +highlight! link rubyKeywordAsMethod Green +highlight! link rubyInterpolation Yellow +highlight! link rubyInterpolationDelimiter Yellow +highlight! link rubyStringDelimiter Green +highlight! link rubyBlockParameterList Blue +highlight! link rubyDefine RedItalic +highlight! link rubyModuleName Purple +highlight! link rubyAccess Orange +highlight! link rubyAttribute Yellow +highlight! link rubyMacro RedItalic +" }}} +" }}} +" Haskell: {{{ +" haskell-vim: https://github.com/neovimhaskell/haskell-vim{{{ +highlight! link haskellBrackets Blue +highlight! link haskellIdentifier Yellow +highlight! link haskellAssocType Cyan +highlight! link haskellQuotedType Cyan +highlight! link haskellType Cyan +highlight! link haskellDeclKeyword RedItalic +highlight! link haskellWhere RedItalic +highlight! link haskellDeriving PurpleItalic +highlight! link haskellForeignKeywords PurpleItalic +" }}} +" }}} +" Perl: {{{ +" builtin: https://github.com/vim-perl/vim-perl{{{ +highlight! link perlStatementPackage PurpleItalic +highlight! link perlStatementInclude PurpleItalic +highlight! link perlStatementStorage Orange +highlight! link perlStatementList Orange +highlight! link perlMatchStartEnd Orange +highlight! link perlVarSimpleMemberName Cyan +highlight! link perlVarSimpleMember Fg +highlight! link perlMethod Green +highlight! link podVerbatimLine Green +highlight! link podCmdText Yellow +" }}} +" }}} +" OCaml: {{{ +" builtin: https://github.com/rgrinberg/vim-ocaml{{{ +highlight! link ocamlArrow Orange +highlight! link ocamlEqual Orange +highlight! link ocamlOperator Orange +highlight! link ocamlKeyChar Orange +highlight! link ocamlModPath Green +highlight! link ocamlFullMod Green +highlight! link ocamlModule Purple +highlight! link ocamlConstructor Cyan +highlight! link ocamlFuncWith Yellow +highlight! link ocamlWith Yellow +highlight! link ocamlModParam Fg +highlight! link ocamlModParam1 Fg +highlight! link ocamlAnyVar Blue +highlight! link ocamlPpxEncl Orange +highlight! link ocamlPpxIdentifier Blue +highlight! link ocamlSigEncl Orange +highlight! link ocamlStructEncl Cyan +highlight! link ocamlModParam1 Blue +" }}} +" }}} +" Erlang: {{{ +" builtin: https://github.com/vim-erlang/vim-erlang-runtime{{{ +highlight! link erlangAtom Cyan +highlight! link erlangLocalFuncRef Green +highlight! link erlangLocalFuncCall Green +highlight! link erlangGlobalFuncRef Green +highlight! link erlangGlobalFuncCall Green +highlight! link erlangAttribute PurpleItalic +highlight! link erlangPipe Orange +" }}} +" }}} +" Elixir: {{{ +" vim-elixir: https://github.com/elixir-editors/vim-elixir{{{ +highlight! link elixirStringDelimiter Green +highlight! link elixirKeyword Orange +highlight! link elixirInterpolation Yellow +highlight! link elixirInterpolationDelimiter Yellow +highlight! link elixirSelf Purple +highlight! link elixirPseudoVariable Purple +highlight! link elixirModuleDefine PurpleItalic +highlight! link elixirBlockDefinition RedItalic +highlight! link elixirDefine RedItalic +highlight! link elixirPrivateDefine RedItalic +highlight! link elixirGuard RedItalic +highlight! link elixirPrivateGuard RedItalic +highlight! link elixirProtocolDefine RedItalic +highlight! link elixirImplDefine RedItalic +highlight! link elixirRecordDefine RedItalic +highlight! link elixirPrivateRecordDefine RedItalic +highlight! link elixirMacroDefine RedItalic +highlight! link elixirPrivateMacroDefine RedItalic +highlight! link elixirDelegateDefine RedItalic +highlight! link elixirOverridableDefine RedItalic +highlight! link elixirExceptionDefine RedItalic +highlight! link elixirCallbackDefine RedItalic +highlight! link elixirStructDefine RedItalic +highlight! link elixirExUnitMacro RedItalic +" }}} +" }}} +" Common Lisp: {{{ +" builtin: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_LISP{{{ +highlight! link lispAtomMark Green +highlight! link lispKey Cyan +highlight! link lispFunc OrangeItalic +" }}} +" }}} +" Clojure: {{{ +" builtin: https://github.com/guns/vim-clojure-static{{{ +highlight! link clojureMacro PurpleItalic +highlight! link clojureFunc Cyan +highlight! link clojureConstant Yellow +highlight! link clojureSpecial RedItalic +highlight! link clojureDefine RedItalic +highlight! link clojureKeyword Orange +highlight! link clojureVariable Blue +highlight! link clojureMeta Yellow +highlight! link clojureDeref Yellow +" }}} +" }}} +" Shell: {{{ +" builtin: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH{{{ +highlight! link shRange Fg +highlight! link shTestOpr Orange +highlight! link shOption Cyan +highlight! link bashStatement Orange +highlight! link shOperator Orange +highlight! link shQuote Green +highlight! link shSet Orange +highlight! link shSetList Blue +highlight! link shSnglCase Orange +highlight! link shVariable Blue +highlight! link shVarAssign Orange +highlight! link shCmdSubRegion Green +highlight! link shCommandSub Orange +highlight! link shFunctionOne Green +highlight! link shFunctionKey RedItalic +" }}} +" }}} +" Zsh: {{{ +" builtin: https://github.com/chrisbra/vim-zsh{{{ +highlight! link zshOptStart PurpleItalic +highlight! link zshOption Blue +highlight! link zshSubst Yellow +highlight! link zshFunction Green +highlight! link zshDeref Blue +highlight! link zshTypes Orange +highlight! link zshVariableDef Blue +" }}} +" }}} +" Fish: {{{ +" vim-fish: https://github.com/georgewitteman/vim-fish{{{ +highlight! link fishStatement Orange +highlight! link fishLabel RedItalic +highlight! link fishCommandSub Yellow +" }}} +" }}} +" PowerShell: {{{ +" vim-ps1: https://github.com/PProvost/vim-ps1{{{ +highlight! link ps1FunctionInvocation Cyan +highlight! link ps1FunctionDeclaration Cyan +highlight! link ps1InterpolationDelimiter Yellow +highlight! link ps1BuiltIn Yellow +" }}} +" }}} +" VimL: {{{ +highlight! link vimLet Orange +highlight! link vimFunction Green +highlight! link vimIsCommand Fg +highlight! link vimUserFunc Green +highlight! link vimFuncName Green +highlight! link vimMap PurpleItalic +highlight! link vimNotation Cyan +highlight! link vimMapLhs Green +highlight! link vimMapRhs Green +highlight! link vimSetEqual Yellow +highlight! link vimSetSep Fg +highlight! link vimOption Cyan +highlight! link vimUserAttrbKey Yellow +highlight! link vimUserAttrb Green +highlight! link vimAutoCmdSfxList Cyan +highlight! link vimSynType Orange +highlight! link vimHiBang Orange +highlight! link vimSet Yellow +highlight! link vimSetSep Grey +" }}} +" Makefile: {{{ +highlight! link makeIdent Cyan +highlight! link makeSpecTarget Yellow +highlight! link makeTarget Blue +highlight! link makeCommands Orange +" }}} +" CMake: {{{ +highlight! link cmakeCommand Orange +highlight! link cmakeKWconfigure_package_config_file Yellow +highlight! link cmakeKWwrite_basic_package_version_file Yellow +highlight! link cmakeKWExternalProject Cyan +highlight! link cmakeKWadd_compile_definitions Cyan +highlight! link cmakeKWadd_compile_options Cyan +highlight! link cmakeKWadd_custom_command Cyan +highlight! link cmakeKWadd_custom_target Cyan +highlight! link cmakeKWadd_definitions Cyan +highlight! link cmakeKWadd_dependencies Cyan +highlight! link cmakeKWadd_executable Cyan +highlight! link cmakeKWadd_library Cyan +highlight! link cmakeKWadd_link_options Cyan +highlight! link cmakeKWadd_subdirectory Cyan +highlight! link cmakeKWadd_test Cyan +highlight! link cmakeKWbuild_command Cyan +highlight! link cmakeKWcmake_host_system_information Cyan +highlight! link cmakeKWcmake_minimum_required Cyan +highlight! link cmakeKWcmake_parse_arguments Cyan +highlight! link cmakeKWcmake_policy Cyan +highlight! link cmakeKWconfigure_file Cyan +highlight! link cmakeKWcreate_test_sourcelist Cyan +highlight! link cmakeKWctest_build Cyan +highlight! link cmakeKWctest_configure Cyan +highlight! link cmakeKWctest_coverage Cyan +highlight! link cmakeKWctest_memcheck Cyan +highlight! link cmakeKWctest_run_script Cyan +highlight! link cmakeKWctest_start Cyan +highlight! link cmakeKWctest_submit Cyan +highlight! link cmakeKWctest_test Cyan +highlight! link cmakeKWctest_update Cyan +highlight! link cmakeKWctest_upload Cyan +highlight! link cmakeKWdefine_property Cyan +highlight! link cmakeKWdoxygen_add_docs Cyan +highlight! link cmakeKWenable_language Cyan +highlight! link cmakeKWenable_testing Cyan +highlight! link cmakeKWexec_program Cyan +highlight! link cmakeKWexecute_process Cyan +highlight! link cmakeKWexport Cyan +highlight! link cmakeKWexport_library_dependencies Cyan +highlight! link cmakeKWfile Cyan +highlight! link cmakeKWfind_file Cyan +highlight! link cmakeKWfind_library Cyan +highlight! link cmakeKWfind_package Cyan +highlight! link cmakeKWfind_path Cyan +highlight! link cmakeKWfind_program Cyan +highlight! link cmakeKWfltk_wrap_ui Cyan +highlight! link cmakeKWforeach Cyan +highlight! link cmakeKWfunction Cyan +highlight! link cmakeKWget_cmake_property Cyan +highlight! link cmakeKWget_directory_property Cyan +highlight! link cmakeKWget_filename_component Cyan +highlight! link cmakeKWget_property Cyan +highlight! link cmakeKWget_source_file_property Cyan +highlight! link cmakeKWget_target_property Cyan +highlight! link cmakeKWget_test_property Cyan +highlight! link cmakeKWif Cyan +highlight! link cmakeKWinclude Cyan +highlight! link cmakeKWinclude_directories Cyan +highlight! link cmakeKWinclude_external_msproject Cyan +highlight! link cmakeKWinclude_guard Cyan +highlight! link cmakeKWinstall Cyan +highlight! link cmakeKWinstall_files Cyan +highlight! link cmakeKWinstall_programs Cyan +highlight! link cmakeKWinstall_targets Cyan +highlight! link cmakeKWlink_directories Cyan +highlight! link cmakeKWlist Cyan +highlight! link cmakeKWload_cache Cyan +highlight! link cmakeKWload_command Cyan +highlight! link cmakeKWmacro Cyan +highlight! link cmakeKWmark_as_advanced Cyan +highlight! link cmakeKWmath Cyan +highlight! link cmakeKWmessage Cyan +highlight! link cmakeKWoption Cyan +highlight! link cmakeKWproject Cyan +highlight! link cmakeKWqt_wrap_cpp Cyan +highlight! link cmakeKWqt_wrap_ui Cyan +highlight! link cmakeKWremove Cyan +highlight! link cmakeKWseparate_arguments Cyan +highlight! link cmakeKWset Cyan +highlight! link cmakeKWset_directory_properties Cyan +highlight! link cmakeKWset_property Cyan +highlight! link cmakeKWset_source_files_properties Cyan +highlight! link cmakeKWset_target_properties Cyan +highlight! link cmakeKWset_tests_properties Cyan +highlight! link cmakeKWsource_group Cyan +highlight! link cmakeKWstring Cyan +highlight! link cmakeKWsubdirs Cyan +highlight! link cmakeKWtarget_compile_definitions Cyan +highlight! link cmakeKWtarget_compile_features Cyan +highlight! link cmakeKWtarget_compile_options Cyan +highlight! link cmakeKWtarget_include_directories Cyan +highlight! link cmakeKWtarget_link_directories Cyan +highlight! link cmakeKWtarget_link_libraries Cyan +highlight! link cmakeKWtarget_link_options Cyan +highlight! link cmakeKWtarget_precompile_headers Cyan +highlight! link cmakeKWtarget_sources Cyan +highlight! link cmakeKWtry_compile Cyan +highlight! link cmakeKWtry_run Cyan +highlight! link cmakeKWunset Cyan +highlight! link cmakeKWuse_mangled_mesa Cyan +highlight! link cmakeKWvariable_requires Cyan +highlight! link cmakeKWvariable_watch Cyan +highlight! link cmakeKWwrite_file Cyan +" }}} +" Json: {{{ +highlight! link jsonKeyword Orange +highlight! link jsonQuote Grey +highlight! link jsonBraces Fg +" }}} +" Yaml: {{{ +highlight! link yamlKey Orange +highlight! link yamlConstant Purple +" }}} +" Toml: {{{ +call s:HL('tomlTable', s:palette.purple, s:palette.none, 'bold') +highlight! link tomlKey Orange +highlight! link tomlBoolean Cyan +highlight! link tomlTableArray tomlTable +" }}} +" Diff: {{{ +highlight! link diffAdded Green +highlight! link diffRemoved Red +highlight! link diffChanged Blue +highlight! link diffOldFile Yellow +highlight! link diffNewFile Orange +highlight! link diffFile Cyan +highlight! link diffLine Grey +highlight! link diffIndexLine Purple +" }}} +" Help: {{{ +call s:HL('helpNote', s:palette.purple, s:palette.none, 'bold') +call s:HL('helpHeadline', s:palette.red, s:palette.none, 'bold') +call s:HL('helpHeader', s:palette.orange, s:palette.none, 'bold') +call s:HL('helpURL', s:palette.green, s:palette.none, 'underline') +call s:HL('helpHyperTextEntry', s:palette.yellow, s:palette.none, 'bold') +highlight! link helpHyperTextJump Yellow +highlight! link helpCommand Cyan +highlight! link helpExample Green +highlight! link helpSpecial Blue +highlight! link helpSectionDelim Grey +" }}} +" }}} +" Plugins: {{{ +" junegunn/vim-plug{{{ +call s:HL('plug1', s:palette.orange, s:palette.none, 'bold') +call s:HL('plugNumber', s:palette.yellow, s:palette.none, 'bold') +highlight! link plug2 Green +highlight! link plugBracket Grey +highlight! link plugName Cyan +highlight! link plugDash Orange +highlight! link plugError Red +highlight! link plugNotLoaded Grey +highlight! link plugRelDate Grey +highlight! link plugH2 Orange +highlight! link plugMessage Orange +highlight! link plugStar Red +highlight! link plugUpdate Blue +highlight! link plugDeleted Grey +highlight! link plugEdge Yellow +highlight! link plugSha Green +" }}} +" neoclide/coc.nvim{{{ +call s:HL('CocHoverRange', s:palette.none, s:palette.none, 'bold,underline') +if s:configuration.current_word ==# 'bold' + call s:HL('CocHighlightText', s:palette.none, s:palette.none, 'bold') +elseif s:configuration.current_word ==# 'underline' + call s:HL('CocHighlightText', s:palette.none, s:palette.none, 'underline') +elseif s:configuration.current_word ==# 'italic' + call s:HL('CocHighlightText', s:palette.none, s:palette.none, 'italic') +elseif s:configuration.current_word ==# 'grey background' + call s:HL('CocHighlightText', s:palette.none, s:palette.bg2) +endif +highlight! link CocErrorSign RedSign +highlight! link CocWarningSign YellowSign +highlight! link CocInfoSign BlueSign +highlight! link CocHintSign CyanSign +highlight! link CocErrorHighlight ALEError +highlight! link CocWarningHighlight ALEWarning +highlight! link CocInfoHighlight ALEInfo +highlight! link CocWarningVirtualText Grey +highlight! link CocErrorVirtualText Grey +highlight! link CocInfoVirtualText Grey +highlight! link CocHintVirtualText Grey +highlight! link CocCodeLens Grey +highlight! link HighlightedyankRegion Visual +highlight! link CocGitAddedSign GreenSign +highlight! link CocGitChangeRemovedSign PurpleSign +highlight! link CocGitChangedSign BlueSign +highlight! link CocGitRemovedSign RedSign +highlight! link CocGitTopRemovedSign RedSign +highlight! link CocExplorerBufferRoot Orange +highlight! link CocExplorerBufferExpandIcon Cyan +highlight! link CocExplorerBufferBufnr Purple +highlight! link CocExplorerBufferModified Red +highlight! link CocExplorerBufferBufname Grey +highlight! link CocExplorerBufferFullpath Grey +highlight! link CocExplorerFileRoot Orange +highlight! link CocExplorerFileExpandIcon Cyan +highlight! link CocExplorerFileFullpath Grey +highlight! link CocExplorerFileDirectory Green +highlight! link CocExplorerFileGitStage Purple +highlight! link CocExplorerFileGitUnstage Yellow +highlight! link CocExplorerFileSize Blue +highlight! link CocExplorerTimeAccessed Cyan +highlight! link CocExplorerTimeCreated Cyan +highlight! link CocExplorerTimeModified Cyan +" }}} +" dense-analysis/ale{{{ +call s:HL('ALEError', s:palette.none, s:palette.none, 'undercurl', s:palette.red) +call s:HL('ALEWarning', s:palette.none, s:palette.none, 'undercurl', s:palette.yellow) +call s:HL('ALEInfo', s:palette.none, s:palette.none, 'undercurl', s:palette.blue) +highlight! link ALEErrorSign RedSign +highlight! link ALEWarningSign YellowSign +highlight! link ALEInfoSign BlueSign +highlight! link ALEVirtualTextError Grey +highlight! link ALEVirtualTextWarning Grey +highlight! link ALEVirtualTextInfo Grey +highlight! link ALEVirtualTextStyleError Grey +highlight! link ALEVirtualTextStyleWarning Grey +" }}} +" neomake/neomake{{{ +highlight! link NeomakeError ALEError +highlight! link NeomakeErrorSign RedSign +highlight! link NeomakeWarning ALEWarning +highlight! link NeomakeWarningSign YellowSign +highlight! link NeomakeInfo ALEInfo +highlight! link NeomakeInfoSign BlueSign +highlight! link NeomakeMessage Cyan +highlight! link NeomakeMessageSign CyanSign +highlight! link NeomakeVirtualtextError Grey +highlight! link NeomakeVirtualtextWarning Grey +highlight! link NeomakeVirtualtextInfo Grey +highlight! link NeomakeVirtualtextMessag Grey +" }}} +" vim-syntastic/syntastic{{{ +highlight! link SyntasticError ALEError +highlight! link SyntasticWarning ALEWarning +highlight! link SyntasticErrorSign RedSign +highlight! link SyntasticWarningSign YellowSign +" }}} +" Yggdroot/LeaderF{{{ +call s:HL('Lf_hl_match', s:palette.green, s:palette.none, 'bold') +call s:HL('Lf_hl_match0', s:palette.green, s:palette.none, 'bold') +call s:HL('Lf_hl_match1', s:palette.cyan, s:palette.none, 'bold') +call s:HL('Lf_hl_match2', s:palette.blue, s:palette.none, 'bold') +call s:HL('Lf_hl_match3', s:palette.purple, s:palette.none, 'bold') +call s:HL('Lf_hl_match4', s:palette.orange, s:palette.none, 'bold') +call s:HL('Lf_hl_matchRefine', s:palette.red, s:palette.none, 'bold') +highlight! link Lf_hl_cursorline Fg +highlight! link Lf_hl_selection DiffAdd +highlight! link Lf_hl_rgHighlight Visual +highlight! link Lf_hl_gtagsHighlight Visual +" }}} +" junegunn/fzf.vim{{{ +let g:fzf_colors = { + \ 'fg': ['fg', 'Normal'], + \ 'bg': ['bg', 'Normal'], + \ 'hl': ['fg', 'Green'], + \ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'], + \ 'bg+': ['bg', 'CursorLine', 'CursorColumn'], + \ 'hl+': ['fg', 'Cyan'], + \ 'info': ['fg', 'Cyan'], + \ 'prompt': ['fg', 'Orange'], + \ 'pointer': ['fg', 'Blue'], + \ 'marker': ['fg', 'Yellow'], + \ 'spinner': ['fg', 'Yellow'], + \ 'header': ['fg', 'Grey'] + \ } +" }}} +" Shougo/denite.nvim{{{ +call s:HL('deniteMatchedChar', s:palette.green, s:palette.none, 'bold') +call s:HL('deniteMatchedRange', s:palette.green, s:palette.none, 'bold,underline') +call s:HL('deniteInput', s:palette.green, s:palette.bg3, 'bold') +call s:HL('deniteStatusLineNumber', s:palette.purple, s:palette.bg3) +call s:HL('deniteStatusLinePath', s:palette.fg, s:palette.bg3) +highlight! link deniteSelectedLin Green +" }}} +" kien/ctrlp.vim{{{ +call s:HL('CtrlPMatch', s:palette.green, s:palette.none, 'bold') +call s:HL('CtrlPPrtBase', s:palette.bg3, s:palette.none) +call s:HL('CtrlPLinePre', s:palette.bg3, s:palette.none) +call s:HL('CtrlPMode1', s:palette.blue, s:palette.bg3, 'bold') +call s:HL('CtrlPMode2', s:palette.bg0, s:palette.blue, 'bold') +call s:HL('CtrlPStats', s:palette.grey, s:palette.bg3, 'bold') +highlight! link CtrlPNoEntries Red +highlight! link CtrlPPrtCursor Blue +" }}} +" majutsushi/tagbar{{{ +highlight! link TagbarFoldIcon Green +highlight! link TagbarSignature Green +highlight! link TagbarKind Red +highlight! link TagbarScope Orange +highlight! link TagbarNestedKind Cyan +highlight! link TagbarVisibilityPrivate Red +highlight! link TagbarVisibilityPublic Blue +" }}} +" liuchengxu/vista.vim{{{ +highlight! link VistaBracket Grey +highlight! link VistaChildrenNr Orange +highlight! link VistaScope Red +highlight! link VistaTag Green +highlight! link VistaPrefix Grey +highlight! link VistaColon Green +highlight! link VistaIcon Purple +highlight! link VistaLineNr Fg +" }}} +" airblade/vim-gitgutter{{{ +highlight! link GitGutterAdd GreenSign +highlight! link GitGutterChange BlueSign +highlight! link GitGutterDelete RedSign +highlight! link GitGutterChangeDelete PurpleSign +" }}} +" mhinz/vim-signify{{{ +highlight! link SignifySignAdd GreenSign +highlight! link SignifySignChange BlueSign +highlight! link SignifySignDelete RedSign +highlight! link SignifySignChangeDelete PurpleSign +" }}} +" scrooloose/nerdtree{{{ +highlight! link NERDTreeDir Green +highlight! link NERDTreeDirSlash Cyan +highlight! link NERDTreeOpenable Orange +highlight! link NERDTreeClosable Orange +highlight! link NERDTreeFile Fg +highlight! link NERDTreeExecFile Yellow +highlight! link NERDTreeUp Grey +highlight! link NERDTreeCWD Cyan +highlight! link NERDTreeHelp LightGrey +highlight! link NERDTreeToggleOn Green +highlight! link NERDTreeToggleOff Red +highlight! link NERDTreeFlags Orange +highlight! link NERDTreeLinkFile Grey +highlight! link NERDTreeLinkTarget Green +" }}} +" justinmk/vim-dirvish{{{ +highlight! link DirvishPathTail Cyan +highlight! link DirvishArg Yellow +" }}} +" vim.org/netrw {{{ +" https://www.vim.org/scripts/script.php?script_id=1075 +highlight! link netrwDir Green +highlight! link netrwClassify Green +highlight! link netrwLink Grey +highlight! link netrwSymLink Fg +highlight! link netrwExe Yellow +highlight! link netrwComment Grey +highlight! link netrwList Cyan +highlight! link netrwHelpCmd Blue +highlight! link netrwCmdSep Grey +highlight! link netrwVersion Orange +" }}} +" andymass/vim-matchup{{{ +call s:HL('MatchParenCur', s:palette.none, s:palette.none, 'bold') +call s:HL('MatchWord', s:palette.none, s:palette.none, 'underline') +call s:HL('MatchWordCur', s:palette.none, s:palette.none, 'underline') +" }}} +" easymotion/vim-easymotion {{{ +highlight! link EasyMotionTarget Search +highlight! link EasyMotionShade Comment +" }}} +" justinmk/vim-sneak {{{ +highlight! link Sneak Cursor +highlight! link SneakLabel Cursor +highlight! link SneakScope DiffChange +" }}} +" terryma/vim-multiple-cursors{{{ +highlight! link multiple_cursors_cursor Cursor +highlight! link multiple_cursors_visual Visual +" }}} +" mg979/vim-visual-multi{{{ +let g:VM_Mono_hl = 'Cursor' +let g:VM_Extend_hl = 'Visual' +let g:VM_Cursor_hl = 'Cursor' +let g:VM_Insert_hl = 'Cursor' +" }}} +" dominikduda/vim_current_word{{{ +highlight! link CurrentWord CocHighlightText +highlight! link CurrentWordTwins CocHighlightText +" }}} +" RRethy/vim-illuminate{{{ +highlight! link illuminatedWord CocHighlightText +" }}} +" itchyny/vim-cursorword{{{ +highlight! link CursorWord0 CocHighlightText +highlight! link CursorWord1 CocHighlightText +" }}} +" nathanaelkane/vim-indent-guides{{{ +if get(g:, 'indent_guides_auto_colors', 1) == 0 + call s:HL('IndentGuidesOdd', s:palette.bg0, s:palette.bg1) + call s:HL('IndentGuidesEven', s:palette.bg0, s:palette.bg2) +endif +" }}} +" luochen1990/rainbow{{{ +if !exists('g:rbpt_colorpairs') + let g:rbpt_colorpairs = [['blue', s:palette.blue[0]], ['magenta', s:palette.purple[0]], + \ ['red', s:palette.red[0]], ['166', s:palette.orange[0]]] +endif + +let g:rainbow_guifgs = [ s:palette.orange[0], s:palette.red[0], s:palette.purple[0], s:palette.blue[0] ] +let g:rainbow_ctermfgs = [ '166', 'red', 'magenta', 'blue' ] + +if !exists('g:rainbow_conf') + let g:rainbow_conf = {} +endif +if !has_key(g:rainbow_conf, 'guifgs') + let g:rainbow_conf['guifgs'] = g:rainbow_guifgs +endif +if !has_key(g:rainbow_conf, 'ctermfgs') + let g:rainbow_conf['ctermfgs'] = g:rainbow_ctermfgs +endif + +let g:niji_dark_colours = g:rbpt_colorpairs +let g:niji_light_colours = g:rbpt_colorpairs +" }}} +" kshenoy/vim-signature {{{ +highlight! link SignatureMarkText BlueSign +highlight! link SignatureMarkerText PurpleSign +" }}} +" mhinz/vim-startify{{{ +highlight! link StartifyBracket Grey +highlight! link StartifyFile Fg +highlight! link StartifyNumber Red +highlight! link StartifyPath Green +highlight! link StartifySlash Green +highlight! link StartifySection Blue +highlight! link StartifyHeader Orange +highlight! link StartifySpecial Grey +highlight! link StartifyFooter Grey +" }}} +" ap/vim-buftabline{{{ +highlight! link BufTabLineCurrent TabLineSel +highlight! link BufTabLineActive TabLine +highlight! link BufTabLineHidden TabLineFill +highlight! link BufTabLineFill TabLineFill +" }}} +" liuchengxu/vim-which-key{{{ +highlight! link WhichKey Red +highlight! link WhichKeySeperator Green +highlight! link WhichKeyGroup Yellow +highlight! link WhichKeyDesc Blue +highlight! link WhichKeyFloating SignColumn +" }}} +" skywind3000/quickmenu.vim{{{ +highlight! link QuickmenuOption Green +highlight! link QuickmenuNumber Red +highlight! link QuickmenuBracket Grey +highlight! link QuickmenuHelp Green +highlight! link QuickmenuSpecial Purple +highlight! link QuickmenuHeader Orange +" }}} +" mbbill/undotree{{{ +call s:HL('UndotreeSavedBig', s:palette.purple, s:palette.none, 'bold') +highlight! link UndotreeNode Orange +highlight! link UndotreeNodeCurrent Red +highlight! link UndotreeSeq Green +highlight! link UndotreeNext Blue +highlight! link UndotreeTimeStamp Grey +highlight! link UndotreeHead Yellow +highlight! link UndotreeBranch Yellow +highlight! link UndotreeCurrent Cyan +highlight! link UndotreeSavedSmall Purple +" }}} +" unblevable/quick-scope {{{ +call s:HL('QuickScopePrimary', s:palette.cyan, s:palette.none, 'underline') +call s:HL('QuickScopeSecondary', s:palette.blue, s:palette.none, 'underline') +" }}} +" APZelos/blamer.nvim {{{ +highlight! link Blamer Grey +" }}} +" }}} +" Terminal: {{{ +if (has('termguicolors') && &termguicolors) || has('gui_running') + " Definition + let s:terminal = { + \ 'black': s:palette.fg, + \ 'red': s:palette.red, + \ 'yellow': s:palette.yellow, + \ 'green': s:palette.green, + \ 'cyan': s:palette.cyan, + \ 'blue': s:palette.blue, + \ 'purple': s:palette.purple, + \ 'white': s:palette.grey + \ } + " Implementation: {{{ + if !has('nvim') + let g:terminal_ansi_colors = [s:terminal.black[0], s:terminal.red[0], s:terminal.green[0], s:terminal.yellow[0], + \ s:terminal.blue[0], s:terminal.purple[0], s:terminal.cyan[0], s:terminal.white[0], s:terminal.black[0], s:terminal.red[0], + \ s:terminal.green[0], s:terminal.yellow[0], s:terminal.blue[0], s:terminal.purple[0], s:terminal.cyan[0], s:terminal.white[0]] + else + let g:terminal_color_0 = s:terminal.black[0] + let g:terminal_color_1 = s:terminal.red[0] + let g:terminal_color_2 = s:terminal.green[0] + let g:terminal_color_3 = s:terminal.yellow[0] + let g:terminal_color_4 = s:terminal.blue[0] + let g:terminal_color_5 = s:terminal.purple[0] + let g:terminal_color_6 = s:terminal.cyan[0] + let g:terminal_color_7 = s:terminal.white[0] + let g:terminal_color_8 = s:terminal.black[0] + let g:terminal_color_9 = s:terminal.red[0] + let g:terminal_color_10 = s:terminal.green[0] + let g:terminal_color_11 = s:terminal.yellow[0] + let g:terminal_color_12 = s:terminal.blue[0] + let g:terminal_color_13 = s:terminal.purple[0] + let g:terminal_color_14 = s:terminal.cyan[0] + let g:terminal_color_15 = s:terminal.white[0] + endif + " }}} +endif +" }}} + +" vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker fmr={{{,}}}: diff --git a/nvim/init.vim b/nvim/init.vim new file mode 100644 index 0000000..77dcf69 --- /dev/null +++ b/nvim/init.vim @@ -0,0 +1,195 @@ +autocmd! bufwritepost .vimrc source % + +call plug#begin('~/.vim/plugged') +Plug 'rust-lang/rust.vim' +Plug 'nvim-lua/plenary.nvim' +Plug 'lewis6991/gitsigns.nvim' +"Plug 'vim-airline/vim-airline' +Plug 'shadmansaleh/lualine.nvim' +Plug 'junegunn/fzf', {'dir': '~/.fzf', 'do': './install --all'} | Plug 'junegunn/fzf.vim' " fuzzy finder +Plug 'luochen1990/rainbow' " color parentheses +Plug 'dense-analysis/ale' " checker syntax +Plug 'posva/vim-vue' +Plug 'terryma/vim-multiple-cursors' +Plug 'tpope/vim-fugitive' " git extension for commit logs and etc. +Plug 'neoclide/coc.nvim', {'branch': 'release'} +Plug 'editorconfig/editorconfig-vim' +Plug 'ap/vim-css-color' +Plug 'Yggdroot/indentLine' +Plug 'jmcantrell/vim-virtualenv' + +Plug 'ryanoasis/vim-devicons' + +Plug 'google/vim-searchindex' + +call plug#end() " required + +syntax on +colorscheme miramare + +set clipboard=unnamed +set mouse=a " click with mouse +set wildmenu +set wildmode=longest,list:full +set wildignore=*~,*.png,*.jpg,*.gif,Thumbs.db,*.min.js,*.swp,*.o,vendor + + +set number " number of the current line +set relativenumber " relative number, ..-2 -1 x 1 2, where x is current line +set textwidth=80 +set colorcolumn=80 +set nowrap +set fo-=t + +set tabstop=4 +set shiftwidth=4 +set expandtab " convert tabs in spaces + +set ai " auto indent +set autoread + +set encoding=UTF-8 +set history=1000 +set wildignore+=*.pyc + +set hlsearch " highlight search +set incsearch + +set nowritebackup +set laststatus=2 + +set cursorline + +set list " spaces as characters +set listchars=eol:⏎,tab:»·,trail:ˑ,nbsp:⎵ + +set foldmethod=indent + +set splitright " split on right side +set lazyredraw +set ttyfast + +" rust +let g:rustfmt_autosave = 1 +let g:rustfmt_emit_files = 1 +let g:rustfmt_fail_silently = 0 +let g:rust_clip_command = 'xclip -selection clipboard' + +let g:fzf_preview_window = 'right:70%' + +let g:ale_disable_lsp = 1 +let g:ale_fix_on_save = 1 +let g:ale_sign_error = '🛑' +let g:ale_sign_warning = '⚠️' +let g:ale_sign_info = '💭' +let g:ale_echo_msg_error_str = 'E' +let g:ale_echo_msg_warning_str = 'W' +let g:ale_echo_msg_format = '[%severity%] [%linter%] %s' +let g:ale_open_list = 1 +let g:ale_keep_list_window_open = 0 +let g:ale_list_window_size = 3 + +let b:ale_linters = { +\ 'python': ['flake8', 'pylint', 'mypy'], +\ 'cpp': ['clang'], +\ 'c': ['clang'], +\} + +let b:ale_fixers = { +\ 'python': ['black', 'isort'], +\ 'javascript': ['prettier'], +\ 'typescript': ['prettier'], +\ 'vue': ['prettier'], +\ 'html': ['prettier'], +\ 'cpp': ['clang-format'], +\ 'c': ['clang-format'], +\} + + +set statusline^=%{coc#status()} +let g:airline#extensions#coc#enabled = 0 + +if has('nvim') + lua require('evil_lualine') + lua require('git') +endif + +let g:indentLine_char = '¦' + +let g:vue_pre_processors = ['pug', 'scss'] + +let g:netrw_liststyle=1 + +filetype plugin indent on +set nocompatible + +set showcmd " show commands at bottom + +augroup remember_folds + autocmd! + autocmd BufWinLeave * mkview + autocmd BufWinEnter * silent! loadview +augroup END + +" ------------ +" MAPS +" ----------- +nnoremap j gj +nnoremap k gk + +nnoremap tn :tabnew +nnoremap :ve :Vexplore +nnoremap :rt :RainbowToggle + +" buffers +nnoremap ]b :bnext +nnoremap [b :bprev +nnoremap ,b :Buffers + +" tabs +nnoremap ]t :tabn +nnoremap [t :tabp +nnoremap ,t :tabs + +" only one window +nnoremap ,o :only + + +" mapping fzf commands +" ff = open files explorer +" co = open commits explorer +" gf = open git ls-files +" gs = open git status +nnoremap :ff :Files . +nnoremap :co :Commits +nnoremap :gf :GFiles +nnoremap :gs :GFiles? +nnoremap :gd :Git diff + +nnoremap :pa :set paste +nnoremap :npa :set nopaste + + +nmap :cr :!command cargo r +nmap :EditorConfigReload + + +" Use `[g` and `]g` to navigate diagnostics +nmap [g (coc-diagnostic-prev) +nmap ]g (coc-diagnostic-next) + +" GoTo code navigation. +nmap gd (coc-definition) +nmap gy (coc-type-definition) +nmap gi (coc-implementation) +nmap gr (coc-references) + +"VimDiff shortcuts +if &diff + "Get from remote + nnoremap dr :diffgetRE + "Get from base + nnoremap db :diffgetBA + "Get from local + nnoremap dl :diffgetLO +endif diff --git a/nvim/lua/evil_lualine.lua b/nvim/lua/evil_lualine.lua new file mode 100644 index 0000000..d618dc9 --- /dev/null +++ b/nvim/lua/evil_lualine.lua @@ -0,0 +1,220 @@ +-- Eviline config for lualine +-- Author: shadmansaleh +-- Credit: glepnir +local lualine = require 'lualine' + +-- Color table for highlights +-- stylua: ignore +local colors = { + bg = '#202328', + fg = '#bbc2cf', + yellow = '#ECBE7B', + cyan = '#008080', + darkblue = '#081633', + green = '#98be65', + orange = '#FF8800', + violet = '#a9a1e1', + magenta = '#c678dd', + blue = '#51afef', + red = '#ec5f67', +} + +local conditions = { + buffer_not_empty = function() + return vim.fn.empty(vim.fn.expand '%:t') ~= 1 + end, + hide_in_width = function() + return vim.fn.winwidth(0) > 80 + end, + check_git_workspace = function() + local filepath = vim.fn.expand '%:p:h' + local gitdir = vim.fn.finddir('.git', filepath .. ';') + return gitdir and #gitdir > 0 and #gitdir < #filepath + end, +} + +-- Config +local config = { + options = { + -- Disable sections and component separators + component_separators = '', + section_separators = '', + theme = { + -- We are going to use lualine_c an lualine_x as left and + -- right section. Both are highlighted by c theme . So we + -- are just setting default looks o statusline + normal = { c = { fg = colors.fg, bg = colors.bg } }, + inactive = { c = { fg = colors.fg, bg = colors.bg } }, + }, + }, + sections = { + -- these are to remove the defaults + lualine_a = {}, + lualine_b = {}, + lualine_y = {}, + lualine_z = {}, + -- These will be filled later + lualine_c = {}, + lualine_x = {}, + }, + inactive_sections = { + -- these are to remove the defaults + lualine_a = {}, + lualine_v = {}, + lualine_y = {}, + lualine_z = {}, + lualine_c = {}, + lualine_x = {}, + }, +} + +-- Inserts a component in lualine_c at left section +local function ins_left(component) + table.insert(config.sections.lualine_c, component) +end + +-- Inserts a component in lualine_x ot right section +local function ins_right(component) + table.insert(config.sections.lualine_x, component) +end + +ins_left { + function() + return '▊' + end, + color = { fg = colors.blue }, -- Sets highlighting of component + padding = { left = 0, right = 1 }, -- We don't need space before this +} + +ins_left { + -- mode component + function() + -- auto change color according to neovims mode + local mode_color = { + n = colors.red, + i = colors.green, + v = colors.blue, + [''] = colors.blue, + V = colors.blue, + c = colors.magenta, + no = colors.red, + s = colors.orange, + S = colors.orange, + [''] = colors.orange, + ic = colors.yellow, + R = colors.violet, + Rv = colors.violet, + cv = colors.red, + ce = colors.red, + r = colors.cyan, + rm = colors.cyan, + ['r?'] = colors.cyan, + ['!'] = colors.red, + t = colors.red, + } + vim.api.nvim_command('hi! LualineMode guifg=' .. mode_color[vim.fn.mode()] .. ' guibg=' .. colors.bg) + return '' + end, + color = 'LualineMode', + padding = { right = 1 }, +} + +ins_left { + -- filesize component + 'filesize', + cond = conditions.buffer_not_empty, +} + +ins_left { + 'filename', + cond = conditions.buffer_not_empty, + color = { fg = colors.magenta, gui = 'bold' }, +} + +ins_left { 'location' } + +ins_left { 'progress', color = { fg = colors.fg, gui = 'bold' } } + +ins_left { + 'diagnostics', + sources = { 'nvim_lsp' }, + symbols = { error = ' ', warn = ' ', info = ' ' }, + diagnostics_color = { + color_error = { fg = colors.red }, + color_warn = { fg = colors.yellow }, + color_info = { fg = colors.cyan }, + }, +} + +-- Insert mid section. You can make any number of sections in neovim :) +-- for lualine it's any number greater then 2 +ins_left { + function() + return '%=' + end, +} + +ins_left { + -- Lsp server name . + function() + local msg = 'No Active Lsp' + local buf_ft = vim.api.nvim_buf_get_option(0, 'filetype') + local clients = vim.lsp.get_active_clients() + if next(clients) == nil then + return msg + end + for _, client in ipairs(clients) do + local filetypes = client.config.filetypes + if filetypes and vim.fn.index(filetypes, buf_ft) ~= -1 then + return client.name + end + end + return msg + end, + icon = ' LSP:', + color = { fg = '#ffffff', gui = 'bold' }, +} + +-- Add components to right sections +ins_right { + 'o:encoding', -- option component same as &encoding in viml + fmt = string.upper, -- I'm not sure why it's upper case either ;) + cond = conditions.hide_in_width, + color = { fg = colors.green, gui = 'bold' }, +} + +ins_right { + 'fileformat', + fmt = string.upper, + icons_enabled = false, -- I think icons are cool but Eviline doesn't have them. sigh + color = { fg = colors.green, gui = 'bold' }, +} + +ins_right { + 'branch', + icon = '', + color = { fg = colors.violet, gui = 'bold' }, +} + +ins_right { + 'diff', + -- Is it me or the symbol for modified us really weird + symbols = { added = ' ', modified = '柳 ', removed = ' ' }, + diff_color = { + added = { fg = colors.green }, + modified = { fg = colors.orange }, + removed = { fg = colors.red }, + }, + cond = conditions.hide_in_width, +} + +ins_right { + function() + return '▊' + end, + color = { fg = colors.blue }, + padding = { left = 1 }, +} + +-- Now don't forget to initialize lualine +lualine.setup(config) diff --git a/nvim/lua/git.lua b/nvim/lua/git.lua new file mode 100644 index 0000000..8bc3c56 --- /dev/null +++ b/nvim/lua/git.lua @@ -0,0 +1,56 @@ +require('gitsigns').setup { + signs = { + add = {hl = 'GitSignsAdd' , text = '+', numhl='GitSignsAddNr' , linehl='GitSignsAddLn'}, + change = {hl = 'GitSignsChange', text = '+', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'}, + delete = {hl = 'GitSignsDelete', text = '-', numhl='GitSignsDele.setup()teNr', linehl='GitSignsDeleteLn'}, + topdelete = {hl = 'GitSignsDelete', text = '-', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'}, + changedelete = {hl = 'GitSignsChange', text = '~', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'}, + }, + signcolumn = true, -- Toggle with `:Gitsigns toggle_signs` + numhl = false, -- Toggle with `:Gitsigns toggle_numhl` + linehl = false, -- Toggle with `:Gitsigns toggle_linehl` + word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff` + keymaps = { + -- Default keymap options + noremap = true, + + ['n ]c'] = { expr = true, "&diff ? ']c' : 'lua require\"gitsigns.actions\".next_hunk()'"}, + ['n [c'] = { expr = true, "&diff ? '[c' : 'lua require\"gitsigns.actions\".prev_hunk()'"}, + + ['n hs'] = 'lua require"gitsigns".stage_hunk()', + ['v hs'] = 'lua require"gitsigns".stage_hunk({vim.fn.line("."), vim.fn.line("v")})', + ['n hS'] = 'lua require"gitsigns".stage_buffer()', + ['n hu'] = 'lua require"gitsigns".undo_stage_hunk()', + ['n hp'] = 'lua require"gitsigns".preview_hunk()', + ['n hb'] = 'lua require"gitsigns".blame_line(true)', + }, + watch_gitdir = { + interval = 1000, + follow_files = true + }, + attach_to_untracked = true, + current_line_blame = false, -- Toggle with `:Gitsigns toggle_current_line_blame` + current_line_blame_opts = { + virt_text = true, + virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align' + delay = 1000, + }, + current_line_blame_formatter_opts = { + relative_time = false + }, + sign_priority = 6, + update_debounce = 100, + status_formatter = nil, -- Use default + max_file_length = 40000, + preview_config = { + -- Options passed to nvim_open_win + border = 'single', + style = 'minimal', + relative = 'cursor', + row = 0, + col = 1 + }, + yadm = { + enable = false + }, +} diff --git a/vim/.vim/bundle/indentpy.vim b/vim/.vim/bundle/indentpy.vim deleted file mode 100755 index 32c773c..0000000 --- a/vim/.vim/bundle/indentpy.vim +++ /dev/null @@ -1,196 +0,0 @@ -" Python indent file -" Language: Python -" Maintainer: Eric Mc Sween -" Original Author: David Bustos -" Last Change: 2004 Jun 07 - -" Only load this indent file when no other was loaded. -if exists("b:did_indent") - finish -endif -let b:did_indent = 1 - -setlocal expandtab -setlocal nolisp -setlocal autoindent -setlocal indentexpr=GetPythonIndent(v:lnum) -setlocal indentkeys=!^F,o,O,<:>,0),0],0},=elif,=except - -let s:maxoff = 50 - -" Find backwards the closest open parenthesis/bracket/brace. -function! s:SearchParensPair() - let line = line('.') - let col = col('.') - - " Skip strings and comments and don't look too far - let skip = "line('.') < " . (line - s:maxoff) . " ? dummy :" . - \ 'synIDattr(synID(line("."), col("."), 0), "name") =~? ' . - \ '"string\\|comment"' - - " Search for parentheses - call cursor(line, col) - let parlnum = searchpair('(', '', ')', 'bW', skip) - let parcol = col('.') - - " Search for brackets - call cursor(line, col) - let par2lnum = searchpair('\[', '', '\]', 'bW', skip) - let par2col = col('.') - - " Search for braces - call cursor(line, col) - let par3lnum = searchpair('{', '', '}', 'bW', skip) - let par3col = col('.') - - " Get the closest match - if par2lnum > parlnum || (par2lnum == parlnum && par2col > parcol) - let parlnum = par2lnum - let parcol = par2col - endif - if par3lnum > parlnum || (par3lnum == parlnum && par3col > parcol) - let parlnum = par3lnum - let parcol = par3col - endif - - " Put the cursor on the match - if parlnum > 0 - call cursor(parlnum, parcol) - endif - return parlnum -endfunction - -" Find the start of a multi-line statement -function! s:StatementStart(lnum) - let lnum = a:lnum - while 1 - if getline(lnum - 1) =~ '\\$' - let lnum = lnum - 1 - else - call cursor(lnum, 1) - let maybe_lnum = s:SearchParensPair() - if maybe_lnum < 1 - return lnum - else - let lnum = maybe_lnum - endif - endif - endwhile -endfunction - -" Find the block starter that matches the current line -function! s:BlockStarter(lnum, block_start_re) - let lnum = a:lnum - let maxindent = 10000 " whatever - while lnum > 1 - let lnum = prevnonblank(lnum - 1) - if indent(lnum) < maxindent - if getline(lnum) =~ a:block_start_re - return lnum - else - let maxindent = indent(lnum) - " It's not worth going further if we reached the top level - if maxindent == 0 - return -1 - endif - endif - endif - endwhile - return -1 -endfunction - -function! GetPythonIndent(lnum) - - " First line has indent 0 - if a:lnum == 1 - return 0 - endif - - " If we can find an open parenthesis/bracket/brace, line up with it. - call cursor(a:lnum, 1) - let parlnum = s:SearchParensPair() - if parlnum > 0 - let parcol = col('.') - let closing_paren = match(getline(a:lnum), '^\s*[])}]') != -1 - if match(getline(parlnum), '[([{]\s*$', parcol - 1) != -1 - if closing_paren - return indent(parlnum) - else - return indent(parlnum) + &shiftwidth - endif - else - if closing_paren - return parcol - 1 - else - return parcol - endif - endif - endif - - " Examine this line - let thisline = getline(a:lnum) - let thisindent = indent(a:lnum) - - " If the line starts with 'elif' or 'else', line up with 'if' or 'elif' - if thisline =~ '^\s*\(elif\|else\)\>' - let bslnum = s:BlockStarter(a:lnum, '^\s*\(if\|elif\)\>') - if bslnum > 0 - return indent(bslnum) - else - return -1 - endif - endif - - " If the line starts with 'except' or 'finally', line up with 'try' - " or 'except' - if thisline =~ '^\s*\(except\|finally\)\>' - let bslnum = s:BlockStarter(a:lnum, '^\s*\(try\|except\)\>') - if bslnum > 0 - return indent(bslnum) - else - return -1 - endif - endif - - " Examine previous line - let plnum = a:lnum - 1 - let pline = getline(plnum) - let sslnum = s:StatementStart(plnum) - - " If the previous line is blank, keep the same indentation - if pline =~ '^\s*$' - return -1 - endif - - " If this line is explicitly joined, try to find an indentation that looks - " good. - if pline =~ '\\$' - let compound_statement = '^\s*\(if\|while\|for\s.*\sin\|except\)\s*' - let maybe_indent = matchend(getline(sslnum), compound_statement) - if maybe_indent != -1 - return maybe_indent - else - return indent(sslnum) + &sw * 2 - endif - endif - - " If the previous line ended with a colon, indent relative to - " statement start. - if pline =~ ':\s*$' - return indent(sslnum) + &sw - endif - - " If the previous line was a stop-execution statement or a pass - if getline(sslnum) =~ '^\s*\(break\|continue\|raise\|return\|pass\)\>' - " See if the user has already dedented - if indent(a:lnum) > indent(sslnum) - &sw - " If not, recommend one dedent - return indent(sslnum) - &sw - endif - " Otherwise, trust the user - return -1 - endif - - " In all other cases, line up with the start of the previous statement. - return indent(sslnum) -endfunction diff --git a/vim/.vim/colors/gruvbox-hard.vim b/vim/.vim/colors/gruvbox-hard.vim deleted file mode 100644 index fe10560..0000000 --- a/vim/.vim/colors/gruvbox-hard.vim +++ /dev/null @@ -1,1336 +0,0 @@ -" Name: Gruvbox Material Hard -" Description: Gruvbox with Material Palette -" Author: Sainnhepark -" Maintainer: Sainnhepark -" Website: https://github.com/sainnhe/gruvbox-material/ -" License: MIT && Anti-996 -" Last Updated: Thu 25 Jul 2019 07:54:19 PM CST - -" Generated by Colortemplate v2.0.0 - -set background=dark - -hi clear -if exists('syntax_on') - syntax reset -endif - -let g:colors_name = 'gruvbox-material-hard' - -let s:t_Co = exists('&t_Co') && !empty(&t_Co) && &t_Co > 1 ? &t_Co : 2 -let s:italics = (((&t_ZH != '' && &t_ZH != '[7m') || has('gui_running')) && !has('iOS')) || has('nvim') - -let s:italics = !(get(g:, 'gruvbox_material_kill_italic', 0) && s:italics) -hi! link diffAdded Green -hi! link diffRemoved Red -hi! link diffChanged Aqua -hi! link diffFile Orange -hi! link diffNewFile Yellow -hi! link diffLine Blue -hi! link htmlTagName Blue -hi! link htmlArg Orange -hi! link htmlScriptTag Purple -hi! link htmlSpecialTagName Blue -hi! link htmlSpecialChar Red -hi! link htmlTagN White -hi! link htmlTag AquaBold -hi! link htmlEndTag AquaBold -hi! link xmlEqual Blue -hi! link xmlDocTypeDecl Grey -hi! link xmlDocTypeKeyword Purple -hi! link xmlCdataStart Grey -hi! link xmlCdataCdata Purple -hi! link dtdFunction Grey -hi! link dtdTagName Purple -hi! link xmlAttrib Orange -hi! link xmlProcessingDelim Grey -hi! link dtdParamEntityPunct Grey -hi! link dtdParamEntityDPunct Grey -hi! link xmlAttribPunct Grey -hi! link xmlEntity Red -hi! link xmlEntityPunct Red -hi! link xmlTag AquaBold -hi! link xmlEndTag AquaBold -hi! link xmlTagName AquaBold -hi! link docbkKeyword AquaBold -hi! link vimNotation Orange -hi! link vimBracket Orange -hi! link vimMapModKey Orange -hi! link vimFuncSID LightGrey -hi! link vimSetSep LightGrey -hi! link vimSep LightGrey -hi! link vimContinue LightGrey -hi! link clojureKeyword Blue -hi! link clojureCond Orange -hi! link clojureSpecial Orange -hi! link clojureDefine Orange -hi! link clojureFunc Yellow -hi! link clojureRepeat Yellow -hi! link clojureCharacter Aqua -hi! link clojureStringEscape Aqua -hi! link clojureException Red -hi! link clojureRegexp Aqua -hi! link clojureRegexpEscape Aqua -hi! link clojureAnonArg Yellow -hi! link clojureVariable Blue -hi! link clojureMacro Orange -hi! link clojureMeta Yellow -hi! link clojureDeref Yellow -hi! link clojureQuote Yellow -hi! link clojureUnquote Yellow -hi! link clojureRegexpMod clojureRegexpCharClass -hi! link clojureRegexpQuantifier clojureRegexpCharClass -hi! link clojureRegexpCharClass GreyBold -hi! link clojureParen White -hi! link cOperator Purple -hi! link cppOperator Purple -hi! link cStructure Orange -hi! link pythonBuiltin Orange -hi! link pythonBuiltinObj Orange -hi! link pythonBuiltinFunc Orange -hi! link pythonFunction Aqua -hi! link pythonDecorator Red -hi! link pythonInclude Blue -hi! link pythonImport Blue -hi! link pythonRun Blue -hi! link pythonCoding Blue -hi! link pythonOperator Red -hi! link pythonException Red -hi! link pythonExceptions Purple -hi! link pythonBoolean Purple -hi! link pythonConditional Red -hi! link pythonRepeat Red -hi! link pythonDottedName GreenBold -hi! link pythonDot Grey -hi! link cssBraces Blue -hi! link cssFunctionName Yellow -hi! link cssIdentifier Orange -hi! link cssClassName Green -hi! link cssColor Blue -hi! link cssSelectorOp Blue -hi! link cssSelectorOp2 Blue -hi! link cssImportant Green -hi! link cssTextProp Aqua -hi! link cssAnimationProp Aqua -hi! link cssUIProp Yellow -hi! link cssTransformProp Aqua -hi! link cssTransitionProp Aqua -hi! link cssPrintProp Aqua -hi! link cssPositioningProp Yellow -hi! link cssBoxProp Aqua -hi! link cssFontDescriptorProp Aqua -hi! link cssFlexibleBoxProp Aqua -hi! link cssBorderOutlineProp Aqua -hi! link cssBackgroundProp Aqua -hi! link cssMarginProp Aqua -hi! link cssListProp Aqua -hi! link cssTableProp Aqua -hi! link cssFontProp Aqua -hi! link cssPaddingProp Aqua -hi! link cssDimensionProp Aqua -hi! link cssRenderProp Aqua -hi! link cssColorProp Aqua -hi! link cssGeneratedContentProp Aqua -hi! link cssVendor White -hi! link javaScriptFunction Aqua -hi! link javaScriptIdentifier Red -hi! link javaScriptMember Blue -hi! link javaScriptNumber Purple -hi! link javaScriptNull Purple -hi! link javaScriptParens White -hi! link javaScriptBraces White -hi! link javascriptImport Aqua -hi! link javascriptExport Aqua -hi! link javascriptClassKeyword Aqua -hi! link javascriptClassExtends Aqua -hi! link javascriptDefault Aqua -hi! link javascriptClassName Yellow -hi! link javascriptClassSuperName Yellow -hi! link javascriptGlobal Yellow -hi! link javascriptEndColons White -hi! link javascriptFuncArg White -hi! link javascriptGlobalMethod White -hi! link javascriptNodeGlobal White -hi! link javascriptBOMWindowProp White -hi! link javascriptArrayMethod White -hi! link javascriptArrayStaticMethod White -hi! link javascriptCacheMethod White -hi! link javascriptDateMethod White -hi! link javascriptMathStaticMethod White -hi! link javascriptURLUtilsProp White -hi! link javascriptBOMNavigatorProp White -hi! link javascriptDOMDocMethod White -hi! link javascriptDOMDocProp White -hi! link javascriptBOMLocationMethod White -hi! link javascriptBOMWindowMethod White -hi! link javascriptStringMethod White -hi! link javascriptVariable Orange -hi! link javascriptIdentifier Orange -hi! link javascriptClassSuper Orange -hi! link javascriptFuncKeyword Aqua -hi! link javascriptAsyncFunc Aqua -hi! link javascriptClassStatic Orange -hi! link javascriptOperator Red -hi! link javascriptForOperator Red -hi! link javascriptYield Red -hi! link javascriptExceptions Red -hi! link javascriptMessage Red -hi! link javascriptTemplateSB Aqua -hi! link javascriptTemplateSubstitution White -hi! link javascriptLabel White -hi! link javascriptObjectLabel White -hi! link javascriptPropertyName White -hi! link javascriptLogicSymbols White -hi! link javascriptArrowFunc Yellow -hi! link javascriptDocParamName LightGrey -hi! link javascriptDocTags LightGrey -hi! link javascriptDocNotation LightGrey -hi! link javascriptDocParamType LightGrey -hi! link javascriptDocNamedParamType LightGrey -hi! link javascriptBrackets White -hi! link javascriptDOMElemAttrs White -hi! link javascriptDOMEventMethod White -hi! link javascriptDOMNodeMethod White -hi! link javascriptDOMStorageMethod White -hi! link javascriptHeadersMethod White -hi! link javascriptAsyncFuncKeyword Red -hi! link javascriptAwaitFuncKeyword Red -hi! link jsClassKeyword Aqua -hi! link jsExtendsKeyword Aqua -hi! link jsExportDefault Aqua -hi! link jsTemplateBraces Aqua -hi! link jsGlobalNodeObjects Blue -hi! link jsGlobalObjects Blue -hi! link jsFunction Aqua -hi! link jsFuncCall Blue -hi! link jsFuncParens White -hi! link jsParens White -hi! link jsNull Purple -hi! link jsUndefined Purple -hi! link jsClassDefinition Yellow -hi! link jsObjectKey GreenBold -hi! link typescriptReserved Aqua -hi! link typescriptLabel Aqua -hi! link typescriptFuncKeyword Aqua -hi! link typescriptIdentifier Orange -hi! link typescriptBraces White -hi! link typescriptEndColons White -hi! link typescriptDOMObjects White -hi! link typescriptAjaxMethods White -hi! link typescriptLogicSymbols White -hi! link typescriptGlobalObjects White -hi! link typescriptParens White -hi! link typescriptOpSymbols Grey -hi! link typescriptHtmlElemProperties White -hi! link typescriptNull Purple -hi! link typescriptInterpolationDelimiter Aqua -hi! link typescriptDocSeeTag Comment -hi! link typescriptDocParam Comment -hi! link typescriptDocTags vimCommentTitle -hi! link jsxTagName Aqua -hi! link jsxComponentName Green -hi! link jsxCloseString LightGrey -hi! link jsxAttrib Yellow -hi! link jsxEqual Aqua -hi! link purescriptModuleKeyword Aqua -hi! link purescriptModuleName White -hi! link purescriptWhere Aqua -hi! link purescriptDelimiter LightGrey -hi! link purescriptType White -hi! link purescriptImportKeyword Aqua -hi! link purescriptHidingKeyword Aqua -hi! link purescriptAsKeyword Aqua -hi! link purescriptStructure Aqua -hi! link purescriptOperator Blue -hi! link purescriptTypeVar White -hi! link purescriptConstructor White -hi! link purescriptFunction White -hi! link purescriptConditional Orange -hi! link purescriptBacktick Orange -hi! link coffeeExtendedOp Grey -hi! link coffeeSpecialOp Grey -hi! link coffeeCurly Orange -hi! link coffeeParen White -hi! link coffeeBracket Orange -hi! link rubyStringDelimiter Green -hi! link rubyInterpolationDelimiter Aqua -hi! link objcTypeModifier Red -hi! link objcDirective Blue -hi! link goDirective Aqua -hi! link goConstants Purple -hi! link goDeclaration Red -hi! link goDeclType Blue -hi! link goBuiltins Orange -hi! link luaIn Red -hi! link luaFunction Aqua -hi! link luaTable Orange -hi! link moonSpecialOp Grey -hi! link moonExtendedOp Grey -hi! link moonFunction White -hi! link moonObject Yellow -hi! link javaAnnotation Blue -hi! link javaDocTags Aqua -hi! link javaParen White -hi! link javaParen1 White -hi! link javaParen2 White -hi! link javaParen3 White -hi! link javaParen4 White -hi! link javaParen5 White -hi! link javaOperator Orange -hi! link javaVarArg Green -hi! link javaCommentTitle vimCommentTitle -hi! link elixirStringDelimiter Green -hi! link elixirInterpolationDelimiter Aqua -hi! link elixirModuleDeclaration Yellow -hi! link elixirDocString Comment -hi! link scalaNameDefinition White -hi! link scalaCaseFollowing White -hi! link scalaCapitalWord White -hi! link scalaTypeExtension White -hi! link scalaKeyword Red -hi! link scalaKeywordModifier Red -hi! link scalaSpecial Aqua -hi! link scalaOperator White -hi! link scalaTypeDeclaration Yellow -hi! link scalaTypeTypePostDeclaration Yellow -hi! link scalaInstanceDeclaration White -hi! link scalaInterpolation Aqua -hi! link markdownH5 Yellow -hi! link markdownH6 Yellow -hi! link markdownCode Green -hi! link markdownCodeBlock Aqua -hi! link markdownCodeDelimiter Aqua -hi! link markdownBlockquote Grey -hi! link markdownListMarker Red -hi! link markdownOrderedListMarker Grey -hi! link markdownRule Grey -hi! link markdownHeadingRule Grey -hi! link markdownUrlDelimiter Grey -hi! link markdownLinkDelimiter Grey -hi! link markdownLinkTextDelimiter Grey -hi! link markdownHeadingDelimiter Orange -hi! link markdownUrl Purple -hi! link markdownUrlTitleDelimiter Green -hi! link markdownIdDeclaration markdownLinkText -hi! link markdownBoldDelimiter Grey -hi! link mkdBold Grey -hi! link mkdURL Purple -hi! link mkdCodeDelimiter Aqua -hi! link mkdHeading Orange -hi! link mkdListItem Red -hi! link mkdDelimiter Grey -hi! link mkdId Yellow -hi! link haskellType Blue -hi! link haskellIdentifier Aqua -hi! link haskellSeparator LightGrey -hi! link haskellDelimiter Orange -hi! link haskellOperators Purple -hi! link haskellBacktick Orange -hi! link haskellStatement Purple -hi! link haskellConditional Purple -hi! link haskellLet Red -hi! link haskellDefault Red -hi! link haskellWhere Red -hi! link haskellDeclKeyword Orange -hi! link haskellDecl Orange -hi! link haskellDeriving Purple -hi! link haskellAssocType Aqua -hi! link haskellNumber Aqua -hi! link haskellForeignKeywords Green -hi! link haskellKeyword Red -hi! link haskellFloat Aqua -hi! link haskellInfix Purple -hi! link haskellRecursiveDo Purlpe -hi! link haskellQuotedType Red -hi! link haskellPreProc LightGrey -hi! link haskellTypeForall Red -hi! link haskellPatternKeyword Blue -hi! link haskellBottom RedBold -hi! link haskellTH AquaBold -hi! link haskellImportKeywords PurpleBold -hi! link haskellPragma RedBold -hi! link haskellQuote GreenBold -hi! link haskellShebang YellowBold -hi! link haskellLiquid PurpleBold -hi! link haskellQuasiQuoted BlueBold -hi! link haskellTypeRoles RedBold -hi! link jsonKeyword Green -hi! link jsonQuote Green -hi! link jsonBraces White -hi! link jsonString White -hi! link mailHeader Blue -hi! link mailHeaderKey Blue -hi! link mailHeaderEmail Blue -hi! link mailSubject Blue -hi! link mailQuoted1 Aqua -hi! link mailQuoted2 Purple -hi! link mailQuoted3 Yellow -hi! link mailQuoted4 Green -hi! link mailQuoted5 Red -hi! link mailQuoted6 Orange -hi! link mailQuotedExp1 Aqua -hi! link mailQuotedExp2 Purple -hi! link mailQuotedExp3 Yellow -hi! link mailQuotedExp4 Green -hi! link mailQuotedExp5 Red -hi! link mailQuotedExp6 Orange -hi! link mailSignature White -hi! link mailURL Orange -hi! link mailEmail Orange -hi! link csBraces White -hi! link csEndColon White -hi! link csLogicSymbols White -hi! link csParens White -hi! link csOpSymbols Grey -hi! link csInterpolationDelimiter Grey -hi! link csInterpolationFormat Aqua -hi! link csInterpolationAlignDel AquaBold -hi! link csInterpolationFormatDel AquaBold -hi! link rustSigil Orange -hi! link rustEscape Aqua -hi! link rustStringContinuation Aqua -hi! link rustEnum Aqua -hi! link rustStructure Aqua -hi! link rustDefault Aqua -hi! link rustModPathSep Grey -hi! link rustCommentLineDoc Comment -hi! link EasyMotionTarget Search -hi! link EasyMotionShade Comment -hi! link Sneak Search -hi! link SneakLabel Search -hi! link gitcommitSelectedFile Green -hi! link gitcommitDiscardedFile Red -let g:fzf_colors = { - \ 'fg': ['fg', 'Normal'], - \ 'bg': ['bg', 'Normal'], - \ 'hl': ['fg', 'Green'], - \ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'], - \ 'bg+': ['bg', 'CursorLine', 'CursorColumn'], - \ 'hl+': ['fg', 'Green'], - \ 'info': ['fg', 'Aqua'], - \ 'prompt': ['fg', 'Red'], - \ 'pointer': ['fg', 'Blue'], - \ 'marker': ['fg', 'Orange'], - \ 'spinner': ['fg', 'Yellow'], - \ 'header': ['fg', 'Grey'] - \ } -hi! link StartifyBracket LightGrey -hi! link StartifyFile White -hi! link StartifyNumber Blue -hi! link StartifyPath Grey -hi! link StartifySlash Grey -hi! link StartifySection Yellow -hi! link StartifyHeader Orange -hi! link DirvishPathTail Aqua -hi! link DirvishArg Yellow -hi! link netrwDir Aqua -hi! link netrwClassify Aqua -hi! link netrwLink Grey -hi! link netrwSymLink White -hi! link netrwExe Yellow -hi! link netrwComment Grey -hi! link netrwList Blue -hi! link netrwHelpCmd Aqua -hi! link netrwCmdSep LightGrey -hi! link netrwVersion Green -hi! link NERDTreeDir Aqua -hi! link NERDTreeDirSlash Aqua -hi! link NERDTreeOpenable Orange -hi! link NERDTreeClosable Orange -hi! link NERDTreeFile White -hi! link NERDTreeExecFile Yellow -hi! link NERDTreeUp Grey -hi! link NERDTreeCWD Green -hi! link NERDTreeHelp LightGrey -hi! link NERDTreeToggleOn Green -hi! link NERDTreeToggleOff Red -hi! link ALEVirtualTextError Grey -hi! link ALEVirtualTextWarning Grey -hi! link ALEVirtualTextInfo Grey -hi! link ALEVirtualTextStyleError ALEVirtualTextError -hi! link ALEVirtualTextStyleWarning ALEVirtualTextWarning -hi! link CocCodeLens Grey -hi! link CocErrorSign ALEErrorSign -hi! link CocWarningSign ALEWarningSign -hi! link CocInfoSign ALEInfoSign -hi! link CocHintSign Label -hi! link CocErrorHighlight ALEError -hi! link CocWarningHighlight ALEWarning -hi! link CocInfoHighlight ALEInfo -hi! link CocWarningVirtualText ALEVirtualTextWarning -hi! link CocErrorVirtualText ALEVirtualTextError -hi! link CocInfoVirtualText ALEVirtualTextInfo -hi! link CocHintVirtualText ALEVirtualTextInfo -hi! link CocCodeLens ALEVirtualTextInfo - -if (has('termguicolors') && &termguicolors) || has('gui_running') - let g:terminal_ansi_colors = ['#665c54', '#ea6962', '#a9b665', '#e78a4e', - \ '#7daea3', '#d3869b', '#89b482', '#dfbf8e', '#928374', '#ea6962', - \ '#a9b665', '#e3a84e', '#7daea3', '#d3869b', '#89b482', '#dfbf8e'] - if has('nvim') - let g:terminal_color_0 = '#665c54' - let g:terminal_color_1 = '#ea6962' - let g:terminal_color_2 = '#a9b665' - let g:terminal_color_3 = '#e78a4e' - let g:terminal_color_4 = '#7daea3' - let g:terminal_color_5 = '#d3869b' - let g:terminal_color_6 = '#89b482' - let g:terminal_color_7 = '#dfbf8e' - let g:terminal_color_8 = '#928374' - let g:terminal_color_9 = '#ea6962' - let g:terminal_color_10 = '#a9b665' - let g:terminal_color_11 = '#e3a84e' - let g:terminal_color_12 = '#7daea3' - let g:terminal_color_13 = '#d3869b' - let g:terminal_color_14 = '#89b482' - let g:terminal_color_15 = '#dfbf8e' - endif - hi White guifg=#dfbf8e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi LightGrey guifg=#a89984 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Grey guifg=#928374 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Red guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Orange guifg=#e78a4e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Yellow guifg=#e3a84e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Green guifg=#a9b665 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Aqua guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Blue guifg=#7daea3 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Purple guifg=#d3869b guibg=NONE guisp=NONE gui=NONE cterm=NONE - if get(g:, 'gruvbox_material_enable_bold', 0) - hi WhiteBold guifg=#dfbf8e guibg=NONE guisp=NONE gui=bold cterm=bold - hi LightGreyBold guifg=#a89984 guibg=NONE guisp=NONE gui=bold cterm=bold - hi GreyBold guifg=#928374 guibg=NONE guisp=NONE gui=bold cterm=bold - hi RedBold guifg=#ea6962 guibg=NONE guisp=NONE gui=bold cterm=bold - hi OrangeBold guifg=#e78a4e guibg=NONE guisp=NONE gui=bold cterm=bold - hi YellowBold guifg=#e3a84e guibg=NONE guisp=NONE gui=bold cterm=bold - hi GreenBold guifg=#a9b665 guibg=NONE guisp=NONE gui=bold cterm=bold - hi AquaBold guifg=#89b482 guibg=NONE guisp=NONE gui=bold cterm=bold - hi BlueBold guifg=#7daea3 guibg=NONE guisp=NONE gui=bold cterm=bold - hi PurpleBold guifg=#d3869b guibg=NONE guisp=NONE gui=bold cterm=bold - else - hi WhiteBold guifg=#dfbf8e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi LightGreyBold guifg=#a89984 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi GreyBold guifg=#928374 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi RedBold guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi OrangeBold guifg=#e78a4e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi YellowBold guifg=#e3a84e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi GreenBold guifg=#a9b665 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi AquaBold guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi BlueBold guifg=#7daea3 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi PurpleBold guifg=#d3869b guibg=NONE guisp=NONE gui=NONE cterm=NONE - endif - if get(g:, 'gruvbox_material_hard_transp_bg', 0) && !has('gui_running') - hi Normal guifg=#dfbf8e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Terminal guifg=#dfbf8e guibg=NONE guisp=NONE gui=NONE cterm=NONE - else - hi Normal guifg=#dfbf8e guibg=#1d2021 guisp=NONE gui=NONE cterm=NONE - hi Terminal guifg=#dfbf8e guibg=#1d2021 guisp=NONE gui=NONE cterm=NONE - endif - hi ColorColumn guifg=NONE guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi Conceal guifg=#7daea3 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Cursor guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse - hi lCursor guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse - hi CursorColumn guifg=NONE guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi CursorLine guifg=NONE guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi CursorLineNr guifg=#e3a84e guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi LineNr guifg=#7c6f64 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi SignColumn guifg=NONE guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi DiffAdd guifg=#a9b665 guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi DiffChange guifg=#89b482 guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi DiffDelete guifg=#ea6962 guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi DiffText guifg=#e3a84e guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi Directory guifg=#a9b665 guibg=NONE guisp=NONE gui=bold cterm=bold - hi EndOfBuffer guifg=#1d2021 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi ErrorMsg guifg=#1d2021 guibg=#ea6962 guisp=NONE gui=NONE cterm=NONE - hi WarningMsg guifg=#1d2021 guibg=#e78a4e guisp=NONE gui=NONE cterm=NONE - hi ModeMsg guifg=#e3a84e guibg=NONE guisp=NONE gui=bold cterm=bold - hi MoreMsg guifg=#e3a84e guibg=NONE guisp=NONE gui=bold cterm=bold - hi FoldColumn guifg=#928374 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi Folded guifg=#928374 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi IncSearch guifg=#e78a4e guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi Search guifg=#e3a84e guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi MatchParen guifg=NONE guibg=#665c54 guisp=NONE gui=bold cterm=bold - hi NonText guifg=#928374 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Pmenu guifg=#dfbf8e guibg=#504945 guisp=NONE gui=NONE cterm=NONE - hi PmenuSbar guifg=NONE guibg=#504945 guisp=NONE gui=NONE cterm=NONE - hi PmenuSel guifg=#1d2021 guibg=#a89984 guisp=NONE gui=NONE cterm=NONE - hi PmenuThumb guifg=NONE guibg=#7c6f64 guisp=NONE gui=NONE cterm=NONE - hi Question guifg=#e78a4e guibg=NONE guisp=NONE gui=bold cterm=bold - hi SpellBad guifg=#ea6962 guibg=NONE guisp=#ea6962 gui=italic,undercurl cterm=italic,undercurl - hi SpellCap guifg=#7daea3 guibg=NONE guisp=#7daea3 gui=italic,undercurl cterm=italic,undercurl - hi SpellLocal guifg=#89b482 guibg=NONE guisp=#89b482 gui=italic,undercurl cterm=italic,undercurl - hi SpellRare guifg=#d3869b guibg=NONE guisp=#d3869b gui=italic,undercurl cterm=italic,undercurl - hi StatusLine guifg=#504945 guibg=#dfbf8e guisp=NONE gui=reverse cterm=reverse - hi StatusLineNC guifg=#1d2021 guibg=#a89984 guisp=NONE gui=reverse cterm=reverse - hi TabLine guifg=#7c6f64 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi TabLineFill guifg=#7c6f64 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi TabLineSel guifg=#1d2021 guibg=#a89984 guisp=NONE gui=NONE cterm=NONE - hi VertSplit guifg=#665c54 guibg=#1d2021 guisp=NONE gui=NONE cterm=NONE - hi Visual guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse - hi VisualNOS guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse - hi WildMenu guifg=#1d2021 guibg=#a89984 guisp=NONE gui=NONE cterm=NONE - hi Todo guifg=#928374 guibg=NONE guisp=NONE gui=bold,italic cterm=bold,italic - hi CursorIM guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse - hi ToolbarLine guifg=NONE guibg=#665c54 guisp=NONE gui=NONE cterm=NONE - hi ToolbarButton guifg=#dfbf8e guibg=#665c54 guisp=NONE gui=bold cterm=bold - hi QuickFixLine guifg=#e3a84e guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi StatusLineTerm guifg=#504945 guibg=#dfbf8e guisp=NONE gui=reverse cterm=reverse - hi StatusLineTermNC guifg=#1d2021 guibg=#a89984 guisp=NONE gui=reverse cterm=reverse - hi Title guifg=#a9b665 guibg=NONE guisp=NONE gui=bold cterm=bold - hi Conditional guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Repeat guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Label guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Exception guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Keyword guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Statement guifg=#ea6962 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Typedef guifg=#e3a84e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Type guifg=#e3a84e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi StorageClass guifg=#e78a4e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Delimiter guifg=#e78a4e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Special guifg=#e78a4e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Tag guifg=#e78a4e guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi String guifg=#a9b665 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi PreProc guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Macro guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Define guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Include guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi PreCondit guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Structure guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Operator guifg=#89b482 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Identifier guifg=#7daea3 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Underlined guifg=#7daea3 guibg=NONE guisp=NONE gui=underline cterm=underline - hi Constant guifg=#d3869b guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Boolean guifg=#d3869b guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Character guifg=#d3869b guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Number guifg=#d3869b guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Float guifg=#d3869b guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi SpecialKey guifg=#504945 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Comment guifg=#928374 guibg=NONE guisp=NONE gui=italic cterm=italic - hi SpecialComment guifg=#928374 guibg=NONE guisp=NONE gui=italic cterm=italic - hi Ignore guifg=#dfbf8e guibg=NONE guisp=NONE gui=NONE cterm=NONE - if !s:italics - hi SpellBad gui=undercurl cterm=undercurl - hi SpellCap gui=undercurl cterm=undercurl - hi SpellLocal gui=undercurl cterm=undercurl - hi SpellRare gui=undercurl cterm=undercurl - hi Todo gui=bold cterm=bold - hi Comment gui=NONE cterm=NONE - hi SpecialComment gui=NONE cterm=NONE - endif - if get(g:, 'gruvbox_material_enable_bold', 0) - hi Error guifg=#ea6962 guibg=#1d2021 guisp=NONE gui=bold,reverse cterm=bold,reverse - hi Function guifg=#a9b665 guibg=NONE guisp=NONE gui=bold cterm=bold - else - hi Error guifg=#ea6962 guibg=#1d2021 guisp=NONE gui=reverse cterm=reverse - hi Function guifg=#a9b665 guibg=NONE guisp=NONE gui=NONE cterm=NONE - endif - hi! link SpecialChar Special - hi! link Debug Special - hi htmlLink guifg=#a89984 guibg=NONE guisp=NONE gui=underline cterm=underline - hi htmlBold guifg=NONE guibg=NONE guisp=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold - hi htmlBoldUnderline guifg=NONE guibg=NONE guisp=NONE gui=bold,underline ctermfg=NONE ctermbg=NONE cterm=bold,underline - hi htmlBoldItalic guifg=NONE guibg=NONE guisp=NONE gui=bold,italic ctermfg=NONE ctermbg=NONE cterm=bold,italic - hi htmlBoldUnderlineItalic guifg=NONE guibg=NONE guisp=NONE gui=bold,italic,underline ctermfg=NONE ctermbg=NONE cterm=bold,italic,underline - hi htmlUnderline guifg=NONE guibg=NONE guisp=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline - hi htmlUnderlineItalic guifg=NONE guibg=NONE guisp=NONE gui=italic,underline ctermfg=NONE ctermbg=NONE cterm=italic,underline - hi htmlItalic guifg=NONE guibg=NONE guisp=NONE gui=italic ctermfg=NONE ctermbg=NONE cterm=italic - hi vimCommentTitle guifg=#a89984 guibg=NONE guisp=NONE gui=bold,italic cterm=bold,italic - hi markdownH1 guifg=#a9b665 guibg=NONE guisp=NONE gui=bold cterm=bold - hi markdownH2 guifg=#a9b665 guibg=NONE guisp=NONE gui=bold cterm=bold - hi markdownH3 guifg=#e3a84e guibg=NONE guisp=NONE gui=bold cterm=bold - hi markdownH4 guifg=#e3a84e guibg=NONE guisp=NONE gui=bold cterm=bold - hi markdownLinkText guifg=#89b482 guibg=NONE guisp=NONE gui=underline cterm=underline - hi markdownItalic guifg=NONE guibg=NONE guisp=NONE gui=italic ctermfg=NONE ctermbg=NONE cterm=italic - hi markdownBold guifg=NONE guibg=NONE guisp=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold - hi markdownItalicDelimiter guifg=#928374 guibg=NONE guisp=NONE gui=italic cterm=italic - hi mkdLink guifg=#89b482 guibg=NONE guisp=NONE gui=underline cterm=underline - hi mkdInlineURL guifg=#d3869b guibg=NONE guisp=NONE gui=underline cterm=underline - hi mkdItalic guifg=#928374 guibg=NONE guisp=NONE gui=italic cterm=italic - if !s:italics - hi htmlBoldItalic gui=bold cterm=bold - hi htmlBoldUnderlineItalic gui=bold,underline cterm=bold,underline - hi htmlUnderlineItalic gui=underline cterm=underline - hi htmlItalic gui=NONE cterm=NONE - hi vimCommentTitle gui=bold cterm=bold - hi markdownItalic gui=NONE cterm=NONE - hi markdownItalicDelimiter gui=NONE cterm=NONE - hi mkdItalic gui=NONE cterm=NONE - endif - if get(g:, 'indent_guides_auto_colors', 0) - if get(g:, 'gruvbox_material_hard_invert_indent_guides', 0) - hi IndentGuidesOdd guifg=#1d2021 guibg=#504945 guisp=NONE gui=reverse cterm=reverse - hi IndentGuidesEven guifg=#1d2021 guibg=#3c3836 guisp=NONE gui=reverse cterm=reverse - else - hi IndentGuidesOdd guifg=#1d2021 guibg=#504945 guisp=NONE gui=NONE cterm=NONE - hi IndentGuidesEven guifg=#1d2021 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - endif - endif - if !exists('g:indentLine_color_term') - let g:indentLine_color_term = 239 - endif - if !exists('g:indentLine_color_gui') - let g:indentLine_color_gui = '#504945' - endif - " Rainbow Parentheses - if !exists('g:rbpt_colorpairs') - let g:rbpt_colorpairs = [['blue', '#7daea3'], ['magenta', '#d3869b'], - \ ['red', '#ea6962'], ['208', '#e78a4e']] - endif - - let g:rainbow_guifgs = [ '#e78a4e', '#ea6962', '#d3869b', '#7daea3' ] - let g:rainbow_ctermfgs = [ '208', 'red', 'magenta', 'blue' ] - - if !exists('g:rainbow_conf') - let g:rainbow_conf = {} - endif - if !has_key(g:rainbow_conf, 'guifgs') - let g:rainbow_conf['guifgs'] = g:rainbow_guifgs - endif - if !has_key(g:rainbow_conf, 'ctermfgs') - let g:rainbow_conf['ctermfgs'] = g:rainbow_ctermfgs - endif - - let g:niji_dark_colours = g:rbpt_colorpairs - let g:niji_light_colours = g:rbpt_colorpairs - hi GitGutterAdd guifg=#a9b665 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi GitGutterChange guifg=#89b482 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi GitGutterDelete guifg=#ea6962 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi GitGutterChangeDelete guifg=#89b482 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi SignifySignAdd guifg=#a9b665 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi SignifySignChange guifg=#89b482 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi SignifySignDelete guifg=#ea6962 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi SyntasticError guifg=NONE guibg=NONE guisp=#ea6962 gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl - hi SyntasticWarning guifg=NONE guibg=NONE guisp=#e3a84e gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl - hi SyntasticErrorSign guifg=#ea6962 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi SyntasticWarningSign guifg=#e3a84e guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi SignatureMarkText guifg=#7daea3 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi SignatureMarkerText guifg=#d3869b guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi ShowMarksHLl guifg=#7daea3 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi ShowMarksHLu guifg=#7daea3 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi ShowMarksHLo guifg=#7daea3 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi ShowMarksHLm guifg=#7daea3 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi! link CtrlPMatch Yellow - hi! link CtrlPNoEntries Red - hi CtrlPPrtBase guifg=#504945 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi! link CtrlPPrtCursor Blue - hi CtrlPLinePre guifg=#504945 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi CtrlPMode1 guifg=#7daea3 guibg=#504945 guisp=NONE gui=bold cterm=bold - hi CtrlPMode2 guifg=#1d2021 guibg=#7daea3 guisp=NONE gui=bold cterm=bold - hi CtrlPStats guifg=#a89984 guibg=#504945 guisp=NONE gui=bold cterm=bold - hi StartifySpecial guifg=#504945 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi StartifyFooter guifg=#504945 guibg=NONE guisp=NONE gui=NONE cterm=NONE - let g:vimshell_escape_colors = [ - \ '#7c6f64', '#ea6962', '#a9b665', '#e3a84e', - \ '#7daea3', '#d3869b', '#89b482', '#a89984', - \ '#1d2021', '#ea6962', '#a9b665', '#e78a4e', - \ '#7daea3', '#d3869b', '#89b482', '#dfbf8e' - \ ] - hi BufTabLineCurrent guifg=#1d2021 guibg=#a89984 guisp=NONE gui=NONE cterm=NONE - hi BufTabLineActive guifg=#a89984 guibg=#504945 guisp=NONE gui=NONE cterm=NONE - hi BufTabLineHidden guifg=#7c6f64 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi BufTabLineFill guifg=#1d2021 guibg=#1d2021 guisp=NONE gui=NONE cterm=NONE - hi ALEError guifg=NONE guibg=NONE guisp=#ea6962 gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl - hi ALEWarning guifg=NONE guibg=NONE guisp=#ea6962 gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl - hi ALEInfo guifg=NONE guibg=NONE guisp=#7daea3 gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl - hi ALEErrorSign guifg=#ea6962 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi ALEWarningSign guifg=#e3a84e guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi ALEInfoSign guifg=#7daea3 guibg=#3c3836 guisp=NONE gui=NONE cterm=NONE - hi multiple_cursors_cursor guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse - hi multiple_cursors_visual guifg=NONE guibg=#504945 guisp=NONE gui=NONE cterm=NONE - hi CocHighlightText guifg=NONE guibg=NONE guisp=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold - hi MatchParenCur guifg=NONE guibg=NONE guisp=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold - hi MatchWord guifg=NONE guibg=NONE guisp=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline - hi MatchWordCur guifg=NONE guibg=NONE guisp=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline - unlet s:t_Co s:italics - finish -endif - -if s:t_Co >= 256 - hi White ctermfg=223 ctermbg=NONE cterm=NONE - hi LightGrey ctermfg=246 ctermbg=NONE cterm=NONE - hi Grey ctermfg=245 ctermbg=NONE cterm=NONE - hi Red ctermfg=167 ctermbg=NONE cterm=NONE - hi Orange ctermfg=208 ctermbg=NONE cterm=NONE - hi Yellow ctermfg=214 ctermbg=NONE cterm=NONE - hi Green ctermfg=142 ctermbg=NONE cterm=NONE - hi Aqua ctermfg=108 ctermbg=NONE cterm=NONE - hi Blue ctermfg=109 ctermbg=NONE cterm=NONE - hi Purple ctermfg=175 ctermbg=NONE cterm=NONE - if get(g:, 'gruvbox_material_enable_bold', 0) - hi WhiteBold ctermfg=223 ctermbg=NONE cterm=bold - hi LightGreyBold ctermfg=246 ctermbg=NONE cterm=bold - hi GreyBold ctermfg=245 ctermbg=NONE cterm=bold - hi RedBold ctermfg=167 ctermbg=NONE cterm=bold - hi OrangeBold ctermfg=208 ctermbg=NONE cterm=bold - hi YellowBold ctermfg=214 ctermbg=NONE cterm=bold - hi GreenBold ctermfg=142 ctermbg=NONE cterm=bold - hi AquaBold ctermfg=108 ctermbg=NONE cterm=bold - hi BlueBold ctermfg=109 ctermbg=NONE cterm=bold - hi PurpleBold ctermfg=175 ctermbg=NONE cterm=bold - else - hi WhiteBold ctermfg=223 ctermbg=NONE cterm=NONE - hi LightGreyBold ctermfg=246 ctermbg=NONE cterm=NONE - hi GreyBold ctermfg=245 ctermbg=NONE cterm=NONE - hi RedBold ctermfg=167 ctermbg=NONE cterm=NONE - hi OrangeBold ctermfg=208 ctermbg=NONE cterm=NONE - hi YellowBold ctermfg=214 ctermbg=NONE cterm=NONE - hi GreenBold ctermfg=142 ctermbg=NONE cterm=NONE - hi AquaBold ctermfg=108 ctermbg=NONE cterm=NONE - hi BlueBold ctermfg=109 ctermbg=NONE cterm=NONE - hi PurpleBold ctermfg=175 ctermbg=NONE cterm=NONE - endif - if get(g:, 'gruvbox_material_hard_transp_bg', 0) - hi Normal ctermfg=223 ctermbg=NONE cterm=NONE - hi Terminal ctermfg=223 ctermbg=NONE cterm=NONE - else - hi Normal ctermfg=223 ctermbg=234 cterm=NONE - if !has('patch-8.0.0616') && !has('nvim') " Fix for Vim bug - set background=dark - endif - hi Terminal ctermfg=223 ctermbg=234 cterm=NONE - endif - hi ColorColumn ctermfg=NONE ctermbg=237 cterm=NONE - hi Conceal ctermfg=109 ctermbg=NONE cterm=NONE - hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse - hi lCursor ctermfg=NONE ctermbg=NONE cterm=reverse - hi CursorColumn ctermfg=NONE ctermbg=237 cterm=NONE - hi CursorLine ctermfg=NONE ctermbg=237 cterm=NONE - hi CursorLineNr ctermfg=214 ctermbg=237 cterm=NONE - hi LineNr ctermfg=243 ctermbg=NONE cterm=NONE - hi SignColumn ctermfg=NONE ctermbg=237 cterm=NONE - hi DiffAdd ctermfg=142 ctermbg=234 cterm=reverse - hi DiffChange ctermfg=108 ctermbg=234 cterm=reverse - hi DiffDelete ctermfg=167 ctermbg=234 cterm=reverse - hi DiffText ctermfg=214 ctermbg=234 cterm=reverse - hi Directory ctermfg=142 ctermbg=NONE cterm=bold - hi EndOfBuffer ctermfg=234 ctermbg=NONE cterm=NONE - hi ErrorMsg ctermfg=234 ctermbg=167 cterm=NONE - hi WarningMsg ctermfg=234 ctermbg=208 cterm=NONE - hi ModeMsg ctermfg=214 ctermbg=NONE cterm=bold - hi MoreMsg ctermfg=214 ctermbg=NONE cterm=bold - hi FoldColumn ctermfg=245 ctermbg=237 cterm=NONE - hi Folded ctermfg=245 ctermbg=237 cterm=NONE - hi IncSearch ctermfg=208 ctermbg=234 cterm=reverse - hi Search ctermfg=214 ctermbg=234 cterm=reverse - hi MatchParen ctermfg=NONE ctermbg=241 cterm=bold - hi NonText ctermfg=245 ctermbg=NONE cterm=NONE - hi Pmenu ctermfg=223 ctermbg=239 cterm=NONE - hi PmenuSbar ctermfg=NONE ctermbg=239 cterm=NONE - hi PmenuSel ctermfg=234 ctermbg=246 cterm=NONE - hi PmenuThumb ctermfg=NONE ctermbg=243 cterm=NONE - hi Question ctermfg=208 ctermbg=NONE cterm=bold - hi SpellBad ctermfg=167 ctermbg=NONE cterm=italic,underline - hi SpellCap ctermfg=109 ctermbg=NONE cterm=italic,underline - hi SpellLocal ctermfg=108 ctermbg=NONE cterm=italic,underline - hi SpellRare ctermfg=175 ctermbg=NONE cterm=italic,underline - hi StatusLine ctermfg=239 ctermbg=223 cterm=reverse - hi StatusLineNC ctermfg=234 ctermbg=246 cterm=reverse - hi TabLine ctermfg=243 ctermbg=237 cterm=NONE - hi TabLineFill ctermfg=243 ctermbg=237 cterm=NONE - hi TabLineSel ctermfg=234 ctermbg=246 cterm=NONE - hi VertSplit ctermfg=241 ctermbg=234 cterm=NONE - hi Visual ctermfg=NONE ctermbg=NONE cterm=reverse - hi VisualNOS ctermfg=NONE ctermbg=NONE cterm=reverse - hi WildMenu ctermfg=234 ctermbg=246 cterm=NONE - hi Todo ctermfg=245 ctermbg=NONE cterm=bold,italic - hi CursorIM ctermfg=NONE ctermbg=NONE cterm=reverse - hi ToolbarLine ctermfg=NONE ctermbg=241 cterm=NONE - hi ToolbarButton ctermfg=223 ctermbg=241 cterm=bold - hi QuickFixLine ctermfg=214 ctermbg=234 cterm=reverse - hi StatusLineTerm ctermfg=239 ctermbg=223 cterm=reverse - hi StatusLineTermNC ctermfg=234 ctermbg=246 cterm=reverse - hi Title ctermfg=142 ctermbg=NONE cterm=bold - hi Conditional ctermfg=167 ctermbg=NONE cterm=NONE - hi Repeat ctermfg=167 ctermbg=NONE cterm=NONE - hi Label ctermfg=167 ctermbg=NONE cterm=NONE - hi Exception ctermfg=167 ctermbg=NONE cterm=NONE - hi Keyword ctermfg=167 ctermbg=NONE cterm=NONE - hi Statement ctermfg=167 ctermbg=NONE cterm=NONE - hi Typedef ctermfg=214 ctermbg=NONE cterm=NONE - hi Type ctermfg=214 ctermbg=NONE cterm=NONE - hi StorageClass ctermfg=208 ctermbg=NONE cterm=NONE - hi Delimiter ctermfg=208 ctermbg=NONE cterm=NONE - hi Special ctermfg=208 ctermbg=NONE cterm=NONE - hi Tag ctermfg=208 ctermbg=NONE cterm=NONE - hi String ctermfg=142 ctermbg=NONE cterm=NONE - hi PreProc ctermfg=108 ctermbg=NONE cterm=NONE - hi Macro ctermfg=108 ctermbg=NONE cterm=NONE - hi Define ctermfg=108 ctermbg=NONE cterm=NONE - hi Include ctermfg=108 ctermbg=NONE cterm=NONE - hi PreCondit ctermfg=108 ctermbg=NONE cterm=NONE - hi Structure ctermfg=108 ctermbg=NONE cterm=NONE - hi Operator ctermfg=108 ctermbg=NONE cterm=NONE - hi Identifier ctermfg=109 ctermbg=NONE cterm=NONE - hi Underlined ctermfg=109 ctermbg=NONE cterm=underline - hi Constant ctermfg=175 ctermbg=NONE cterm=NONE - hi Boolean ctermfg=175 ctermbg=NONE cterm=NONE - hi Character ctermfg=175 ctermbg=NONE cterm=NONE - hi Number ctermfg=175 ctermbg=NONE cterm=NONE - hi Float ctermfg=175 ctermbg=NONE cterm=NONE - hi SpecialKey ctermfg=239 ctermbg=NONE cterm=NONE - hi Comment ctermfg=245 ctermbg=NONE cterm=italic - hi SpecialComment ctermfg=245 ctermbg=NONE cterm=italic - hi Ignore ctermfg=223 ctermbg=NONE cterm=NONE - if !s:italics - hi SpellBad cterm=underline - hi SpellCap cterm=underline - hi SpellLocal cterm=underline - hi SpellRare cterm=underline - hi Todo cterm=bold - hi Comment cterm=NONE - hi SpecialComment cterm=NONE - endif - if get(g:, 'gruvbox_material_enable_bold', 0) - hi Error ctermfg=167 ctermbg=234 cterm=bold,reverse - hi Function ctermfg=142 ctermbg=NONE cterm=bold - else - hi Error ctermfg=167 ctermbg=234 cterm=reverse - hi Function ctermfg=142 ctermbg=NONE cterm=NONE - endif - hi! link SpecialChar Special - hi! link Debug Special - hi htmlLink ctermfg=246 ctermbg=NONE cterm=underline - hi htmlBold ctermfg=NONE ctermbg=NONE cterm=bold - hi htmlBoldUnderline ctermfg=NONE ctermbg=NONE cterm=bold,underline - hi htmlBoldItalic ctermfg=NONE ctermbg=NONE cterm=bold,italic - hi htmlBoldUnderlineItalic ctermfg=NONE ctermbg=NONE cterm=bold,italic,underline - hi htmlUnderline ctermfg=NONE ctermbg=NONE cterm=underline - hi htmlUnderlineItalic ctermfg=NONE ctermbg=NONE cterm=italic,underline - hi htmlItalic ctermfg=NONE ctermbg=NONE cterm=italic - hi vimCommentTitle ctermfg=246 ctermbg=NONE cterm=bold,italic - hi markdownH1 ctermfg=142 ctermbg=NONE cterm=bold - hi markdownH2 ctermfg=142 ctermbg=NONE cterm=bold - hi markdownH3 ctermfg=214 ctermbg=NONE cterm=bold - hi markdownH4 ctermfg=214 ctermbg=NONE cterm=bold - hi markdownLinkText ctermfg=108 ctermbg=NONE cterm=underline - hi markdownItalic ctermfg=NONE ctermbg=NONE cterm=italic - hi markdownBold ctermfg=NONE ctermbg=NONE cterm=bold - hi markdownItalicDelimiter ctermfg=245 ctermbg=NONE cterm=italic - hi mkdLink ctermfg=108 ctermbg=NONE cterm=underline - hi mkdInlineURL ctermfg=175 ctermbg=NONE cterm=underline - hi mkdItalic ctermfg=245 ctermbg=NONE cterm=italic - if !s:italics - hi htmlBoldItalic cterm=bold - hi htmlBoldUnderlineItalic cterm=bold,underline - hi htmlUnderlineItalic cterm=underline - hi htmlItalic cterm=NONE - hi vimCommentTitle cterm=bold - hi markdownItalic cterm=NONE - hi markdownItalicDelimiter cterm=NONE - hi mkdItalic cterm=NONE - endif - if get(g:, 'indent_guides_auto_colors', 0) - if get(g:, 'gruvbox_material_hard_invert_indent_guides', 0) - hi IndentGuidesOdd ctermfg=234 ctermbg=239 cterm=reverse - hi IndentGuidesEven ctermfg=234 ctermbg=237 cterm=reverse - else - hi IndentGuidesOdd ctermfg=234 ctermbg=239 cterm=NONE - hi IndentGuidesEven ctermfg=234 ctermbg=237 cterm=NONE - endif - endif - if !exists('g:indentLine_color_term') - let g:indentLine_color_term = 239 - endif - if !exists('g:indentLine_color_gui') - let g:indentLine_color_gui = '#504945' - endif - " Rainbow Parentheses - if !exists('g:rbpt_colorpairs') - let g:rbpt_colorpairs = [['blue', '#7daea3'], ['magenta', '#d3869b'], - \ ['red', '#ea6962'], ['208', '#e78a4e']] - endif - - let g:rainbow_guifgs = [ '#e78a4e', '#ea6962', '#d3869b', '#7daea3' ] - let g:rainbow_ctermfgs = [ '208', 'red', 'magenta', 'blue' ] - - if !exists('g:rainbow_conf') - let g:rainbow_conf = {} - endif - if !has_key(g:rainbow_conf, 'guifgs') - let g:rainbow_conf['guifgs'] = g:rainbow_guifgs - endif - if !has_key(g:rainbow_conf, 'ctermfgs') - let g:rainbow_conf['ctermfgs'] = g:rainbow_ctermfgs - endif - - let g:niji_dark_colours = g:rbpt_colorpairs - let g:niji_light_colours = g:rbpt_colorpairs - hi GitGutterAdd ctermfg=142 ctermbg=237 cterm=NONE - hi GitGutterChange ctermfg=108 ctermbg=237 cterm=NONE - hi GitGutterDelete ctermfg=167 ctermbg=237 cterm=NONE - hi GitGutterChangeDelete ctermfg=108 ctermbg=237 cterm=NONE - hi SignifySignAdd ctermfg=142 ctermbg=237 cterm=NONE - hi SignifySignChange ctermfg=108 ctermbg=237 cterm=NONE - hi SignifySignDelete ctermfg=167 ctermbg=237 cterm=NONE - hi SyntasticError ctermfg=NONE ctermbg=NONE cterm=underline - hi SyntasticWarning ctermfg=NONE ctermbg=NONE cterm=underline - hi SyntasticErrorSign ctermfg=167 ctermbg=237 cterm=NONE - hi SyntasticWarningSign ctermfg=214 ctermbg=237 cterm=NONE - hi SignatureMarkText ctermfg=109 ctermbg=237 cterm=NONE - hi SignatureMarkerText ctermfg=175 ctermbg=237 cterm=NONE - hi ShowMarksHLl ctermfg=109 ctermbg=237 cterm=NONE - hi ShowMarksHLu ctermfg=109 ctermbg=237 cterm=NONE - hi ShowMarksHLo ctermfg=109 ctermbg=237 cterm=NONE - hi ShowMarksHLm ctermfg=109 ctermbg=237 cterm=NONE - hi! link CtrlPMatch Yellow - hi! link CtrlPNoEntries Red - hi CtrlPPrtBase ctermfg=239 ctermbg=NONE cterm=NONE - hi! link CtrlPPrtCursor Blue - hi CtrlPLinePre ctermfg=239 ctermbg=NONE cterm=NONE - hi CtrlPMode1 ctermfg=109 ctermbg=239 cterm=bold - hi CtrlPMode2 ctermfg=234 ctermbg=109 cterm=bold - hi CtrlPStats ctermfg=246 ctermbg=239 cterm=bold - hi StartifySpecial ctermfg=239 ctermbg=NONE cterm=NONE - hi StartifyFooter ctermfg=239 ctermbg=NONE cterm=NONE - let g:vimshell_escape_colors = [ - \ '#7c6f64', '#ea6962', '#a9b665', '#e3a84e', - \ '#7daea3', '#d3869b', '#89b482', '#a89984', - \ '#1d2021', '#ea6962', '#a9b665', '#e78a4e', - \ '#7daea3', '#d3869b', '#89b482', '#dfbf8e' - \ ] - hi BufTabLineCurrent ctermfg=234 ctermbg=246 cterm=NONE - hi BufTabLineActive ctermfg=246 ctermbg=239 cterm=NONE - hi BufTabLineHidden ctermfg=243 ctermbg=237 cterm=NONE - hi BufTabLineFill ctermfg=234 ctermbg=234 cterm=NONE - hi ALEError ctermfg=NONE ctermbg=NONE cterm=underline - hi ALEWarning ctermfg=NONE ctermbg=NONE cterm=underline - hi ALEInfo ctermfg=NONE ctermbg=NONE cterm=underline - hi ALEErrorSign ctermfg=167 ctermbg=237 cterm=NONE - hi ALEWarningSign ctermfg=214 ctermbg=237 cterm=NONE - hi ALEInfoSign ctermfg=109 ctermbg=237 cterm=NONE - hi multiple_cursors_cursor ctermfg=NONE ctermbg=NONE cterm=reverse - hi multiple_cursors_visual ctermfg=NONE ctermbg=239 cterm=NONE - hi CocHighlightText ctermfg=NONE ctermbg=NONE cterm=bold - hi MatchParenCur ctermfg=NONE ctermbg=NONE cterm=bold - hi MatchWord ctermfg=NONE ctermbg=NONE cterm=underline - hi MatchWordCur ctermfg=NONE ctermbg=NONE cterm=underline - unlet s:t_Co s:italics - finish -endif - -if s:t_Co >= 8 - if get(g:, 'gruvbox_material_hard_transp_bg', 0) - hi Normal ctermfg=White ctermbg=NONE cterm=NONE - hi Terminal ctermfg=White ctermbg=NONE cterm=NONE - else - hi Normal ctermfg=White ctermbg=Black cterm=NONE - hi Terminal ctermfg=White ctermbg=Black cterm=NONE - endif - hi ColorColumn ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi Conceal ctermfg=Blue ctermbg=NONE cterm=NONE - hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse - hi lCursor ctermfg=NONE ctermbg=NONE cterm=reverse - hi CursorColumn ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi CursorLine ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi CursorLineNr ctermfg=Yellow ctermbg=DarkGrey cterm=NONE - hi LineNr ctermfg=DarkGrey ctermbg=NONE cterm=NONE - hi SignColumn ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi DiffAdd ctermfg=Green ctermbg=Black cterm=reverse - hi DiffChange ctermfg=Cyan ctermbg=Black cterm=reverse - hi DiffDelete ctermfg=Red ctermbg=Black cterm=reverse - hi DiffText ctermfg=Yellow ctermbg=Black cterm=reverse - hi Directory ctermfg=Green ctermbg=NONE cterm=bold - hi EndOfBuffer ctermfg=Black ctermbg=NONE cterm=NONE - hi ErrorMsg ctermfg=Black ctermbg=Red cterm=NONE - hi WarningMsg ctermfg=Black ctermbg=DarkYellow cterm=NONE - hi ModeMsg ctermfg=Yellow ctermbg=NONE cterm=bold - hi MoreMsg ctermfg=Yellow ctermbg=NONE cterm=bold - hi FoldColumn ctermfg=Grey ctermbg=DarkGrey cterm=NONE - hi Folded ctermfg=Grey ctermbg=DarkGrey cterm=NONE - hi IncSearch ctermfg=DarkYellow ctermbg=Black cterm=reverse - hi Search ctermfg=Yellow ctermbg=Black cterm=reverse - hi MatchParen ctermfg=NONE ctermbg=DarkGrey cterm=bold - hi NonText ctermfg=Grey ctermbg=NONE cterm=NONE - hi Pmenu ctermfg=White ctermbg=DarkGrey cterm=NONE - hi PmenuSbar ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi PmenuSel ctermfg=Black ctermbg=LightGrey cterm=NONE - hi PmenuThumb ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi Question ctermfg=DarkYellow ctermbg=NONE cterm=bold - hi SpellBad ctermfg=Red ctermbg=NONE cterm=italic,underline - hi SpellCap ctermfg=Blue ctermbg=NONE cterm=italic,underline - hi SpellLocal ctermfg=Cyan ctermbg=NONE cterm=italic,underline - hi SpellRare ctermfg=Magenta ctermbg=NONE cterm=italic,underline - hi StatusLine ctermfg=DarkGrey ctermbg=White cterm=reverse - hi StatusLineNC ctermfg=Black ctermbg=LightGrey cterm=reverse - hi TabLine ctermfg=DarkGrey ctermbg=DarkGrey cterm=NONE - hi TabLineFill ctermfg=DarkGrey ctermbg=DarkGrey cterm=NONE - hi TabLineSel ctermfg=Black ctermbg=LightGrey cterm=NONE - hi VertSplit ctermfg=DarkGrey ctermbg=Black cterm=NONE - hi Visual ctermfg=NONE ctermbg=NONE cterm=reverse - hi VisualNOS ctermfg=NONE ctermbg=NONE cterm=reverse - hi WildMenu ctermfg=Black ctermbg=LightGrey cterm=NONE - hi Todo ctermfg=Grey ctermbg=NONE cterm=bold,italic - hi CursorIM ctermfg=NONE ctermbg=NONE cterm=reverse - hi ToolbarLine ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi ToolbarButton ctermfg=White ctermbg=DarkGrey cterm=bold - hi QuickFixLine ctermfg=Yellow ctermbg=Black cterm=reverse - hi StatusLineTerm ctermfg=DarkGrey ctermbg=White cterm=reverse - hi StatusLineTermNC ctermfg=Black ctermbg=LightGrey cterm=reverse - hi Title ctermfg=Green ctermbg=NONE cterm=bold - hi Conditional ctermfg=Red ctermbg=NONE cterm=NONE - hi Repeat ctermfg=Red ctermbg=NONE cterm=NONE - hi Label ctermfg=Red ctermbg=NONE cterm=NONE - hi Exception ctermfg=Red ctermbg=NONE cterm=NONE - hi Keyword ctermfg=Red ctermbg=NONE cterm=NONE - hi Statement ctermfg=Red ctermbg=NONE cterm=NONE - hi Typedef ctermfg=Yellow ctermbg=NONE cterm=NONE - hi Type ctermfg=Yellow ctermbg=NONE cterm=NONE - hi StorageClass ctermfg=DarkYellow ctermbg=NONE cterm=NONE - hi Delimiter ctermfg=DarkYellow ctermbg=NONE cterm=NONE - hi Special ctermfg=DarkYellow ctermbg=NONE cterm=NONE - hi Tag ctermfg=DarkYellow ctermbg=NONE cterm=NONE - hi String ctermfg=Green ctermbg=NONE cterm=NONE - hi PreProc ctermfg=Cyan ctermbg=NONE cterm=NONE - hi Macro ctermfg=Cyan ctermbg=NONE cterm=NONE - hi Define ctermfg=Cyan ctermbg=NONE cterm=NONE - hi Include ctermfg=Cyan ctermbg=NONE cterm=NONE - hi PreCondit ctermfg=Cyan ctermbg=NONE cterm=NONE - hi Structure ctermfg=Cyan ctermbg=NONE cterm=NONE - hi Operator ctermfg=Cyan ctermbg=NONE cterm=NONE - hi Identifier ctermfg=Blue ctermbg=NONE cterm=NONE - hi Underlined ctermfg=Blue ctermbg=NONE cterm=underline - hi Constant ctermfg=Magenta ctermbg=NONE cterm=NONE - hi Boolean ctermfg=Magenta ctermbg=NONE cterm=NONE - hi Character ctermfg=Magenta ctermbg=NONE cterm=NONE - hi Number ctermfg=Magenta ctermbg=NONE cterm=NONE - hi Float ctermfg=Magenta ctermbg=NONE cterm=NONE - hi SpecialKey ctermfg=DarkGrey ctermbg=NONE cterm=NONE - hi Comment ctermfg=Grey ctermbg=NONE cterm=italic - hi SpecialComment ctermfg=Grey ctermbg=NONE cterm=italic - hi Ignore ctermfg=White ctermbg=NONE cterm=NONE - if !s:italics - hi SpellBad cterm=underline - hi SpellCap cterm=underline - hi SpellLocal cterm=underline - hi SpellRare cterm=underline - hi Todo cterm=bold - hi Comment cterm=NONE - hi SpecialComment cterm=NONE - endif - if get(g:, 'gruvbox_material_enable_bold', 0) - hi Error ctermfg=Red ctermbg=Black cterm=bold,reverse - hi Function ctermfg=Green ctermbg=NONE cterm=bold - else - hi Error ctermfg=Red ctermbg=Black cterm=reverse - hi Function ctermfg=Green ctermbg=NONE cterm=NONE - endif - hi! link SpecialChar Special - hi! link Debug Special - hi htmlLink ctermfg=LightGrey ctermbg=NONE cterm=underline - hi htmlBold ctermfg=NONE ctermbg=NONE cterm=bold - hi htmlBoldUnderline ctermfg=NONE ctermbg=NONE cterm=bold,underline - hi htmlBoldItalic ctermfg=NONE ctermbg=NONE cterm=bold,italic - hi htmlBoldUnderlineItalic ctermfg=NONE ctermbg=NONE cterm=bold,italic,underline - hi htmlUnderline ctermfg=NONE ctermbg=NONE cterm=underline - hi htmlUnderlineItalic ctermfg=NONE ctermbg=NONE cterm=italic,underline - hi htmlItalic ctermfg=NONE ctermbg=NONE cterm=italic - hi vimCommentTitle ctermfg=LightGrey ctermbg=NONE cterm=bold,italic - hi markdownH1 ctermfg=Green ctermbg=NONE cterm=bold - hi markdownH2 ctermfg=Green ctermbg=NONE cterm=bold - hi markdownH3 ctermfg=Yellow ctermbg=NONE cterm=bold - hi markdownH4 ctermfg=Yellow ctermbg=NONE cterm=bold - hi markdownLinkText ctermfg=Cyan ctermbg=NONE cterm=underline - hi markdownItalic ctermfg=NONE ctermbg=NONE cterm=italic - hi markdownBold ctermfg=NONE ctermbg=NONE cterm=bold - hi markdownItalicDelimiter ctermfg=Grey ctermbg=NONE cterm=italic - hi mkdLink ctermfg=Cyan ctermbg=NONE cterm=underline - hi mkdInlineURL ctermfg=Magenta ctermbg=NONE cterm=underline - hi mkdItalic ctermfg=Grey ctermbg=NONE cterm=italic - if !s:italics - hi htmlBoldItalic cterm=bold - hi htmlBoldUnderlineItalic cterm=bold,underline - hi htmlUnderlineItalic cterm=underline - hi htmlItalic cterm=NONE - hi vimCommentTitle cterm=bold - hi markdownItalic cterm=NONE - hi markdownItalicDelimiter cterm=NONE - hi mkdItalic cterm=NONE - endif - if get(g:, 'indent_guides_auto_colors', 0) - if get(g:, 'gruvbox_material_hard_invert_indent_guides', 0) - hi IndentGuidesOdd ctermfg=Black ctermbg=DarkGrey cterm=reverse - hi IndentGuidesEven ctermfg=Black ctermbg=DarkGrey cterm=reverse - else - hi IndentGuidesOdd ctermfg=Black ctermbg=DarkGrey cterm=NONE - hi IndentGuidesEven ctermfg=Black ctermbg=DarkGrey cterm=NONE - endif - endif - if !exists('g:indentLine_color_term') - let g:indentLine_color_term = 239 - endif - if !exists('g:indentLine_color_gui') - let g:indentLine_color_gui = '#504945' - endif - " Rainbow Parentheses - if !exists('g:rbpt_colorpairs') - let g:rbpt_colorpairs = [['blue', '#7daea3'], ['magenta', '#d3869b'], - \ ['red', '#ea6962'], ['208', '#e78a4e']] - endif - - let g:rainbow_guifgs = [ '#e78a4e', '#ea6962', '#d3869b', '#7daea3' ] - let g:rainbow_ctermfgs = [ '208', 'red', 'magenta', 'blue' ] - - if !exists('g:rainbow_conf') - let g:rainbow_conf = {} - endif - if !has_key(g:rainbow_conf, 'guifgs') - let g:rainbow_conf['guifgs'] = g:rainbow_guifgs - endif - if !has_key(g:rainbow_conf, 'ctermfgs') - let g:rainbow_conf['ctermfgs'] = g:rainbow_ctermfgs - endif - - let g:niji_dark_colours = g:rbpt_colorpairs - let g:niji_light_colours = g:rbpt_colorpairs - hi GitGutterAdd ctermfg=Green ctermbg=DarkGrey cterm=NONE - hi GitGutterChange ctermfg=Cyan ctermbg=DarkGrey cterm=NONE - hi GitGutterDelete ctermfg=Red ctermbg=DarkGrey cterm=NONE - hi GitGutterChangeDelete ctermfg=Cyan ctermbg=DarkGrey cterm=NONE - hi SignifySignAdd ctermfg=Green ctermbg=DarkGrey cterm=NONE - hi SignifySignChange ctermfg=Cyan ctermbg=DarkGrey cterm=NONE - hi SignifySignDelete ctermfg=Red ctermbg=DarkGrey cterm=NONE - hi SyntasticError ctermfg=NONE ctermbg=NONE cterm=underline - hi SyntasticWarning ctermfg=NONE ctermbg=NONE cterm=underline - hi SyntasticErrorSign ctermfg=Red ctermbg=DarkGrey cterm=NONE - hi SyntasticWarningSign ctermfg=Yellow ctermbg=DarkGrey cterm=NONE - hi SignatureMarkText ctermfg=Blue ctermbg=DarkGrey cterm=NONE - hi SignatureMarkerText ctermfg=Magenta ctermbg=DarkGrey cterm=NONE - hi ShowMarksHLl ctermfg=Blue ctermbg=DarkGrey cterm=NONE - hi ShowMarksHLu ctermfg=Blue ctermbg=DarkGrey cterm=NONE - hi ShowMarksHLo ctermfg=Blue ctermbg=DarkGrey cterm=NONE - hi ShowMarksHLm ctermfg=Blue ctermbg=DarkGrey cterm=NONE - hi! link CtrlPMatch Yellow - hi! link CtrlPNoEntries Red - hi CtrlPPrtBase ctermfg=DarkGrey ctermbg=NONE cterm=NONE - hi! link CtrlPPrtCursor Blue - hi CtrlPLinePre ctermfg=DarkGrey ctermbg=NONE cterm=NONE - hi CtrlPMode1 ctermfg=Blue ctermbg=DarkGrey cterm=bold - hi CtrlPMode2 ctermfg=Black ctermbg=Blue cterm=bold - hi CtrlPStats ctermfg=LightGrey ctermbg=DarkGrey cterm=bold - hi StartifySpecial ctermfg=DarkGrey ctermbg=NONE cterm=NONE - hi StartifyFooter ctermfg=DarkGrey ctermbg=NONE cterm=NONE - let g:vimshell_escape_colors = [ - \ '#7c6f64', '#ea6962', '#a9b665', '#e3a84e', - \ '#7daea3', '#d3869b', '#89b482', '#a89984', - \ '#1d2021', '#ea6962', '#a9b665', '#e78a4e', - \ '#7daea3', '#d3869b', '#89b482', '#dfbf8e' - \ ] - hi BufTabLineCurrent ctermfg=Black ctermbg=LightGrey cterm=NONE - hi BufTabLineActive ctermfg=LightGrey ctermbg=DarkGrey cterm=NONE - hi BufTabLineHidden ctermfg=DarkGrey ctermbg=DarkGrey cterm=NONE - hi BufTabLineFill ctermfg=Black ctermbg=Black cterm=NONE - hi ALEError ctermfg=NONE ctermbg=NONE cterm=underline - hi ALEWarning ctermfg=NONE ctermbg=NONE cterm=underline - hi ALEInfo ctermfg=NONE ctermbg=NONE cterm=underline - hi ALEErrorSign ctermfg=Red ctermbg=DarkGrey cterm=NONE - hi ALEWarningSign ctermfg=Yellow ctermbg=DarkGrey cterm=NONE - hi ALEInfoSign ctermfg=Blue ctermbg=DarkGrey cterm=NONE - hi multiple_cursors_cursor ctermfg=NONE ctermbg=NONE cterm=reverse - hi multiple_cursors_visual ctermfg=NONE ctermbg=DarkGrey cterm=NONE - hi CocHighlightText ctermfg=NONE ctermbg=NONE cterm=bold - hi MatchParenCur ctermfg=NONE ctermbg=NONE cterm=bold - hi MatchWord ctermfg=NONE ctermbg=NONE cterm=underline - hi MatchWordCur ctermfg=NONE ctermbg=NONE cterm=underline - unlet s:t_Co s:italics - finish -endif - -if s:t_Co >= 2 - hi Normal term=NONE - hi ColorColumn term=reverse - hi Conceal term=NONE - hi Cursor term=NONE - hi CursorColumn term=reverse - hi CursorLine term=underline - hi CursorLineNr term=bold,italic,reverse,underline - hi DiffAdd term=reverse,underline - hi DiffChange term=reverse,underline - hi DiffDelete term=reverse,underline - hi DiffText term=bold,reverse,underline - hi Directory term=NONE - hi EndOfBuffer term=NONE - hi ErrorMsg term=bold,italic,reverse - hi FoldColumn term=reverse - hi Folded term=italic,reverse,underline - hi IncSearch term=bold,italic,reverse - hi LineNr term=reverse - hi MatchParen term=bold,underline - hi ModeMsg term=NONE - hi MoreMsg term=NONE - hi NonText term=NONE - hi Pmenu term=reverse - hi PmenuSbar term=NONE - hi PmenuSel term=NONE - hi PmenuThumb term=NONE - hi Question term=standout - hi Search term=italic,underline - hi SignColumn term=reverse - hi SpecialKey term=bold - hi SpellBad term=italic,underline - hi SpellCap term=italic,underline - hi SpellLocal term=italic,underline - hi SpellRare term=italic,underline - hi StatusLine term=bold,reverse - hi StatusLineNC term=reverse - hi TabLine term=italic,reverse,underline - hi TabLineFill term=reverse,underline - hi TabLineSel term=bold - hi Title term=bold - hi VertSplit term=reverse - hi Visual term=reverse - hi VisualNOS term=NONE - hi WarningMsg term=standout - hi WildMenu term=bold - hi Comment term=italic - hi Constant term=bold,italic - hi Error term=reverse - hi Identifier term=italic - hi Ignore term=NONE - hi PreProc term=italic - hi Special term=bold,italic - hi Statement term=bold - hi Todo term=bold,underline - hi Type term=bold - hi Underlined term=underline - hi CursorIM term=NONE - hi ToolbarLine term=reverse - hi ToolbarButton term=bold,reverse - if !s:italics - hi CursorLineNr term=bold,reverse,underline - hi ErrorMsg term=bold,reverse - hi Folded term=reverse,underline - hi IncSearch term=bold,reverse - hi Search term=underline - hi SpellBad term=underline - hi SpellCap term=underline - hi SpellLocal term=underline - hi SpellRare term=underline - hi TabLine term=reverse,underline - hi Comment term=NONE - hi Constant term=bold - hi Identifier term=NONE - hi PreProc term=NONE - hi Special term=bold - endif - unlet s:t_Co s:italics - finish -endif - -" Background: dark -" Color: dark0 #1d2021 234 Black -" Color: dark1 #3c3836 237 DarkGrey -" Color: dark2 #504945 239 DarkGrey -" Color: dark3 #665c54 241 DarkGrey -" Color: dark4 #7c6f64 243 DarkGrey -" Color: grey #928374 245 Grey -" Color: lightgrey #a89984 246 LightGrey -" Color: light #dfbf8e 223 White -" Color: red #ea6962 167 Red -" Color: orange #e78a4e 208 DarkYellow -" Color: yellow #e3a84e 214 Yellow -" Color: green #a9b665 142 Green -" Color: aqua #89b482 108 Cyan -" Color: blue #7daea3 109 Blue -" Color: purple #d3869b 175 Magenta -" Term colors: dark3 red green orange blue purple aqua light -" Term colors: grey red green yellow blue purple aqua light -" vim: et ts=2 sw=2 diff --git a/vim/.vim/colors/horizon.vim b/vim/.vim/colors/horizon.vim deleted file mode 100755 index 45f6cd0..0000000 --- a/vim/.vim/colors/horizon.vim +++ /dev/null @@ -1,226 +0,0 @@ -" Name: Horizon -" Description: Template for a dark warm colorscheme -" Author: Kien Nguyen-Tuan -" Maintainer: Kien Nguyen-Tuan -" Website: https://ntk148v.github.io/blog -" License: Vim License (see `:help license`) -" Last Updated: Thứ sáu, 01 Tháng 3 Năm 2019 16:06:23 +07 - -if !(has('termguicolors') && &termguicolors) && !has('gui_running') - \ && (!exists('&t_Co') || &t_Co < 256) - echoerr '[Horizon] There are not enough colors.' - finish -endif - -set background=dark - -hi clear -if exists('syntax_on') - syntax reset -endif - -let g:colors_name = 'horizon' - -hi! ColorColumn cterm=NONE ctermbg=235 guibg=#2e303e -hi! CursorColumn cterm=NONE ctermbg=235 guibg=#2e303e -hi! CursorLine cterm=NONE ctermbg=235 guibg=#2e303e -hi! Comment ctermfg=242 guifg=#6c6f93 -hi! Constant ctermfg=209 guifg=#f09483 -hi! Cursor ctermbg=242 ctermfg=242 guibg=#6c6f93 guifg=#6c6f93 -hi! CursorLineNr ctermbg=235 ctermfg=251 guibg=#2a3158 guifg=#cdd1e6 -hi! Delimiter ctermfg=44 guifg=#21bfc2 -hi! DiffAdd ctermbg=238 ctermfg=7 guibg=#45493e guifg=#c0c5b9 -hi! DiffChange ctermbg=23 ctermfg=241 guibg=#384851 guifg=#b3c3cc -hi! DiffDelete ctermbg=52 ctermfg=167 guibg=#53343b guifg=#ceb0b6 -hi! DiffText cterm=NONE ctermbg=24 ctermfg=233 gui=NONE guibg=#5b7881 guifg=#1c1e26 -hi! Directory ctermfg=203 guifg=#e95678 -hi! Error ctermbg=233 ctermfg=203 guibg=#1c1e26 guifg=#eC6a88 -hi! ErrorMsg ctermbg=233 ctermfg=203 guibg=#1c1e26 guifg=#ec6a88 -hi! WarningMsg ctermbg=233 ctermfg=203 guibg=#1c1e26 guifg=#eC6a88 -hi! EndOfBuffer ctermbg=233 ctermfg=236 guibg=#1c1e26 guifg=#2e303e -hi! NonText ctermbg=233 ctermfg=233 guifg=#2e303e guibg=#1c1e26 -hi! SpecialKey ctermbg=203 ctermfg=235 guibg=#e95678 guifg=#2e303e -hi! Folded ctermbg=233 ctermfg=242 guibg=#1c1e26 guifg=#6c6f93 -hi! FoldColumn ctermbg=233 ctermfg=242 guibg=#1c1e26 guifg=#6c6f93 -hi! Function ctermfg=37 guifg=#25b0bc -hi! Identifier cterm=NONE ctermfg=203 guifg=#e95678 gui=italic -hi! Statement ctermfg=171 gui=NONE guifg=#b877db -hi! Include ctermfg=171 guifg=#b877db -hi! LineNr ctermbg=233 ctermfg=239 guibg=#1c1e26 guifg=#6c6f93 -hi! MatchParen ctermbg=237 ctermfg=255 guibg=#3e445e guifg=#ffffff -hi! MoreMsg ctermfg=48 guifg=#09f7a0 -hi! Normal ctermbg=233 ctermfg=252 guibg=#1c1e26 guifg=#d5d8da -hi! Operator ctermfg=37 guifg=#25b0bc -hi! Pmenu ctermbg=NONE ctermfg=NONE guibg=NONE guifg=#d5d8da -hi! PmenuSbar ctermbg=236 guibg=#3d425b -hi! PmenuSel ctermbg=240 ctermfg=255 guibg=#5b6389 guifg=#eff0f4 -hi! PmenuThumb ctermbg=233 guibg=#1c1e26 -hi! PreProc ctermfg=150 guifg=#09f7a0 -hi! Question ctermfg=150 guifg=#09f7a0 -hi! QuickFixLine ctermbg=233 ctermfg=252 guibg=#272c42 guifg=#1c1e26 -hi! Search ctermbg=216 ctermfg=234 guibg=#e4aa80 guifg=#392313 -hi! SignColumn ctermbg=233 ctermfg=242 guibg=#1c1e26 guifg=#6c6f93 -hi! Special ctermfg=203 guifg=#e95678 -hi! SpellBad ctermbg=95 ctermfg=252 gui=undercurl guisp=#eC6a88 -hi! SpellCap ctermbg=24 ctermfg=252 gui=undercurl guisp=#25b0bc -hi! SpellLocal ctermbg=23 ctermfg=203 gui=undercurl guisp=#e95678 -hi! SpellRare ctermbg=97 ctermfg=252 gui=undercurl guisp=#f09483 -hi! StatusLine cterm=reverse ctermbg=234 ctermfg=245 gui=reverse guibg=#17171b guifg=#818596 term=reverse -hi! StatusLineTerm cterm=reverse ctermbg=234 ctermfg=245 gui=reverse guibg=#17171b guifg=#818596 term=reverse -hi! StatusLineNC cterm=reverse ctermbg=237 ctermfg=233 gui=reverse guibg=#3e445e guifg=#0f1117 -hi! StatusLineTermNC cterm=reverse ctermbg=237 ctermfg=233 gui=reverse guibg=#3e445e guifg=#0f1117 -hi! StorageClass ctermfg=37 guifg=#25b0bc gui=italic -hi! String ctermfg=209 guifg=#fab795 -hi! Structure ctermfg=37 guifg=#25b0bc -hi! TabLine cterm=NONE ctermbg=245 ctermfg=234 gui=NONE guibg=#818596 guifg=#17171b -hi! TabLineFill cterm=reverse ctermbg=234 ctermfg=245 gui=reverse guibg=#17171b guifg=#818596 -hi! TabLineSel cterm=NONE ctermbg=234 ctermfg=247 gui=NONE guibg=#e95678 guifg=#9a9ca5 -hi! Title ctermfg=37 gui=NONE guifg=#25b0bc gui=bold -hi! Todo ctermbg=59 ctermfg=48 guibg=#45493e guifg=#09f7a0 gui=inverse,bold -hi! Type ctermfg=209 gui=NONE guifg=#fab795 -hi! Underlined cterm=underline ctermfg=37 gui=underline guifg=#25b0bc term=underline gui=underline -hi! VertSplit cterm=NONE ctermbg=233 ctermfg=233 guibg=#0f1117 guifg=#0f1117 gui=bold -hi! Visual ctermbg=236 guibg=#272c42 -hi! WildMenu ctermbg=255 ctermfg=234 guibg=#d4d5db guifg=#17171b -hi! diffAdded ctermfg=48 guifg=#09f7a0 -hi! diffRemoved ctermfg=203 guifg=#eC6a88 -hi! ALEErrorSign ctermbg=233 ctermfg=203 guibg=#1c1e26 guifg=#eC6a88 -hi! ALEWarningSign ctermbg=233 ctermfg=209 guibg=#1c1e26 guifg=#fab795 -hi! ALEVirtualTextError ctermfg=203 guifg=#eC6a88 -hi! ALEVirtualTextWarning ctermfg=209 guifg=#fab795 -hi! CtrlPMode1 ctermbg=241 ctermfg=234 guibg=#5a5f72 guifg=#17171b -hi! EasyMotionShade ctermfg=239 guifg=#3d425b -hi! EasyMotionTarget ctermfg=48 guifg=#09f7a0 -hi! EasyMotionTarget2First ctermfg=209 guifg=#fab795 -hi! EasyMotionTarget2Second ctermfg=209 guifg=#fab795 -hi! GitGutterAdd ctermbg=233 ctermfg=48 guibg=#1c1e26 guifg=#09f7a0 -hi! GitGutterChange ctermbg=233 ctermfg=109 guibg=#1c1e26 guifg=#e95678 -hi! GitGutterChangeDelete ctermbg=233 ctermfg=109 guibg=#1c1e26 guifg=#e95678 -hi! GitGutterDelete ctermbg=233 ctermfg=203 guibg=#1c1e26 guifg=#eC6a88 -hi! Sneak ctermbg=140 ctermfg=234 guibg=#f09483 guifg=#e95678 -hi! SneakScope ctermbg=236 ctermfg=242 guibg=#272c42 guifg=#d5d8da -hi! SyntasticErrorSign ctermbg=233 ctermfg=203 guibg=#1c1e26 guifg=#eC6a88 -hi! SyntasticStyleErrorSign ctermbg=233 ctermfg=203 guibg=#1c1e26 guifg=#eC6a88 -hi! SyntasticStyleWarningSign ctermbg=233 ctermfg=209 guibg=#1c1e26 guifg=#fab795 -hi! SyntasticWarningSign ctermbg=233 ctermfg=209 guibg=#1c1e26 guifg=#fab795 -hi! ZenSpace ctermbg=203 guibg=#eC6a88 - -hi! link cssBraces Delimiter -hi! link cssClassName Special -hi! link cssClassNameDot Normal -hi! link cssPseudoClassId Special -hi! link cssTagName Statement -hi! link helpHyperTextJump Constant -hi! link htmlArg Constant -hi! link htmlEndTag Statement -hi! link htmlTag Statement -hi! link jsonQuote Normal -hi! link phpVarSelector Identifier -hi! link pythonFunction Title -hi! link rubyDefine Statement -hi! link rubyFunction Title -hi! link rubyInterpolationDelimiter String -hi! link rubySharpBang Comment -hi! link rubyStringDelimiter String -hi! link sassClass Special -hi! link shFunction Normal -hi! link vimContinue Comment -hi! link vimFuncSID vimFunction -hi! link vimFuncVar Normal -hi! link vimFunction Title -hi! link vimGroup Statement -hi! link vimHiGroup Statement -hi! link vimHiTerm Identifier -hi! link vimMapModKey Special -hi! link vimOption Identifier -hi! link vimVar Normal -hi! link xmlAttrib Constant -hi! link xmlAttribPunct Statement -hi! link xmlEndTag Statement -hi! link xmlNamespace Statement -hi! link xmlTag Statement -hi! link xmlTagName Statement -hi! link yamlKeyValueDelimiter Delimiter -hi! link CtrlPPrtCursor Cursor -hi! link CtrlPMatch Title -hi! link CtrlPMode2 StatusLine -hi! link deniteMatched Normal -hi! link deniteMatchedChar Title -hi! link jsFlowMaybe Normal -hi! link jsFlowObject Normal -hi! link jsFlowType PreProc -hi! link graphqlName Normal -hi! link graphqlOperator Normal -hi! link jsArrowFunction Operator -hi! link jsClassDefinition Normal -hi! link jsClassFuncName Title -hi! link jsExport Statement -hi! link jsFuncName Title -hi! link jsFutureKeys Statement -hi! link jsFuncCall Normal -hi! link jsGlobalObjects Statement -hi! link jsModuleKeywords Statement -hi! link jsModuleOperators Statement -hi! link jsNull Constant -hi! link jsObjectFuncName Title -hi! link jsObjectKey Identifier -hi! link jsSuper Statement -hi! link jsTemplateBraces Special -hi! link jsUndefined Constant -hi! link markdownBold Special -hi! link markdownCode String -hi! link markdownCodeDelimiter String -hi! link markdownHeadingDelimiter Comment -hi! link markdownRule Comment -hi! link ngxDirective Statement -hi! link plug1 Normal -hi! link plug2 Identifier -hi! link plugDash Comment -hi! link plugMessage Special -hi! link SignifySignAdd GitGutterAdd -hi! link SignifySignChange GitGutterChange -hi! link SignifySignChangeDelete GitGutterChangeDelete -hi! link SignifySignDelete GitGutterDelete -hi! link SignifySignDeleteFirstLine SignifySignDelete -hi! link StartifyBracket Comment -hi! link StartifyFile Identifier -hi! link StartifyFooter Constant -hi! link StartifyHeader Constant -hi! link StartifyNumber Special -hi! link StartifyPath Comment -hi! link StartifySection Statement -hi! link StartifySlash Comment -hi! link StartifySpecial Normal -hi! link svssBraces Delimiter -hi! link swiftIdentifier Normal -hi! link typescriptAjaxMethods Normal -hi! link typescriptBraces Normal -hi! link typescriptEndColons Normal -hi! link typescriptFuncKeyword Statement -hi! link typescriptGlobalObjects Statement -hi! link typescriptHtmlElemProperties Normal -hi! link typescriptIdentifier Statement -hi! link typescriptMessage Normal -hi! link typescriptNull Constant -hi! link typescriptParens Normal - -if has('nvim') - let g:terminal_color_0 = '#1c1e26' - let g:terminal_color_1 = '#eC6a88' - let g:terminal_color_2 = '#09f7a0' - let g:terminal_color_3 = '#fab795' - let g:terminal_color_4 = '#25b0bc' - let g:terminal_color_5 = '#f09483' - let g:terminal_color_6 = '#e95678' - let g:terminal_color_7 = '#1c1e26' - let g:terminal_color_8 = '#d5d8da' - let g:terminal_color_9 = '#ec6a88' - let g:terminal_color_10 = '#6bdfe6' - let g:terminal_color_11 = '#fab38e' - let g:terminal_color_12 = '#21bfc2' - let g:terminal_color_13 = '#b877db' - let g:terminal_color_14 = '#95c4ce' - let g:terminal_color_15 = '#d2d4de' -else - let g:terminal_ansi_colors = ['#1c1e26', '#eC6a88', '#09f7a0', '#fab795', '#25b0bc', '#f09483', '#e95678', '#1c1e26', '#d5d8da', '#ec6a88', '#6bdfe6', '#fab38e', '#21bfc2', '#b877db', '#95c4ce', '#d2d4de'] -endif diff --git a/vim/.vim/colors/miramare.vim b/vim/.vim/colors/miramare.vim deleted file mode 100644 index d1a1725..0000000 --- a/vim/.vim/colors/miramare.vim +++ /dev/null @@ -1,1753 +0,0 @@ -" ----------------------------------------------------------------------------- -" Name: Miramare -" Description: Comfortable & Pleasant Color Scheme for Vim -" Author: Francisco Bach -" Website: https://github.com/franbach/miramare -" License: MIT -" ----------------------------------------------------------------------------- - -" Initialization: {{{ -highlight clear -if exists('syntax_on') - syntax reset -endif -set background=dark - -let s:t_Co = exists('&t_Co') && !empty(&t_Co) && &t_Co > 1 ? &t_Co : 2 - -let g:colors_name = 'miramare' -" }}} -" Configuration: {{{ -let s:configuration = {} -let s:configuration.palette = get(g:, 'miramare_palette', 'soft') -let s:configuration.transparent_background = get(g:, 'miramare_transparent_background', 0) -let s:configuration.disable_italic_comment = get(g:, 'miramare_disable_italic_comment', 0) -let s:configuration.enable_italic = get(g:, 'miramare_enable_italic', 0) -let s:configuration.cursor = get(g:, 'miramare_cursor', 'auto') -let s:configuration.current_word = get(g:, 'miramare_current_word', get(g:, 'miramare_transparent_background', 0) == 0 ? 'grey background' : 'bold') -" }}} -" Palette: {{{ -let s:palette = { - \ 'bg0': ['#2A2426', '235', 'Black'], - \ 'bg1': ['#242021', '236', 'DarkGrey'], - \ 'bg2': ['#242021', '237', 'DarkGrey'], - \ 'bg3': ['#242021', '238', 'DarkGrey'], - \ 'bg4': ['#242021', '239', 'Grey'], - \ 'bg_red': ['#392f32', '52', 'DarkRed'], - \ 'bg_green': ['#333b2f', '22', 'DarkGreen'], - \ 'bg_blue': ['#203a41', '17', 'DarkBlue'], - \ 'fg': ['#e6d6ac', '223', 'White'], - \ 'red': ['#e68183', '167', 'Red'], - \ 'orange': ['#e39b7b', '208', 'Red'], - \ 'yellow': ['#d9bb80', '214', 'Yellow'], - \ 'green': ['#a7c080', '142', 'Green'], - \ 'cyan': ['#87c095', '108', 'Cyan'], - \ 'blue': ['#89beba', '109', 'Blue'], - \ 'purple': ['#d3a0bc', '175', 'Magenta'], - \ 'grey': ['#444444', '245', 'LightGrey'], - \ 'none': ['NONE', 'NONE', 'NONE'] - \ } -" }}} -" Function: {{{ -" call s:HL(group, foreground, background) -" call s:HL(group, foreground, background, gui, guisp) -" -" E.g.: -" call s:HL('Normal', s:palette.fg, s:palette.bg0) - -if (has('termguicolors') && &termguicolors) || has('gui_running') " guifg guibg gui cterm guisp - function! s:HL(group, fg, bg, ...) - let hl_string = [ - \ 'highlight', a:group, - \ 'guifg=' . a:fg[0], - \ 'guibg=' . a:bg[0], - \ ] - if a:0 >= 1 - if a:1 ==# 'undercurl' - call add(hl_string, 'gui=undercurl') - call add(hl_string, 'cterm=underline') - else - call add(hl_string, 'gui=' . a:1) - call add(hl_string, 'cterm=' . a:1) - endif - else - call add(hl_string, 'gui=NONE') - call add(hl_string, 'cterm=NONE') - endif - if a:0 >= 2 - call add(hl_string, 'guisp=' . a:2[0]) - endif - execute join(hl_string, ' ') - endfunction -elseif s:t_Co >= 256 " ctermfg ctermbg cterm - function! s:HL(group, fg, bg, ...) - let hl_string = [ - \ 'highlight', a:group, - \ 'ctermfg=' . a:fg[1], - \ 'ctermbg=' . a:bg[1], - \ ] - if a:0 >= 1 - if a:1 ==# 'undercurl' - call add(hl_string, 'cterm=underline') - else - call add(hl_string, 'cterm=' . a:1) - endif - else - call add(hl_string, 'cterm=NONE') - endif - execute join(hl_string, ' ') - endfunction -else " ctermfg ctermbg cterm - function! s:HL(group, fg, bg, ...) - let hl_string = [ - \ 'highlight', a:group, - \ 'ctermfg=' . a:fg[2], - \ 'ctermbg=' . a:bg[2], - \ ] - if a:0 >= 1 - if a:1 ==# 'undercurl' - call add(hl_string, 'cterm=underline') - else - call add(hl_string, 'cterm=' . a:1) - endif - else - call add(hl_string, 'cterm=NONE') - endif - execute join(hl_string, ' ') - endfunction -endif -" }}} - -" Common Highlight Groups: {{{ -" UI: {{{ -if s:configuration.transparent_background - call s:HL('Normal', s:palette.fg, s:palette.none) - call s:HL('Terminal', s:palette.fg, s:palette.none) - call s:HL('EndOfBuffer', s:palette.bg0, s:palette.none) - call s:HL('FoldColumn', s:palette.grey, s:palette.none) - call s:HL('Folded', s:palette.grey, s:palette.none) - call s:HL('SignColumn', s:palette.fg, s:palette.none) -else - call s:HL('Normal', s:palette.fg, s:palette.bg0) - call s:HL('Terminal', s:palette.fg, s:palette.bg0) - call s:HL('EndOfBuffer', s:palette.bg0, s:palette.bg0) - call s:HL('FoldColumn', s:palette.grey, s:palette.bg1) - call s:HL('Folded', s:palette.grey, s:palette.bg1) - call s:HL('SignColumn', s:palette.fg, s:palette.bg1) -endif -call s:HL('ColorColumn', s:palette.none, s:palette.bg1) -call s:HL('Conceal', s:palette.grey, s:palette.none) -if s:configuration.cursor ==# 'auto' - call s:HL('Cursor', s:palette.none, s:palette.none, 'reverse') - call s:HL('lCursor', s:palette.none, s:palette.none, 'reverse') -elseif s:configuration.cursor ==# 'red' - call s:HL('Cursor', s:palette.bg0, s:palette.red) - call s:HL('lCursor', s:palette.bg0, s:palette.red) -elseif s:configuration.cursor ==# 'green' - call s:HL('Cursor', s:palette.bg0, s:palette.green) - call s:HL('lCursor', s:palette.bg0, s:palette.green) -elseif s:configuration.cursor ==# 'blue' - call s:HL('Cursor', s:palette.bg0, s:palette.blue) - call s:HL('lCursor', s:palette.bg0, s:palette.blue) -elseif s:configuration.cursor ==# 'purple' - call s:HL('Cursor', s:palette.bg0, s:palette.purple) - call s:HL('lCursor', s:palette.bg0, s:palette.purple) -endif -call s:HL('CursorColumn', s:palette.none, s:palette.bg1) -call s:HL('CursorLine', s:palette.none, s:palette.bg1) -call s:HL('LineNr', s:palette.grey, s:palette.none) -if &relativenumber == 1 && &cursorline == 0 - call s:HL('CursorLineNr', s:palette.fg, s:palette.none) -else - call s:HL('CursorLineNr', s:palette.fg, s:palette.bg1) -endif -call s:HL('DiffAdd', s:palette.none, s:palette.bg_green) -call s:HL('DiffChange', s:palette.none, s:palette.bg_blue) -call s:HL('DiffDelete', s:palette.none, s:palette.bg_red) -call s:HL('DiffText', s:palette.none, s:palette.bg0, 'reverse') -call s:HL('Directory', s:palette.green, s:palette.none) -call s:HL('ErrorMsg', s:palette.red, s:palette.none, 'bold,underline') -call s:HL('WarningMsg', s:palette.yellow, s:palette.none, 'bold') -call s:HL('ModeMsg', s:palette.fg, s:palette.none, 'bold') -call s:HL('MoreMsg', s:palette.blue, s:palette.none, 'bold') -call s:HL('IncSearch', s:palette.none, s:palette.none, 'reverse') -call s:HL('Search', s:palette.none, s:palette.bg3) -call s:HL('MatchParen', s:palette.none, s:palette.bg4) -call s:HL('NonText', s:palette.grey, s:palette.none) -call s:HL('Pmenu', s:palette.fg, s:palette.bg2) -call s:HL('PmenuSbar', s:palette.none, s:palette.bg2) -call s:HL('PmenuThumb', s:palette.none, s:palette.grey) -call s:HL('PmenuSel', s:palette.bg0, s:palette.fg) -call s:HL('WildMenu', s:palette.bg0, s:palette.fg) -call s:HL('Question', s:palette.yellow, s:palette.none) -call s:HL('SpellBad', s:palette.red, s:palette.none, 'undercurl', s:palette.red) -call s:HL('SpellCap', s:palette.yellow, s:palette.none, 'undercurl', s:palette.yellow) -call s:HL('SpellLocal', s:palette.blue, s:palette.none, 'undercurl', s:palette.blue) -call s:HL('SpellRare', s:palette.purple, s:palette.none, 'undercurl', s:palette.purple) -call s:HL('StatusLine', s:palette.fg, s:palette.bg3) -call s:HL('StatusLineTerm', s:palette.fg, s:palette.bg3) -call s:HL('StatusLineNC', s:palette.grey, s:palette.bg1) -call s:HL('StatusLineTermNC', s:palette.grey, s:palette.bg1) -call s:HL('TabLine', s:palette.fg, s:palette.bg4) -call s:HL('TabLineFill', s:palette.grey, s:palette.bg1) -call s:HL('TabLineSel', s:palette.bg0, s:palette.green) -call s:HL('VertSplit', s:palette.bg4, s:palette.none) -call s:HL('Visual', s:palette.none, s:palette.bg3) -call s:HL('VisualNOS', s:palette.none, s:palette.bg3, 'underline') -call s:HL('CursorIM', s:palette.none, s:palette.fg) -call s:HL('ToolbarLine', s:palette.none, s:palette.grey) -call s:HL('ToolbarButton', s:palette.fg, s:palette.bg0, 'bold') -call s:HL('QuickFixLine', s:palette.blue, s:palette.bg1) -call s:HL('Debug', s:palette.yellow, s:palette.none) -" }}} -" Syntax: {{{ -call s:HL('Boolean', s:palette.purple, s:palette.none) -call s:HL('Number', s:palette.purple, s:palette.none) -call s:HL('Float', s:palette.purple, s:palette.none) -if s:configuration.enable_italic - call s:HL('PreProc', s:palette.purple, s:palette.none, 'italic') - call s:HL('PreCondit', s:palette.purple, s:palette.none, 'italic') - call s:HL('Include', s:palette.purple, s:palette.none, 'italic') - call s:HL('Define', s:palette.purple, s:palette.none, 'italic') - call s:HL('Conditional', s:palette.red, s:palette.none, 'bold,italic') - call s:HL('Repeat', s:palette.red, s:palette.none, 'italic') - call s:HL('Keyword', s:palette.red, s:palette.none, 'italic') - call s:HL('Typedef', s:palette.red, s:palette.none, 'italic') - call s:HL('Exception', s:palette.red, s:palette.none, 'italic') - call s:HL('Statement', s:palette.red, s:palette.none, 'italic') -else - call s:HL('PreProc', s:palette.purple, s:palette.none) - call s:HL('PreCondit', s:palette.purple, s:palette.none) - call s:HL('Include', s:palette.purple, s:palette.none) - call s:HL('Define', s:palette.purple, s:palette.none) - call s:HL('Conditional', s:palette.red, s:palette.none) - call s:HL('Repeat', s:palette.red, s:palette.none) - call s:HL('Keyword', s:palette.red, s:palette.none) - call s:HL('Typedef', s:palette.red, s:palette.none) - call s:HL('Exception', s:palette.red, s:palette.none) - call s:HL('Statement', s:palette.red, s:palette.none) -endif -call s:HL('Error', s:palette.red, s:palette.none) -call s:HL('StorageClass', s:palette.orange, s:palette.none, 'bold') -call s:HL('Tag', s:palette.orange, s:palette.none) -call s:HL('Label', s:palette.orange, s:palette.none) -call s:HL('Structure', s:palette.orange, s:palette.none) -call s:HL('Operator', s:palette.orange, s:palette.none) -call s:HL('Title', s:palette.orange, s:palette.none, 'bold') -call s:HL('Special', s:palette.yellow, s:palette.none) -call s:HL('SpecialChar', s:palette.yellow, s:palette.none) -call s:HL('Type', s:palette.yellow, s:palette.none, 'bold') -call s:HL('Function', s:palette.green, s:palette.none, 'bold') -call s:HL('String', s:palette.green, s:palette.none) -call s:HL('Character', s:palette.green, s:palette.none) -call s:HL('Constant', s:palette.cyan, s:palette.none, 'bold') -call s:HL('Macro', s:palette.cyan, s:palette.none) -call s:HL('Identifier', s:palette.blue, s:palette.none) -call s:HL('SpecialKey', s:palette.blue, s:palette.none) -if s:configuration.disable_italic_comment - call s:HL('Comment', s:palette.grey, s:palette.none) - call s:HL('SpecialComment', s:palette.grey, s:palette.none) - call s:HL('Todo', s:palette.purple, s:palette.none) -else - call s:HL('Comment', s:palette.grey, s:palette.none, 'italic') - call s:HL('SpecialComment', s:palette.grey, s:palette.none, 'italic') - call s:HL('Todo', s:palette.purple, s:palette.none, 'italic') -endif -call s:HL('Delimiter', s:palette.fg, s:palette.none) -call s:HL('Ignore', s:palette.grey, s:palette.none) -call s:HL('Underlined', s:palette.none, s:palette.none, 'underline') -" }}} -" Predefined Highlight Groups: {{{ -call s:HL('Fg', s:palette.fg, s:palette.none) -call s:HL('Grey', s:palette.grey, s:palette.none) -call s:HL('Yellow', s:palette.yellow, s:palette.none) -call s:HL('Blue', s:palette.blue, s:palette.none) -if s:configuration.enable_italic - call s:HL('RedItalic', s:palette.red, s:palette.none, 'italic') - call s:HL('OrangeItalic', s:palette.orange, s:palette.none, 'italic') - call s:HL('PurpleItalic', s:palette.purple, s:palette.none, 'italic') -else - call s:HL('RedItalic', s:palette.red, s:palette.none) - call s:HL('OrangeItalic', s:palette.orange, s:palette.none) - call s:HL('PurpleItalic', s:palette.purple, s:palette.none) -endif -call s:HL('Red', s:palette.red, s:palette.none) -call s:HL('Orange', s:palette.orange, s:palette.none) -call s:HL('Purple', s:palette.purple, s:palette.none) -call s:HL('Green', s:palette.green, s:palette.none) -call s:HL('Cyan', s:palette.cyan, s:palette.none) -if s:configuration.transparent_background - call s:HL('RedSign', s:palette.red, s:palette.none) - call s:HL('OrangeSign', s:palette.orange, s:palette.none) - call s:HL('YellowSign', s:palette.yellow, s:palette.none) - call s:HL('GreenSign', s:palette.green, s:palette.none) - call s:HL('CyanSign', s:palette.cyan, s:palette.none) - call s:HL('BlueSign', s:palette.blue, s:palette.none) - call s:HL('PurpleSign', s:palette.purple, s:palette.none) -else - call s:HL('RedSign', s:palette.red, s:palette.bg1) - call s:HL('OrangeSign', s:palette.orange, s:palette.bg1) - call s:HL('YellowSign', s:palette.yellow, s:palette.bg1) - call s:HL('GreenSign', s:palette.green, s:palette.bg1) - call s:HL('CyanSign', s:palette.cyan, s:palette.bg1) - call s:HL('BlueSign', s:palette.blue, s:palette.bg1) - call s:HL('PurpleSign', s:palette.purple, s:palette.bg1) -endif -" }}} -" }}} -" Extended File Types: {{{ -" Markdown: {{{ -" builtin: {{{ -call s:HL('markdownH1', s:palette.red, s:palette.none, 'bold') -call s:HL('markdownH2', s:palette.orange, s:palette.none, 'bold') -call s:HL('markdownH3', s:palette.yellow, s:palette.none, 'bold') -call s:HL('markdownH4', s:palette.green, s:palette.none, 'bold') -call s:HL('markdownH5', s:palette.blue, s:palette.none, 'bold') -call s:HL('markdownH6', s:palette.purple, s:palette.none, 'bold') -call s:HL('markdownUrl', s:palette.blue, s:palette.none, 'underline') -call s:HL('markdownItalic', s:palette.none, s:palette.none, 'italic') -call s:HL('markdownBold', s:palette.none, s:palette.none, 'bold') -call s:HL('markdownItalicDelimiter', s:palette.grey, s:palette.none, 'italic') -highlight! link markdownCode Green -highlight! link markdownCodeBlock Cyan -highlight! link markdownCodeDelimiter Cyan -highlight! link markdownBlockquote Grey -highlight! link markdownListMarker Red -highlight! link markdownOrderedListMarker Red -highlight! link markdownRule Purple -highlight! link markdownHeadingRule Grey -highlight! link markdownUrlDelimiter Grey -highlight! link markdownLinkDelimiter Grey -highlight! link markdownLinkTextDelimiter Grey -highlight! link markdownHeadingDelimiter Grey -highlight! link markdownLinkText Purple -highlight! link markdownUrlTitleDelimiter Green -highlight! link markdownIdDeclaration markdownLinkText -highlight! link markdownBoldDelimiter Grey -highlight! link markdownId Yellow -" }}} -" vim-markdown: https://github.com/gabrielelana/vim-markdown{{{ -call s:HL('mkdURL', s:palette.blue, s:palette.none, 'underline') -call s:HL('mkdInlineURL', s:palette.purple, s:palette.none, 'underline') -call s:HL('mkdItalic', s:palette.grey, s:palette.none, 'italic') -highlight! link mkdCodeDelimiter Cyan -highlight! link mkdBold Grey -highlight! link mkdLink Purple -highlight! link mkdHeading Grey -highlight! link mkdListItem Red -highlight! link mkdRule Purple -highlight! link mkdDelimiter Grey -highlight! link mkdId Yellow -" }}} -" }}} -" ReStructuredText: {{{ -" builtin: https://github.com/marshallward/vim-restructuredtext{{{ -call s:HL('rstStandaloneHyperlink', s:palette.purple, s:palette.none, 'underline') -highlight! link rstSubstitutionReference Blue -highlight! link rstInterpretedTextOrHyperlinkReference Cyan -highlight! link rstTableLines Grey -" }}} -" }}} -" LaTex: {{{ -" builtin: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX{{{ -highlight! link texStatement Green -highlight! link texOnlyMath Grey -highlight! link texDefName Yellow -highlight! link texNewCmd Orange -highlight! link texCmdName Blue -highlight! link texBeginEnd Red -highlight! link texBeginEndName Blue -highlight! link texDocType Purple -highlight! link texDocTypeArgs Orange -" }}} -" }}} -" Html: {{{ -" builtin: https://notabug.org/jorgesumle/vim-html-syntax{{{ -call s:HL('htmlH1', s:palette.red, s:palette.none, 'bold') -call s:HL('htmlH2', s:palette.orange, s:palette.none, 'bold') -call s:HL('htmlH3', s:palette.yellow, s:palette.none, 'bold') -call s:HL('htmlH4', s:palette.green, s:palette.none, 'bold') -call s:HL('htmlH5', s:palette.blue, s:palette.none, 'bold') -call s:HL('htmlH6', s:palette.purple, s:palette.none, 'bold') -call s:HL('htmlLink', s:palette.none, s:palette.none, 'underline') -call s:HL('htmlBold', s:palette.none, s:palette.none, 'bold') -call s:HL('htmlBoldUnderline', s:palette.none, s:palette.none, 'bold,underline') -call s:HL('htmlBoldItalic', s:palette.none, s:palette.none, 'bold,italic') -call s:HL('htmlBoldUnderlineItalic', s:palette.none, s:palette.none, 'bold,underline,italic') -call s:HL('htmlUnderline', s:palette.none, s:palette.none, 'underline') -call s:HL('htmlUnderlineItalic', s:palette.none, s:palette.none, 'underline,italic') -call s:HL('htmlItalic', s:palette.none, s:palette.none, 'italic') -highlight! link htmlTag Green -highlight! link htmlEndTag Blue -highlight! link htmlTagN OrangeItalic -highlight! link htmlTagName OrangeItalic -highlight! link htmlArg Cyan -highlight! link htmlScriptTag Purple -highlight! link htmlSpecialTagName RedItalic -" }}} -" }}} -" Xml: {{{ -" builtin: https://github.com/chrisbra/vim-xml-ftplugin{{{ -highlight! link xmlTag Green -highlight! link xmlEndTag Blue -highlight! link xmlTagName OrangeItalic -highlight! link xmlEqual Orange -highlight! link xmlAttrib Cyan -highlight! link xmlEntity Red -highlight! link xmlEntityPunct Red -highlight! link xmlDocTypeDecl Grey -highlight! link xmlDocTypeKeyword PurpleItalic -highlight! link xmlCdataStart Grey -highlight! link xmlCdataCdata Purple -" }}} -" }}} -" CSS: {{{ -" builtin: https://github.com/JulesWang/css.vim{{{ -highlight! link cssAttrComma Fg -highlight! link cssBraces Fg -highlight! link cssTagName PurpleItalic -highlight! link cssClassNameDot Red -highlight! link cssClassName RedItalic -highlight! link cssFunctionName Yellow -highlight! link cssAttr Orange -highlight! link cssProp Cyan -highlight! link cssCommonAttr Yellow -highlight! link cssPseudoClassId Blue -highlight! link cssPseudoClassFn Green -highlight! link cssPseudoClass Purple -highlight! link cssImportant RedItalic -highlight! link cssSelectorOp Orange -highlight! link cssSelectorOp2 Orange -highlight! link cssColor Green -highlight! link cssAttributeSelector Cyan -highlight! link cssUnitDecorators Orange -highlight! link cssValueLength Green -highlight! link cssValueInteger Green -highlight! link cssValueNumber Green -highlight! link cssValueAngle Green -highlight! link cssValueTime Green -highlight! link cssValueFrequency Green -highlight! link cssVendor Grey -highlight! link cssNoise Grey -" }}} -" }}} -" SASS: {{{ -" builtin: {{{ -highlight! link sassProperty Cyan -highlight! link sassAmpersand Orange -highlight! link sassClass RedItalic -highlight! link sassClassChar Red -highlight! link sassMixing PurpleItalic -highlight! link sassMixinName Orange -highlight! link sassCssAttribute Yellow -highlight! link sassInterpolationDelimiter Green -highlight! link sassFunction Yellow -highlight! link sassControl RedItalic -highlight! link sassFor RedItalic -highlight! link sassFunctionName Green -" }}} -" scss-syntax: https://github.com/cakebaker/scss-syntax.vim{{{ -highlight! link scssMixinName Yellow -highlight! link scssSelectorChar Red -highlight! link scssSelectorName RedItalic -highlight! link scssInterpolationDelimiter Green -highlight! link scssVariableValue Green -highlight! link scssNull Purple -highlight! link scssBoolean Purple -highlight! link scssVariableAssignment Grey -highlight! link scssForKeyword PurpleItalic -highlight! link scssAttribute Orange -highlight! link scssFunctionName Yellow -" }}} -" }}} -" LESS: {{{ -" vim-less: https://github.com/groenewege/vim-less{{{ -highlight! link lessMixinChar Grey -highlight! link lessClass RedItalic -highlight! link lessVariable Blue -highlight! link lessAmpersandChar Orange -highlight! link lessFunction Yellow -" }}} -" }}} -" JavaScript: {{{ -" builtin: http://www.fleiner.com/vim/syntax/javascript.vim{{{ -highlight! link javaScriptNull Cyan -highlight! link javaScriptIdentifier Orange -highlight! link javaScriptParens Fg -highlight! link javaScriptBraces Fg -highlight! link javaScriptGlobal Purple -highlight! link javaScriptMessage Yellow -highlight! link javaScriptFunction RedItalic -highlight! link javaScriptOperator Orange -highlight! link javaScriptMember Cyan -" }}} -" vim-javascript: https://github.com/pangloss/vim-javascript{{{ -highlight! link jsThis Purple -highlight! link jsUndefined Cyan -highlight! link jsNull Cyan -highlight! link jsNan Cyan -highlight! link jsSuper Purple -highlight! link jsPrototype Purple -highlight! link jsFunction RedItalic -highlight! link jsGlobalNodeObjects PurpleItalic -highlight! link jsGlobalObjects Yellow -highlight! link jsArrowFunction Purple -highlight! link jsArrowFuncArgs Blue -highlight! link jsFuncArgs Blue -highlight! link jsObjectProp Cyan -highlight! link jsVariableDef Blue -highlight! link jsObjectKey Cyan -highlight! link jsParen Blue -highlight! link jsParenIfElse Blue -highlight! link jsParenRepeat Blue -highlight! link jsParenSwitch Blue -highlight! link jsParenCatch Blue -highlight! link jsBracket Blue -highlight! link jsBlockLabel Cyan -highlight! link jsFunctionKey Green -highlight! link jsClassDefinition Yellow -highlight! link jsDot Grey -highlight! link jsDestructuringBlock Blue -highlight! link jsSpreadExpression Purple -highlight! link jsSpreadOperator Green -highlight! link jsModuleKeyword Yellow -highlight! link jsObjectValue Blue -highlight! link jsTemplateExpression Yellow -highlight! link jsTemplateBraces Yellow -highlight! link jsClassMethodType Orange -" }}} -" yajs: https://github.com/othree/yajs.vim{{{ -highlight! link javascriptEndColons Fg -highlight! link javascriptOpSymbol Orange -highlight! link javascriptOpSymbols Orange -highlight! link javascriptIdentifierName Blue -highlight! link javascriptVariable Orange -highlight! link javascriptObjectLabel Cyan -highlight! link javascriptObjectLabelColon Grey -highlight! link javascriptPropertyNameString Cyan -highlight! link javascriptFuncArg Blue -highlight! link javascriptIdentifier Purple -highlight! link javascriptArrowFunc Purple -highlight! link javascriptTemplate Yellow -highlight! link javascriptTemplateSubstitution Yellow -highlight! link javascriptTemplateSB Yellow -highlight! link javascriptNodeGlobal PurpleItalic -highlight! link javascriptDocTags PurpleItalic -highlight! link javascriptDocNotation Purple -highlight! link javascriptClassSuper Purple -highlight! link javascriptClassName Yellow -highlight! link javascriptClassSuperName Yellow -highlight! link javascriptBrackets Fg -highlight! link javascriptBraces Fg -highlight! link javascriptLabel Purple -highlight! link javascriptDotNotation Grey -highlight! link javascriptGlobalArrayDot Grey -highlight! link javascriptGlobalBigIntDot Grey -highlight! link javascriptGlobalDateDot Grey -highlight! link javascriptGlobalJSONDot Grey -highlight! link javascriptGlobalMathDot Grey -highlight! link javascriptGlobalNumberDot Grey -highlight! link javascriptGlobalObjectDot Grey -highlight! link javascriptGlobalPromiseDot Grey -highlight! link javascriptGlobalRegExpDot Grey -highlight! link javascriptGlobalStringDot Grey -highlight! link javascriptGlobalSymbolDot Grey -highlight! link javascriptGlobalURLDot Grey -highlight! link javascriptMethod Green -highlight! link javascriptMethodName Green -highlight! link javascriptObjectMethodName Green -highlight! link javascriptGlobalMethod Green -highlight! link javascriptDOMStorageMethod Green -highlight! link javascriptFileMethod Green -highlight! link javascriptFileReaderMethod Green -highlight! link javascriptFileListMethod Green -highlight! link javascriptBlobMethod Green -highlight! link javascriptURLStaticMethod Green -highlight! link javascriptNumberStaticMethod Green -highlight! link javascriptNumberMethod Green -highlight! link javascriptDOMNodeMethod Green -highlight! link javascriptES6BigIntStaticMethod Green -highlight! link javascriptBOMWindowMethod Green -highlight! link javascriptHeadersMethod Green -highlight! link javascriptRequestMethod Green -highlight! link javascriptResponseMethod Green -highlight! link javascriptES6SetMethod Green -highlight! link javascriptReflectMethod Green -highlight! link javascriptPaymentMethod Green -highlight! link javascriptPaymentResponseMethod Green -highlight! link javascriptTypedArrayStaticMethod Green -highlight! link javascriptGeolocationMethod Green -highlight! link javascriptES6MapMethod Green -highlight! link javascriptServiceWorkerMethod Green -highlight! link javascriptCacheMethod Green -highlight! link javascriptFunctionMethod Green -highlight! link javascriptXHRMethod Green -highlight! link javascriptBOMNavigatorMethod Green -highlight! link javascriptServiceWorkerMethod Green -highlight! link javascriptDOMEventTargetMethod Green -highlight! link javascriptDOMEventMethod Green -highlight! link javascriptIntlMethod Green -highlight! link javascriptDOMDocMethod Green -highlight! link javascriptStringStaticMethod Green -highlight! link javascriptStringMethod Green -highlight! link javascriptSymbolStaticMethod Green -highlight! link javascriptRegExpMethod Green -highlight! link javascriptObjectStaticMethod Green -highlight! link javascriptObjectMethod Green -highlight! link javascriptBOMLocationMethod Green -highlight! link javascriptJSONStaticMethod Green -highlight! link javascriptGeneratorMethod Green -highlight! link javascriptEncodingMethod Green -highlight! link javascriptPromiseStaticMethod Green -highlight! link javascriptPromiseMethod Green -highlight! link javascriptBOMHistoryMethod Green -highlight! link javascriptDOMFormMethod Green -highlight! link javascriptClipboardMethod Green -highlight! link javascriptTypedArrayStaticMethod Green -highlight! link javascriptBroadcastMethod Green -highlight! link javascriptDateStaticMethod Green -highlight! link javascriptDateMethod Green -highlight! link javascriptConsoleMethod Green -highlight! link javascriptArrayStaticMethod Green -highlight! link javascriptArrayMethod Green -highlight! link javascriptMathStaticMethod Green -highlight! link javascriptSubtleCryptoMethod Green -highlight! link javascriptCryptoMethod Green -highlight! link javascriptProp Cyan -highlight! link javascriptBOMWindowProp Cyan -highlight! link javascriptDOMStorageProp Cyan -highlight! link javascriptFileReaderProp Cyan -highlight! link javascriptURLUtilsProp Cyan -highlight! link javascriptNumberStaticProp Cyan -highlight! link javascriptDOMNodeProp Cyan -highlight! link javascriptRequestProp Cyan -highlight! link javascriptResponseProp Cyan -highlight! link javascriptES6SetProp Cyan -highlight! link javascriptPaymentProp Cyan -highlight! link javascriptPaymentResponseProp Cyan -highlight! link javascriptPaymentAddressProp Cyan -highlight! link javascriptPaymentShippingOptionProp Cyan -highlight! link javascriptTypedArrayStaticProp Cyan -highlight! link javascriptServiceWorkerProp Cyan -highlight! link javascriptES6MapProp Cyan -highlight! link javascriptRegExpStaticProp Cyan -highlight! link javascriptRegExpProp Cyan -highlight! link javascriptXHRProp Cyan -highlight! link javascriptBOMNavigatorProp Green -highlight! link javascriptDOMEventProp Cyan -highlight! link javascriptBOMNetworkProp Cyan -highlight! link javascriptDOMDocProp Cyan -highlight! link javascriptSymbolStaticProp Cyan -highlight! link javascriptSymbolProp Cyan -highlight! link javascriptBOMLocationProp Cyan -highlight! link javascriptEncodingProp Cyan -highlight! link javascriptCryptoProp Cyan -highlight! link javascriptBOMHistoryProp Cyan -highlight! link javascriptDOMFormProp Cyan -highlight! link javascriptDataViewProp Cyan -highlight! link javascriptBroadcastProp Cyan -highlight! link javascriptMathStaticProp Cyan -" }}} -" }}} -" JavaScript React: {{{ -" vim-jsx-pretty: https://github.com/maxmellon/vim-jsx-pretty{{{ -highlight! link jsxTagName OrangeItalic -highlight! link jsxOpenPunct Green -highlight! link jsxClosePunct Blue -highlight! link jsxEscapeJs Blue -highlight! link jsxAttrib Cyan -" }}} -" }}} -" TypeScript: {{{ -" vim-typescript: https://github.com/leafgarland/typescript-vim{{{ -highlight! link typescriptSource PurpleItalic -highlight! link typescriptMessage Yellow -highlight! link typescriptGlobalObjects Cyan -highlight! link typescriptInterpolation Yellow -highlight! link typescriptInterpolationDelimiter Yellow -highlight! link typescriptBraces Fg -highlight! link typescriptParens Fg -" }}} -" yats: https:github.com/HerringtonDarkholme/yats.vim{{{ -highlight! link typescriptMethodAccessor OrangeItalic -highlight! link typescriptVariable Orange -highlight! link typescriptVariableDeclaration Blue -highlight! link typescriptTypeReference Yellow -highlight! link typescriptBraces Fg -highlight! link typescriptEnumKeyword RedItalic -highlight! link typescriptEnum Yellow -highlight! link typescriptIdentifierName Cyan -highlight! link typescriptProp Cyan -highlight! link typescriptCall Blue -highlight! link typescriptInterfaceName Yellow -highlight! link typescriptEndColons Fg -highlight! link typescriptMember Cyan -highlight! link typescriptMemberOptionality Orange -highlight! link typescriptObjectLabel Cyan -highlight! link typescriptArrowFunc Purple -highlight! link typescriptAbstract Orange -highlight! link typescriptObjectColon Grey -highlight! link typescriptTypeAnnotation Grey -highlight! link typescriptAssign Orange -highlight! link typescriptBinaryOp Orange -highlight! link typescriptUnaryOp Orange -highlight! link typescriptFuncComma Fg -highlight! link typescriptClassName Yellow -highlight! link typescriptClassHeritage Yellow -highlight! link typescriptInterfaceHeritage Yellow -highlight! link typescriptIdentifier Purple -highlight! link typescriptGlobal Purple -highlight! link typescriptOperator RedItalic -highlight! link typescriptNodeGlobal PurpleItalic -highlight! link typescriptExport PurpleItalic -highlight! link typescriptDefaultParam Orange -highlight! link typescriptImport PurpleItalic -highlight! link typescriptTypeParameter Yellow -highlight! link typescriptReadonlyModifier Orange -highlight! link typescriptAccessibilityModifier Orange -highlight! link typescriptAmbientDeclaration RedItalic -highlight! link typescriptTemplateSubstitution Yellow -highlight! link typescriptTemplateSB Yellow -highlight! link typescriptExceptions RedItalic -highlight! link typescriptCastKeyword RedItalic -highlight! link typescriptOptionalMark Orange -highlight! link typescriptNull Cyan -highlight! link typescriptMappedIn RedItalic -highlight! link typescriptFuncTypeArrow Purple -highlight! link typescriptTernaryOp Orange -highlight! link typescriptParenExp Blue -highlight! link typescriptIndexExpr Blue -highlight! link typescriptDotNotation Grey -highlight! link typescriptGlobalNumberDot Grey -highlight! link typescriptGlobalStringDot Grey -highlight! link typescriptGlobalArrayDot Grey -highlight! link typescriptGlobalObjectDot Grey -highlight! link typescriptGlobalSymbolDot Grey -highlight! link typescriptGlobalMathDot Grey -highlight! link typescriptGlobalDateDot Grey -highlight! link typescriptGlobalJSONDot Grey -highlight! link typescriptGlobalRegExpDot Grey -highlight! link typescriptGlobalPromiseDot Grey -highlight! link typescriptGlobalURLDot Grey -highlight! link typescriptGlobalMethod Green -highlight! link typescriptDOMStorageMethod Green -highlight! link typescriptFileMethod Green -highlight! link typescriptFileReaderMethod Green -highlight! link typescriptFileListMethod Green -highlight! link typescriptBlobMethod Green -highlight! link typescriptURLStaticMethod Green -highlight! link typescriptNumberStaticMethod Green -highlight! link typescriptNumberMethod Green -highlight! link typescriptDOMNodeMethod Green -highlight! link typescriptPaymentMethod Green -highlight! link typescriptPaymentResponseMethod Green -highlight! link typescriptHeadersMethod Green -highlight! link typescriptRequestMethod Green -highlight! link typescriptResponseMethod Green -highlight! link typescriptES6SetMethod Green -highlight! link typescriptReflectMethod Green -highlight! link typescriptBOMWindowMethod Green -highlight! link typescriptGeolocationMethod Green -highlight! link typescriptServiceWorkerMethod Green -highlight! link typescriptCacheMethod Green -highlight! link typescriptES6MapMethod Green -highlight! link typescriptFunctionMethod Green -highlight! link typescriptRegExpMethod Green -highlight! link typescriptXHRMethod Green -highlight! link typescriptBOMNavigatorMethod Green -highlight! link typescriptServiceWorkerMethod Green -highlight! link typescriptIntlMethod Green -highlight! link typescriptDOMEventTargetMethod Green -highlight! link typescriptDOMEventMethod Green -highlight! link typescriptDOMDocMethod Green -highlight! link typescriptStringStaticMethod Green -highlight! link typescriptStringMethod Green -highlight! link typescriptSymbolStaticMethod Green -highlight! link typescriptObjectStaticMethod Green -highlight! link typescriptObjectMethod Green -highlight! link typescriptJSONStaticMethod Green -highlight! link typescriptEncodingMethod Green -highlight! link typescriptBOMLocationMethod Green -highlight! link typescriptPromiseStaticMethod Green -highlight! link typescriptPromiseMethod Green -highlight! link typescriptSubtleCryptoMethod Green -highlight! link typescriptCryptoMethod Green -highlight! link typescriptBOMHistoryMethod Green -highlight! link typescriptDOMFormMethod Green -highlight! link typescriptConsoleMethod Green -highlight! link typescriptDateStaticMethod Green -highlight! link typescriptDateMethod Green -highlight! link typescriptArrayStaticMethod Green -highlight! link typescriptArrayMethod Green -highlight! link typescriptMathStaticMethod Green -highlight! link typescriptStringProperty Cyan -highlight! link typescriptDOMStorageProp Cyan -highlight! link typescriptFileReaderProp Cyan -highlight! link typescriptURLUtilsProp Cyan -highlight! link typescriptNumberStaticProp Cyan -highlight! link typescriptDOMNodeProp Cyan -highlight! link typescriptBOMWindowProp Cyan -highlight! link typescriptRequestProp Cyan -highlight! link typescriptResponseProp Cyan -highlight! link typescriptPaymentProp Cyan -highlight! link typescriptPaymentResponseProp Cyan -highlight! link typescriptPaymentAddressProp Cyan -highlight! link typescriptPaymentShippingOptionProp Cyan -highlight! link typescriptES6SetProp Cyan -highlight! link typescriptServiceWorkerProp Cyan -highlight! link typescriptES6MapProp Cyan -highlight! link typescriptRegExpStaticProp Cyan -highlight! link typescriptRegExpProp Cyan -highlight! link typescriptBOMNavigatorProp Green -highlight! link typescriptXHRProp Cyan -highlight! link typescriptDOMEventProp Cyan -highlight! link typescriptDOMDocProp Cyan -highlight! link typescriptBOMNetworkProp Cyan -highlight! link typescriptSymbolStaticProp Cyan -highlight! link typescriptEncodingProp Cyan -highlight! link typescriptBOMLocationProp Cyan -highlight! link typescriptCryptoProp Cyan -highlight! link typescriptDOMFormProp Cyan -highlight! link typescriptBOMHistoryProp Cyan -highlight! link typescriptMathStaticProp Cyan -" }}} -" }}} -" Dart: {{{ -" dart-lang: https://github.com/dart-lang/dart-vim-plugin{{{ -highlight! link dartCoreClasses Cyan -highlight! link dartTypeName Cyan -highlight! link dartInterpolation Blue -highlight! link dartTypeDef RedItalic -highlight! link dartClassDecl RedItalic -highlight! link dartLibrary PurpleItalic -highlight! link dartMetadata Blue -" }}} -" }}} -" CoffeeScript: {{{ -" vim-coffee-script: https://github.com/kchmck/vim-coffee-script{{{ -highlight! link coffeeExtendedOp Orange -highlight! link coffeeSpecialOp Fg -highlight! link coffeeDotAccess Grey -highlight! link coffeeCurly Fg -highlight! link coffeeParen Fg -highlight! link coffeeBracket Fg -highlight! link coffeeParens Blue -highlight! link coffeeBrackets Blue -highlight! link coffeeCurlies Blue -highlight! link coffeeOperator RedItalic -highlight! link coffeeStatement Orange -highlight! link coffeeSpecialIdent Purple -highlight! link coffeeObject Purple -highlight! link coffeeObjAssign Cyan -" }}} -" }}} -" PureScript: {{{ -" purescript-vim: https://github.com/purescript-contrib/purescript-vim{{{ -highlight! link purescriptModuleKeyword PurpleItalic -highlight! link purescriptModule Cyan -highlight! link purescriptModuleParams Blue -highlight! link purescriptAsKeyword OrangeItalic -highlight! link purescriptHidingKeyword OrangeItalic -highlight! link purescriptWhere OrangeItalic -highlight! link purescriptIdentifier Blue -highlight! link purescriptFunction Yellow -highlight! link purescriptType Cyan -" }}} -" }}} -" C/C++: {{{ -" vim-cpp-enhanced-highlight: https://github.com/octol/vim-cpp-enhanced-highlight{{{ -highlight! link cppSTLnamespace Purple -highlight! link cppSTLtype Yellow -highlight! link cppAccess PurpleItalic -highlight! link cppStructure RedItalic -highlight! link cppSTLios Cyan -highlight! link cppSTLiterator PurpleItalic -highlight! link cppSTLexception Purple -" }}} -" vim-cpp-modern: https://github.com/bfrg/vim-cpp-modern{{{ -highlight! link cppSTLVariable Cyan -" }}} -" }}} -" ObjectiveC: {{{ -" builtin: {{{ -highlight! link objcModuleImport PurpleItalic -highlight! link objcException RedItalic -highlight! link objcProtocolList Cyan -highlight! link objcObjDef PurpleItalic -highlight! link objcDirective RedItalic -highlight! link objcPropertyAttribute Orange -highlight! link objcHiddenArgument Cyan -" }}} -" }}} -" C#: {{{ -" builtin: https://github.com/nickspoons/vim-cs{{{ -highlight! link csUnspecifiedStatement PurpleItalic -highlight! link csStorage RedItalic -highlight! link csClass RedItalic -highlight! link csNewType Cyan -highlight! link csContextualStatement PurpleItalic -highlight! link csInterpolationDelimiter Yellow -highlight! link csInterpolation Yellow -highlight! link csEndColon Fg -" }}} -" }}} -" Python: {{{ -" builtin: {{{ -highlight! link pythonBuiltin Yellow -highlight! link pythonExceptions Purple -highlight! link pythonDecoratorName Blue -" }}} -" python-syntax: https://github.com/vim-python/python-syntax{{{ -highlight! link pythonExClass Purple -highlight! link pythonBuiltinType Yellow -highlight! link pythonBuiltinObj Blue -highlight! link pythonDottedName PurpleItalic -highlight! link pythonBuiltinFunc Green -highlight! link pythonFunction Cyan -highlight! link pythonDecorator Orange -highlight! link pythonInclude Include -highlight! link pythonImport PreProc -highlight! link pythonRun Blue -highlight! link pythonCoding Grey -highlight! link pythonOperator Orange -highlight! link pythonConditional RedItalic -highlight! link pythonRepeat RedItalic -highlight! link pythonException RedItalic -highlight! link pythonNone Cyan -highlight! link pythonDot Grey -" }}} -" }}} -" Lua: {{{ -" builtin: {{{ -highlight! link luaFunc Green -highlight! link luaFunction Cyan -highlight! link luaTable Fg -highlight! link luaIn RedItalic -" }}} -" vim-lua: https://github.com/tbastos/vim-lua{{{ -highlight! link luaFuncCall Green -highlight! link luaLocal Orange -highlight! link luaSpecialValue Green -highlight! link luaBraces Fg -highlight! link luaBuiltIn Purple -highlight! link luaNoise Grey -highlight! link luaLabel Purple -highlight! link luaFuncTable Yellow -highlight! link luaFuncArgName Blue -highlight! link luaEllipsis Orange -highlight! link luaDocTag Green -" }}} -" }}} -" Moonscript: {{{ -" moonscript-vim: https://github.com/leafo/moonscript-vim{{{ -highlight! link moonInterpDelim Yellow -highlight! link moonInterp Blue -highlight! link moonFunction Green -highlight! link moonLuaFunc Cyan -highlight! link moonSpecialVar Purple -highlight! link moonObject Yellow -highlight! link moonDotAccess Grey -" }}} -" }}} -" Java: {{{ -" builtin: {{{ -highlight! link javaClassDecl RedItalic -highlight! link javaMethodDecl RedItalic -highlight! link javaVarArg Green -highlight! link javaAnnotation Blue -highlight! link javaUserLabel Purple -highlight! link javaTypedef Cyan -highlight! link javaParen Fg -highlight! link javaParen1 Fg -highlight! link javaParen2 Fg -highlight! link javaParen3 Fg -highlight! link javaParen4 Fg -highlight! link javaParen5 Fg -" }}} -" }}} -" Kotlin: {{{ -" kotlin-vim: https://github.com/udalov/kotlin-vim{{{ -highlight! link ktSimpleInterpolation Yellow -highlight! link ktComplexInterpolation Yellow -highlight! link ktComplexInterpolationBrace Yellow -highlight! link ktStructure RedItalic -highlight! link ktKeyword Cyan -" }}} -" }}} -" Scala: {{{ -" builtin: https://github.com/derekwyatt/vim-scala{{{ -highlight! link scalaNameDefinition Cyan -highlight! link scalaInterpolationBoundary Yellow -highlight! link scalaInterpolation Blue -highlight! link scalaTypeOperator Orange -highlight! link scalaOperator Orange -highlight! link scalaKeywordModifier Orange -" }}} -" }}} -" Go: {{{ -" builtin: https://github.com/google/vim-ft-go{{{ -highlight! link goDirective PurpleItalic -highlight! link goConstants Cyan -highlight! link goDeclType OrangeItalic -" }}} -" polyglot: {{{ -highlight! link goPackage PurpleItalic -highlight! link goImport PurpleItalic -highlight! link goVarArgs Blue -highlight! link goBuiltins Green -highlight! link goPredefinedIdentifiers Cyan -highlight! link goVar Orange -" }}} -" }}} -" Rust: {{{ -" builtin: https://github.com/rust-lang/rust.vim{{{ -highlight! link rustStructure Orange -highlight! link rustIdentifier Purple -highlight! link rustModPath Orange -highlight! link rustModPathSep Grey -highlight! link rustSelf Blue -highlight! link rustSuper Blue -highlight! link rustDeriveTrait PurpleItalic -highlight! link rustEnumVariant Purple -highlight! link rustMacroVariable Blue -highlight! link rustAssert Cyan -highlight! link rustPanic Cyan -highlight! link rustPubScopeCrate PurpleItalic -" }}} -" }}} -" Swift: {{{ -" swift.vim: https://github.com/keith/swift.vim{{{ -highlight! link swiftInterpolatedWrapper Yellow -highlight! link swiftInterpolatedString Blue -highlight! link swiftProperty Cyan -highlight! link swiftTypeDeclaration Orange -highlight! link swiftClosureArgument Purple -" }}} -" }}} -" PHP: {{{ -" builtin: https://jasonwoof.com/gitweb/?p=vim-syntax.git;a=blob;f=php.vim;hb=HEAD{{{ -highlight! link phpVarSelector Blue -highlight! link phpDefine OrangeItalic -highlight! link phpStructure RedItalic -highlight! link phpSpecialFunction Green -highlight! link phpInterpSimpleCurly Yellow -highlight! link phpComparison Orange -highlight! link phpMethodsVar Cyan -highlight! link phpMemberSelector Green -" }}} -" php.vim: https://github.com/StanAngeloff/php.vim{{{ -highlight! link phpParent Fg -highlight! link phpNowDoc Green -highlight! link phpFunction Green -highlight! link phpMethod Green -highlight! link phpClass Orange -highlight! link phpSuperglobals Purple -" }}} -" }}} -" Ruby: {{{ -" builtin: https://github.com/vim-ruby/vim-ruby{{{ -highlight! link rubyKeywordAsMethod Green -highlight! link rubyInterpolation Yellow -highlight! link rubyInterpolationDelimiter Yellow -highlight! link rubyStringDelimiter Green -highlight! link rubyBlockParameterList Blue -highlight! link rubyDefine RedItalic -highlight! link rubyModuleName Purple -highlight! link rubyAccess Orange -highlight! link rubyAttribute Yellow -highlight! link rubyMacro RedItalic -" }}} -" }}} -" Haskell: {{{ -" haskell-vim: https://github.com/neovimhaskell/haskell-vim{{{ -highlight! link haskellBrackets Blue -highlight! link haskellIdentifier Yellow -highlight! link haskellAssocType Cyan -highlight! link haskellQuotedType Cyan -highlight! link haskellType Cyan -highlight! link haskellDeclKeyword RedItalic -highlight! link haskellWhere RedItalic -highlight! link haskellDeriving PurpleItalic -highlight! link haskellForeignKeywords PurpleItalic -" }}} -" }}} -" Perl: {{{ -" builtin: https://github.com/vim-perl/vim-perl{{{ -highlight! link perlStatementPackage PurpleItalic -highlight! link perlStatementInclude PurpleItalic -highlight! link perlStatementStorage Orange -highlight! link perlStatementList Orange -highlight! link perlMatchStartEnd Orange -highlight! link perlVarSimpleMemberName Cyan -highlight! link perlVarSimpleMember Fg -highlight! link perlMethod Green -highlight! link podVerbatimLine Green -highlight! link podCmdText Yellow -" }}} -" }}} -" OCaml: {{{ -" builtin: https://github.com/rgrinberg/vim-ocaml{{{ -highlight! link ocamlArrow Orange -highlight! link ocamlEqual Orange -highlight! link ocamlOperator Orange -highlight! link ocamlKeyChar Orange -highlight! link ocamlModPath Green -highlight! link ocamlFullMod Green -highlight! link ocamlModule Purple -highlight! link ocamlConstructor Cyan -highlight! link ocamlFuncWith Yellow -highlight! link ocamlWith Yellow -highlight! link ocamlModParam Fg -highlight! link ocamlModParam1 Fg -highlight! link ocamlAnyVar Blue -highlight! link ocamlPpxEncl Orange -highlight! link ocamlPpxIdentifier Blue -highlight! link ocamlSigEncl Orange -highlight! link ocamlStructEncl Cyan -highlight! link ocamlModParam1 Blue -" }}} -" }}} -" Erlang: {{{ -" builtin: https://github.com/vim-erlang/vim-erlang-runtime{{{ -highlight! link erlangAtom Cyan -highlight! link erlangLocalFuncRef Green -highlight! link erlangLocalFuncCall Green -highlight! link erlangGlobalFuncRef Green -highlight! link erlangGlobalFuncCall Green -highlight! link erlangAttribute PurpleItalic -highlight! link erlangPipe Orange -" }}} -" }}} -" Elixir: {{{ -" vim-elixir: https://github.com/elixir-editors/vim-elixir{{{ -highlight! link elixirStringDelimiter Green -highlight! link elixirKeyword Orange -highlight! link elixirInterpolation Yellow -highlight! link elixirInterpolationDelimiter Yellow -highlight! link elixirSelf Purple -highlight! link elixirPseudoVariable Purple -highlight! link elixirModuleDefine PurpleItalic -highlight! link elixirBlockDefinition RedItalic -highlight! link elixirDefine RedItalic -highlight! link elixirPrivateDefine RedItalic -highlight! link elixirGuard RedItalic -highlight! link elixirPrivateGuard RedItalic -highlight! link elixirProtocolDefine RedItalic -highlight! link elixirImplDefine RedItalic -highlight! link elixirRecordDefine RedItalic -highlight! link elixirPrivateRecordDefine RedItalic -highlight! link elixirMacroDefine RedItalic -highlight! link elixirPrivateMacroDefine RedItalic -highlight! link elixirDelegateDefine RedItalic -highlight! link elixirOverridableDefine RedItalic -highlight! link elixirExceptionDefine RedItalic -highlight! link elixirCallbackDefine RedItalic -highlight! link elixirStructDefine RedItalic -highlight! link elixirExUnitMacro RedItalic -" }}} -" }}} -" Common Lisp: {{{ -" builtin: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_LISP{{{ -highlight! link lispAtomMark Green -highlight! link lispKey Cyan -highlight! link lispFunc OrangeItalic -" }}} -" }}} -" Clojure: {{{ -" builtin: https://github.com/guns/vim-clojure-static{{{ -highlight! link clojureMacro PurpleItalic -highlight! link clojureFunc Cyan -highlight! link clojureConstant Yellow -highlight! link clojureSpecial RedItalic -highlight! link clojureDefine RedItalic -highlight! link clojureKeyword Orange -highlight! link clojureVariable Blue -highlight! link clojureMeta Yellow -highlight! link clojureDeref Yellow -" }}} -" }}} -" Shell: {{{ -" builtin: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH{{{ -highlight! link shRange Fg -highlight! link shTestOpr Orange -highlight! link shOption Cyan -highlight! link bashStatement Orange -highlight! link shOperator Orange -highlight! link shQuote Green -highlight! link shSet Orange -highlight! link shSetList Blue -highlight! link shSnglCase Orange -highlight! link shVariable Blue -highlight! link shVarAssign Orange -highlight! link shCmdSubRegion Green -highlight! link shCommandSub Orange -highlight! link shFunctionOne Green -highlight! link shFunctionKey RedItalic -" }}} -" }}} -" Zsh: {{{ -" builtin: https://github.com/chrisbra/vim-zsh{{{ -highlight! link zshOptStart PurpleItalic -highlight! link zshOption Blue -highlight! link zshSubst Yellow -highlight! link zshFunction Green -highlight! link zshDeref Blue -highlight! link zshTypes Orange -highlight! link zshVariableDef Blue -" }}} -" }}} -" Fish: {{{ -" vim-fish: https://github.com/georgewitteman/vim-fish{{{ -highlight! link fishStatement Orange -highlight! link fishLabel RedItalic -highlight! link fishCommandSub Yellow -" }}} -" }}} -" PowerShell: {{{ -" vim-ps1: https://github.com/PProvost/vim-ps1{{{ -highlight! link ps1FunctionInvocation Cyan -highlight! link ps1FunctionDeclaration Cyan -highlight! link ps1InterpolationDelimiter Yellow -highlight! link ps1BuiltIn Yellow -" }}} -" }}} -" VimL: {{{ -highlight! link vimLet Orange -highlight! link vimFunction Green -highlight! link vimIsCommand Fg -highlight! link vimUserFunc Green -highlight! link vimFuncName Green -highlight! link vimMap PurpleItalic -highlight! link vimNotation Cyan -highlight! link vimMapLhs Green -highlight! link vimMapRhs Green -highlight! link vimSetEqual Yellow -highlight! link vimSetSep Fg -highlight! link vimOption Cyan -highlight! link vimUserAttrbKey Yellow -highlight! link vimUserAttrb Green -highlight! link vimAutoCmdSfxList Cyan -highlight! link vimSynType Orange -highlight! link vimHiBang Orange -highlight! link vimSet Yellow -highlight! link vimSetSep Grey -" }}} -" Makefile: {{{ -highlight! link makeIdent Cyan -highlight! link makeSpecTarget Yellow -highlight! link makeTarget Blue -highlight! link makeCommands Orange -" }}} -" CMake: {{{ -highlight! link cmakeCommand Orange -highlight! link cmakeKWconfigure_package_config_file Yellow -highlight! link cmakeKWwrite_basic_package_version_file Yellow -highlight! link cmakeKWExternalProject Cyan -highlight! link cmakeKWadd_compile_definitions Cyan -highlight! link cmakeKWadd_compile_options Cyan -highlight! link cmakeKWadd_custom_command Cyan -highlight! link cmakeKWadd_custom_target Cyan -highlight! link cmakeKWadd_definitions Cyan -highlight! link cmakeKWadd_dependencies Cyan -highlight! link cmakeKWadd_executable Cyan -highlight! link cmakeKWadd_library Cyan -highlight! link cmakeKWadd_link_options Cyan -highlight! link cmakeKWadd_subdirectory Cyan -highlight! link cmakeKWadd_test Cyan -highlight! link cmakeKWbuild_command Cyan -highlight! link cmakeKWcmake_host_system_information Cyan -highlight! link cmakeKWcmake_minimum_required Cyan -highlight! link cmakeKWcmake_parse_arguments Cyan -highlight! link cmakeKWcmake_policy Cyan -highlight! link cmakeKWconfigure_file Cyan -highlight! link cmakeKWcreate_test_sourcelist Cyan -highlight! link cmakeKWctest_build Cyan -highlight! link cmakeKWctest_configure Cyan -highlight! link cmakeKWctest_coverage Cyan -highlight! link cmakeKWctest_memcheck Cyan -highlight! link cmakeKWctest_run_script Cyan -highlight! link cmakeKWctest_start Cyan -highlight! link cmakeKWctest_submit Cyan -highlight! link cmakeKWctest_test Cyan -highlight! link cmakeKWctest_update Cyan -highlight! link cmakeKWctest_upload Cyan -highlight! link cmakeKWdefine_property Cyan -highlight! link cmakeKWdoxygen_add_docs Cyan -highlight! link cmakeKWenable_language Cyan -highlight! link cmakeKWenable_testing Cyan -highlight! link cmakeKWexec_program Cyan -highlight! link cmakeKWexecute_process Cyan -highlight! link cmakeKWexport Cyan -highlight! link cmakeKWexport_library_dependencies Cyan -highlight! link cmakeKWfile Cyan -highlight! link cmakeKWfind_file Cyan -highlight! link cmakeKWfind_library Cyan -highlight! link cmakeKWfind_package Cyan -highlight! link cmakeKWfind_path Cyan -highlight! link cmakeKWfind_program Cyan -highlight! link cmakeKWfltk_wrap_ui Cyan -highlight! link cmakeKWforeach Cyan -highlight! link cmakeKWfunction Cyan -highlight! link cmakeKWget_cmake_property Cyan -highlight! link cmakeKWget_directory_property Cyan -highlight! link cmakeKWget_filename_component Cyan -highlight! link cmakeKWget_property Cyan -highlight! link cmakeKWget_source_file_property Cyan -highlight! link cmakeKWget_target_property Cyan -highlight! link cmakeKWget_test_property Cyan -highlight! link cmakeKWif Cyan -highlight! link cmakeKWinclude Cyan -highlight! link cmakeKWinclude_directories Cyan -highlight! link cmakeKWinclude_external_msproject Cyan -highlight! link cmakeKWinclude_guard Cyan -highlight! link cmakeKWinstall Cyan -highlight! link cmakeKWinstall_files Cyan -highlight! link cmakeKWinstall_programs Cyan -highlight! link cmakeKWinstall_targets Cyan -highlight! link cmakeKWlink_directories Cyan -highlight! link cmakeKWlist Cyan -highlight! link cmakeKWload_cache Cyan -highlight! link cmakeKWload_command Cyan -highlight! link cmakeKWmacro Cyan -highlight! link cmakeKWmark_as_advanced Cyan -highlight! link cmakeKWmath Cyan -highlight! link cmakeKWmessage Cyan -highlight! link cmakeKWoption Cyan -highlight! link cmakeKWproject Cyan -highlight! link cmakeKWqt_wrap_cpp Cyan -highlight! link cmakeKWqt_wrap_ui Cyan -highlight! link cmakeKWremove Cyan -highlight! link cmakeKWseparate_arguments Cyan -highlight! link cmakeKWset Cyan -highlight! link cmakeKWset_directory_properties Cyan -highlight! link cmakeKWset_property Cyan -highlight! link cmakeKWset_source_files_properties Cyan -highlight! link cmakeKWset_target_properties Cyan -highlight! link cmakeKWset_tests_properties Cyan -highlight! link cmakeKWsource_group Cyan -highlight! link cmakeKWstring Cyan -highlight! link cmakeKWsubdirs Cyan -highlight! link cmakeKWtarget_compile_definitions Cyan -highlight! link cmakeKWtarget_compile_features Cyan -highlight! link cmakeKWtarget_compile_options Cyan -highlight! link cmakeKWtarget_include_directories Cyan -highlight! link cmakeKWtarget_link_directories Cyan -highlight! link cmakeKWtarget_link_libraries Cyan -highlight! link cmakeKWtarget_link_options Cyan -highlight! link cmakeKWtarget_precompile_headers Cyan -highlight! link cmakeKWtarget_sources Cyan -highlight! link cmakeKWtry_compile Cyan -highlight! link cmakeKWtry_run Cyan -highlight! link cmakeKWunset Cyan -highlight! link cmakeKWuse_mangled_mesa Cyan -highlight! link cmakeKWvariable_requires Cyan -highlight! link cmakeKWvariable_watch Cyan -highlight! link cmakeKWwrite_file Cyan -" }}} -" Json: {{{ -highlight! link jsonKeyword Orange -highlight! link jsonQuote Grey -highlight! link jsonBraces Fg -" }}} -" Yaml: {{{ -highlight! link yamlKey Orange -highlight! link yamlConstant Purple -" }}} -" Toml: {{{ -call s:HL('tomlTable', s:palette.purple, s:palette.none, 'bold') -highlight! link tomlKey Orange -highlight! link tomlBoolean Cyan -highlight! link tomlTableArray tomlTable -" }}} -" Diff: {{{ -highlight! link diffAdded Green -highlight! link diffRemoved Red -highlight! link diffChanged Blue -highlight! link diffOldFile Yellow -highlight! link diffNewFile Orange -highlight! link diffFile Cyan -highlight! link diffLine Grey -highlight! link diffIndexLine Purple -" }}} -" Help: {{{ -call s:HL('helpNote', s:palette.purple, s:palette.none, 'bold') -call s:HL('helpHeadline', s:palette.red, s:palette.none, 'bold') -call s:HL('helpHeader', s:palette.orange, s:palette.none, 'bold') -call s:HL('helpURL', s:palette.green, s:palette.none, 'underline') -call s:HL('helpHyperTextEntry', s:palette.yellow, s:palette.none, 'bold') -highlight! link helpHyperTextJump Yellow -highlight! link helpCommand Cyan -highlight! link helpExample Green -highlight! link helpSpecial Blue -highlight! link helpSectionDelim Grey -" }}} -" }}} -" Plugins: {{{ -" junegunn/vim-plug{{{ -call s:HL('plug1', s:palette.orange, s:palette.none, 'bold') -call s:HL('plugNumber', s:palette.yellow, s:palette.none, 'bold') -highlight! link plug2 Green -highlight! link plugBracket Grey -highlight! link plugName Cyan -highlight! link plugDash Orange -highlight! link plugError Red -highlight! link plugNotLoaded Grey -highlight! link plugRelDate Grey -highlight! link plugH2 Orange -highlight! link plugMessage Orange -highlight! link plugStar Red -highlight! link plugUpdate Blue -highlight! link plugDeleted Grey -highlight! link plugEdge Yellow -highlight! link plugSha Green -" }}} -" neoclide/coc.nvim{{{ -call s:HL('CocHoverRange', s:palette.none, s:palette.none, 'bold,underline') -if s:configuration.current_word ==# 'bold' - call s:HL('CocHighlightText', s:palette.none, s:palette.none, 'bold') -elseif s:configuration.current_word ==# 'underline' - call s:HL('CocHighlightText', s:palette.none, s:palette.none, 'underline') -elseif s:configuration.current_word ==# 'italic' - call s:HL('CocHighlightText', s:palette.none, s:palette.none, 'italic') -elseif s:configuration.current_word ==# 'grey background' - call s:HL('CocHighlightText', s:palette.none, s:palette.bg2) -endif -highlight! link CocErrorSign RedSign -highlight! link CocWarningSign YellowSign -highlight! link CocInfoSign BlueSign -highlight! link CocHintSign CyanSign -highlight! link CocErrorHighlight ALEError -highlight! link CocWarningHighlight ALEWarning -highlight! link CocInfoHighlight ALEInfo -highlight! link CocWarningVirtualText Grey -highlight! link CocErrorVirtualText Grey -highlight! link CocInfoVirtualText Grey -highlight! link CocHintVirtualText Grey -highlight! link CocCodeLens Grey -highlight! link HighlightedyankRegion Visual -highlight! link CocGitAddedSign GreenSign -highlight! link CocGitChangeRemovedSign PurpleSign -highlight! link CocGitChangedSign BlueSign -highlight! link CocGitRemovedSign RedSign -highlight! link CocGitTopRemovedSign RedSign -highlight! link CocExplorerBufferRoot Orange -highlight! link CocExplorerBufferExpandIcon Cyan -highlight! link CocExplorerBufferBufnr Purple -highlight! link CocExplorerBufferModified Red -highlight! link CocExplorerBufferBufname Grey -highlight! link CocExplorerBufferFullpath Grey -highlight! link CocExplorerFileRoot Orange -highlight! link CocExplorerFileExpandIcon Cyan -highlight! link CocExplorerFileFullpath Grey -highlight! link CocExplorerFileDirectory Green -highlight! link CocExplorerFileGitStage Purple -highlight! link CocExplorerFileGitUnstage Yellow -highlight! link CocExplorerFileSize Blue -highlight! link CocExplorerTimeAccessed Cyan -highlight! link CocExplorerTimeCreated Cyan -highlight! link CocExplorerTimeModified Cyan -" }}} -" dense-analysis/ale{{{ -call s:HL('ALEError', s:palette.none, s:palette.none, 'undercurl', s:palette.red) -call s:HL('ALEWarning', s:palette.none, s:palette.none, 'undercurl', s:palette.yellow) -call s:HL('ALEInfo', s:palette.none, s:palette.none, 'undercurl', s:palette.blue) -highlight! link ALEErrorSign RedSign -highlight! link ALEWarningSign YellowSign -highlight! link ALEInfoSign BlueSign -highlight! link ALEVirtualTextError Grey -highlight! link ALEVirtualTextWarning Grey -highlight! link ALEVirtualTextInfo Grey -highlight! link ALEVirtualTextStyleError Grey -highlight! link ALEVirtualTextStyleWarning Grey -" }}} -" neomake/neomake{{{ -highlight! link NeomakeError ALEError -highlight! link NeomakeErrorSign RedSign -highlight! link NeomakeWarning ALEWarning -highlight! link NeomakeWarningSign YellowSign -highlight! link NeomakeInfo ALEInfo -highlight! link NeomakeInfoSign BlueSign -highlight! link NeomakeMessage Cyan -highlight! link NeomakeMessageSign CyanSign -highlight! link NeomakeVirtualtextError Grey -highlight! link NeomakeVirtualtextWarning Grey -highlight! link NeomakeVirtualtextInfo Grey -highlight! link NeomakeVirtualtextMessag Grey -" }}} -" vim-syntastic/syntastic{{{ -highlight! link SyntasticError ALEError -highlight! link SyntasticWarning ALEWarning -highlight! link SyntasticErrorSign RedSign -highlight! link SyntasticWarningSign YellowSign -" }}} -" Yggdroot/LeaderF{{{ -call s:HL('Lf_hl_match', s:palette.green, s:palette.none, 'bold') -call s:HL('Lf_hl_match0', s:palette.green, s:palette.none, 'bold') -call s:HL('Lf_hl_match1', s:palette.cyan, s:palette.none, 'bold') -call s:HL('Lf_hl_match2', s:palette.blue, s:palette.none, 'bold') -call s:HL('Lf_hl_match3', s:palette.purple, s:palette.none, 'bold') -call s:HL('Lf_hl_match4', s:palette.orange, s:palette.none, 'bold') -call s:HL('Lf_hl_matchRefine', s:palette.red, s:palette.none, 'bold') -highlight! link Lf_hl_cursorline Fg -highlight! link Lf_hl_selection DiffAdd -highlight! link Lf_hl_rgHighlight Visual -highlight! link Lf_hl_gtagsHighlight Visual -" }}} -" junegunn/fzf.vim{{{ -let g:fzf_colors = { - \ 'fg': ['fg', 'Normal'], - \ 'bg': ['bg', 'Normal'], - \ 'hl': ['fg', 'Green'], - \ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'], - \ 'bg+': ['bg', 'CursorLine', 'CursorColumn'], - \ 'hl+': ['fg', 'Cyan'], - \ 'info': ['fg', 'Cyan'], - \ 'prompt': ['fg', 'Orange'], - \ 'pointer': ['fg', 'Blue'], - \ 'marker': ['fg', 'Yellow'], - \ 'spinner': ['fg', 'Yellow'], - \ 'header': ['fg', 'Grey'] - \ } -" }}} -" Shougo/denite.nvim{{{ -call s:HL('deniteMatchedChar', s:palette.green, s:palette.none, 'bold') -call s:HL('deniteMatchedRange', s:palette.green, s:palette.none, 'bold,underline') -call s:HL('deniteInput', s:palette.green, s:palette.bg3, 'bold') -call s:HL('deniteStatusLineNumber', s:palette.purple, s:palette.bg3) -call s:HL('deniteStatusLinePath', s:palette.fg, s:palette.bg3) -highlight! link deniteSelectedLin Green -" }}} -" kien/ctrlp.vim{{{ -call s:HL('CtrlPMatch', s:palette.green, s:palette.none, 'bold') -call s:HL('CtrlPPrtBase', s:palette.bg3, s:palette.none) -call s:HL('CtrlPLinePre', s:palette.bg3, s:palette.none) -call s:HL('CtrlPMode1', s:palette.blue, s:palette.bg3, 'bold') -call s:HL('CtrlPMode2', s:palette.bg0, s:palette.blue, 'bold') -call s:HL('CtrlPStats', s:palette.grey, s:palette.bg3, 'bold') -highlight! link CtrlPNoEntries Red -highlight! link CtrlPPrtCursor Blue -" }}} -" majutsushi/tagbar{{{ -highlight! link TagbarFoldIcon Green -highlight! link TagbarSignature Green -highlight! link TagbarKind Red -highlight! link TagbarScope Orange -highlight! link TagbarNestedKind Cyan -highlight! link TagbarVisibilityPrivate Red -highlight! link TagbarVisibilityPublic Blue -" }}} -" liuchengxu/vista.vim{{{ -highlight! link VistaBracket Grey -highlight! link VistaChildrenNr Orange -highlight! link VistaScope Red -highlight! link VistaTag Green -highlight! link VistaPrefix Grey -highlight! link VistaColon Green -highlight! link VistaIcon Purple -highlight! link VistaLineNr Fg -" }}} -" airblade/vim-gitgutter{{{ -highlight! link GitGutterAdd GreenSign -highlight! link GitGutterChange BlueSign -highlight! link GitGutterDelete RedSign -highlight! link GitGutterChangeDelete PurpleSign -" }}} -" mhinz/vim-signify{{{ -highlight! link SignifySignAdd GreenSign -highlight! link SignifySignChange BlueSign -highlight! link SignifySignDelete RedSign -highlight! link SignifySignChangeDelete PurpleSign -" }}} -" scrooloose/nerdtree{{{ -highlight! link NERDTreeDir Green -highlight! link NERDTreeDirSlash Cyan -highlight! link NERDTreeOpenable Orange -highlight! link NERDTreeClosable Orange -highlight! link NERDTreeFile Fg -highlight! link NERDTreeExecFile Yellow -highlight! link NERDTreeUp Grey -highlight! link NERDTreeCWD Cyan -highlight! link NERDTreeHelp LightGrey -highlight! link NERDTreeToggleOn Green -highlight! link NERDTreeToggleOff Red -highlight! link NERDTreeFlags Orange -highlight! link NERDTreeLinkFile Grey -highlight! link NERDTreeLinkTarget Green -" }}} -" justinmk/vim-dirvish{{{ -highlight! link DirvishPathTail Cyan -highlight! link DirvishArg Yellow -" }}} -" vim.org/netrw {{{ -" https://www.vim.org/scripts/script.php?script_id=1075 -highlight! link netrwDir Green -highlight! link netrwClassify Green -highlight! link netrwLink Grey -highlight! link netrwSymLink Fg -highlight! link netrwExe Yellow -highlight! link netrwComment Grey -highlight! link netrwList Cyan -highlight! link netrwHelpCmd Blue -highlight! link netrwCmdSep Grey -highlight! link netrwVersion Orange -" }}} -" andymass/vim-matchup{{{ -call s:HL('MatchParenCur', s:palette.none, s:palette.none, 'bold') -call s:HL('MatchWord', s:palette.none, s:palette.none, 'underline') -call s:HL('MatchWordCur', s:palette.none, s:palette.none, 'underline') -" }}} -" easymotion/vim-easymotion {{{ -highlight! link EasyMotionTarget Search -highlight! link EasyMotionShade Comment -" }}} -" justinmk/vim-sneak {{{ -highlight! link Sneak Cursor -highlight! link SneakLabel Cursor -highlight! link SneakScope DiffChange -" }}} -" terryma/vim-multiple-cursors{{{ -highlight! link multiple_cursors_cursor Cursor -highlight! link multiple_cursors_visual Visual -" }}} -" mg979/vim-visual-multi{{{ -let g:VM_Mono_hl = 'Cursor' -let g:VM_Extend_hl = 'Visual' -let g:VM_Cursor_hl = 'Cursor' -let g:VM_Insert_hl = 'Cursor' -" }}} -" dominikduda/vim_current_word{{{ -highlight! link CurrentWord CocHighlightText -highlight! link CurrentWordTwins CocHighlightText -" }}} -" RRethy/vim-illuminate{{{ -highlight! link illuminatedWord CocHighlightText -" }}} -" itchyny/vim-cursorword{{{ -highlight! link CursorWord0 CocHighlightText -highlight! link CursorWord1 CocHighlightText -" }}} -" nathanaelkane/vim-indent-guides{{{ -if get(g:, 'indent_guides_auto_colors', 1) == 0 - call s:HL('IndentGuidesOdd', s:palette.bg0, s:palette.bg1) - call s:HL('IndentGuidesEven', s:palette.bg0, s:palette.bg2) -endif -" }}} -" luochen1990/rainbow{{{ -if !exists('g:rbpt_colorpairs') - let g:rbpt_colorpairs = [['blue', s:palette.blue[0]], ['magenta', s:palette.purple[0]], - \ ['red', s:palette.red[0]], ['166', s:palette.orange[0]]] -endif - -let g:rainbow_guifgs = [ s:palette.orange[0], s:palette.red[0], s:palette.purple[0], s:palette.blue[0] ] -let g:rainbow_ctermfgs = [ '166', 'red', 'magenta', 'blue' ] - -if !exists('g:rainbow_conf') - let g:rainbow_conf = {} -endif -if !has_key(g:rainbow_conf, 'guifgs') - let g:rainbow_conf['guifgs'] = g:rainbow_guifgs -endif -if !has_key(g:rainbow_conf, 'ctermfgs') - let g:rainbow_conf['ctermfgs'] = g:rainbow_ctermfgs -endif - -let g:niji_dark_colours = g:rbpt_colorpairs -let g:niji_light_colours = g:rbpt_colorpairs -" }}} -" kshenoy/vim-signature {{{ -highlight! link SignatureMarkText BlueSign -highlight! link SignatureMarkerText PurpleSign -" }}} -" mhinz/vim-startify{{{ -highlight! link StartifyBracket Grey -highlight! link StartifyFile Fg -highlight! link StartifyNumber Red -highlight! link StartifyPath Green -highlight! link StartifySlash Green -highlight! link StartifySection Blue -highlight! link StartifyHeader Orange -highlight! link StartifySpecial Grey -highlight! link StartifyFooter Grey -" }}} -" ap/vim-buftabline{{{ -highlight! link BufTabLineCurrent TabLineSel -highlight! link BufTabLineActive TabLine -highlight! link BufTabLineHidden TabLineFill -highlight! link BufTabLineFill TabLineFill -" }}} -" liuchengxu/vim-which-key{{{ -highlight! link WhichKey Red -highlight! link WhichKeySeperator Green -highlight! link WhichKeyGroup Yellow -highlight! link WhichKeyDesc Blue -highlight! link WhichKeyFloating SignColumn -" }}} -" skywind3000/quickmenu.vim{{{ -highlight! link QuickmenuOption Green -highlight! link QuickmenuNumber Red -highlight! link QuickmenuBracket Grey -highlight! link QuickmenuHelp Green -highlight! link QuickmenuSpecial Purple -highlight! link QuickmenuHeader Orange -" }}} -" mbbill/undotree{{{ -call s:HL('UndotreeSavedBig', s:palette.purple, s:palette.none, 'bold') -highlight! link UndotreeNode Orange -highlight! link UndotreeNodeCurrent Red -highlight! link UndotreeSeq Green -highlight! link UndotreeNext Blue -highlight! link UndotreeTimeStamp Grey -highlight! link UndotreeHead Yellow -highlight! link UndotreeBranch Yellow -highlight! link UndotreeCurrent Cyan -highlight! link UndotreeSavedSmall Purple -" }}} -" unblevable/quick-scope {{{ -call s:HL('QuickScopePrimary', s:palette.cyan, s:palette.none, 'underline') -call s:HL('QuickScopeSecondary', s:palette.blue, s:palette.none, 'underline') -" }}} -" APZelos/blamer.nvim {{{ -highlight! link Blamer Grey -" }}} -" }}} -" Terminal: {{{ -if (has('termguicolors') && &termguicolors) || has('gui_running') - " Definition - let s:terminal = { - \ 'black': s:palette.fg, - \ 'red': s:palette.red, - \ 'yellow': s:palette.yellow, - \ 'green': s:palette.green, - \ 'cyan': s:palette.cyan, - \ 'blue': s:palette.blue, - \ 'purple': s:palette.purple, - \ 'white': s:palette.grey - \ } - " Implementation: {{{ - if !has('nvim') - let g:terminal_ansi_colors = [s:terminal.black[0], s:terminal.red[0], s:terminal.green[0], s:terminal.yellow[0], - \ s:terminal.blue[0], s:terminal.purple[0], s:terminal.cyan[0], s:terminal.white[0], s:terminal.black[0], s:terminal.red[0], - \ s:terminal.green[0], s:terminal.yellow[0], s:terminal.blue[0], s:terminal.purple[0], s:terminal.cyan[0], s:terminal.white[0]] - else - let g:terminal_color_0 = s:terminal.black[0] - let g:terminal_color_1 = s:terminal.red[0] - let g:terminal_color_2 = s:terminal.green[0] - let g:terminal_color_3 = s:terminal.yellow[0] - let g:terminal_color_4 = s:terminal.blue[0] - let g:terminal_color_5 = s:terminal.purple[0] - let g:terminal_color_6 = s:terminal.cyan[0] - let g:terminal_color_7 = s:terminal.white[0] - let g:terminal_color_8 = s:terminal.black[0] - let g:terminal_color_9 = s:terminal.red[0] - let g:terminal_color_10 = s:terminal.green[0] - let g:terminal_color_11 = s:terminal.yellow[0] - let g:terminal_color_12 = s:terminal.blue[0] - let g:terminal_color_13 = s:terminal.purple[0] - let g:terminal_color_14 = s:terminal.cyan[0] - let g:terminal_color_15 = s:terminal.white[0] - endif - " }}} -endif -" }}} - -" vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker fmr={{{,}}}: diff --git a/vim/.vimrc b/vim/.vimrc deleted file mode 100755 index d8c71b0..0000000 --- a/vim/.vimrc +++ /dev/null @@ -1,180 +0,0 @@ -autocmd! bufwritepost .vimrc source % - -set rtp+=~/.vim/bundle/Vundle.vim -call vundle#begin() -Plugin 'VundleVim/Vundle.vim' - -Plugin 'rust-lang/rust.vim' -Plugin 'airblade/vim-gitgutter' " display git status of the file -Plugin 'vim-airline/vim-airline' " airline at bottom with insert, name, line etc. -Plugin 'vim-airline/vim-airline-themes' -Plugin 'junegunn/fzf', {'dir': '~/.fzf', 'do': './install --all'} | Plugin 'junegunn/fzf.vim' " fuzzy finder -Plugin 'luochen1990/rainbow' " color parentheses -Plugin 'dense-analysis/ale' " checker syntax -Plugin 'posva/vim-vue' -Plugin 'terryma/vim-multiple-cursors' -Plugin 'tpope/vim-fugitive' " git extension for commit logs and etc. -Plugin 'neoclide/coc.nvim', {'branch': 'release'} -Plugin 'editorconfig/editorconfig-vim' -Plugin 'ap/vim-css-color' -Plugin 'Yggdroot/indentLine' -Plugin 'jmcantrell/vim-virtualenv' - -Plugin 'ryanoasis/vim-devicons' -Plugin 'edkolev/tmuxline.vim' - -Plugin 'google/vim-searchindex' - -call vundle#end() " required - -syntax on -colorscheme miramare - -set clipboard=unnamed -set mouse=a " click with mouse -set wildmenu -set wildmode=longest,list:full -set wildignore=*~,*.png,*.jpg,*.gif,Thumbs.db,*.min.js,*.swp,*.o,vendor - - -set number " number of the current line -set relativenumber " relative number, ..-2 -1 x 1 2, where x is current line -set textwidth=80 -set colorcolumn=80 -set nowrap -set fo-=t - -set tabstop=4 -set shiftwidth=4 -set expandtab " convert tabs in spaces - -set ai " auto indent -set autoread - -set encoding=UTF-8 -set history=1000 -set wildignore+=*.pyc - -set hlsearch " highlight search -set incsearch - -set nowritebackup -set laststatus=2 - -set cursorline - -set list " spaces as characters -set listchars=eol:⏎,tab:»·,trail:ˑ,nbsp:⎵ - -set foldmethod=indent - -set splitright " split on right side -set lazyredraw -set ttyfast - -" rust -let g:rustfmt_autosave = 1 -let g:rustfmt_emit_files = 1 -let g:rustfmt_fail_silently = 0 -let g:rust_clip_command = 'xclip -selection clipboard' - -let g:fzf_preview_window = 'right:70%' - -let g:ale_disable_lsp = 1 -let g:ale_fix_on_save = 1 -let g:ale_sign_error = '🛑' -let g:ale_sign_warning = '⚠️' -let g:ale_sign_info = '💭' -let g:ale_echo_msg_error_str = 'E' -let g:ale_echo_msg_warning_str = 'W' -let g:ale_echo_msg_format = '[%severity%] [%linter%] %s' -let g:ale_open_list = 1 -let g:ale_keep_list_window_open = 0 -let g:ale_list_window_size = 3 - -let b:ale_linters = { -\ 'python': ['flake8', 'pylint', 'mypy'], -\ 'cpp': ['clang'], -\ 'c': ['clang'], -\} - -let b:ale_fixers = { -\ 'python': ['black', 'isort'], -\ 'javascript': ['prettier'], -\ 'typescript': ['prettier'], -\ 'vue': ['prettier'], -\ 'html': ['prettier'], -\ 'cpp': ['clang-format'], -\ 'c': ['clang-format'], -\} - -let g:airline_theme='onedark' -let g:airline_powerline_fonts = 1 - -let g:indentLine_char = '¦' - -let g:vue_pre_processors = ['pug', 'scss'] - -let g:netrw_liststyle=1 - -filetype plugin indent on -set nocompatible - -set showcmd " show commands at bottom - -augroup remember_folds - autocmd! - autocmd BufWinLeave * mkview - autocmd BufWinEnter * silent! loadview -augroup END - -" ------------ -" MAPS -" ----------- -nnoremap j gj -nnoremap k gk - -nnoremap tn :tabnew -nnoremap :ve :Vexplore -nnoremap :rt :RainbowToggle - -" buffers -nnoremap ]b :bnext -nnoremap [b :bprev -nnoremap ,b :Buffers - -" tabs -nnoremap ]t :tabn -nnoremap [t :tabp -nnoremap ,t :tabs - -" only one window -nnoremap ,o :only - - -" mapping fzf commands -" ff = open files explorer -" co = open commits explorer -" gf = open git ls-files -" gs = open git status -nnoremap :ff :Files . -nnoremap :co :Commits -nnoremap :gf :GFiles -nnoremap :gs :GFiles? -nnoremap :gd :Git diff - -nnoremap :pa :set paste -nnoremap :npa :set nopaste - -nmap :cr :!command cargo r -nmap :EditorConfigReload - -" Use `[g` and `]g` to navigate diagnostics -nmap [g (coc-diagnostic-prev) -nmap ]g (coc-diagnostic-next) - -" GoTo code navigation. -nmap gd (coc-definition) -nmap gy (coc-type-definition) -nmap gi (coc-implementation) -nmap gr (coc-references) -- cgit v1.2.3-18-g5258