From 1f52162ee0fcacdb0bc1b5190ade0fc0b779aa68 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 20 Aug 2019 09:46:45 +0200 Subject: init --- .vim/bundle/Vundle.vim | 1 + .vim/bundle/YouCompleteMe | 1 + .vim/bundle/indentpy.vim | 196 +++++++ .vim/bundle/swift.vim | 1 + .vim/bundle/vim-fugitive | 1 + .vim/colors/gruvbox-hard.vim | 1336 ++++++++++++++++++++++++++++++++++++++++++ .vim/colors/horizon.vim | 226 +++++++ .vimrc | 32 + 8 files changed, 1794 insertions(+) create mode 160000 .vim/bundle/Vundle.vim create mode 160000 .vim/bundle/YouCompleteMe create mode 100755 .vim/bundle/indentpy.vim create mode 160000 .vim/bundle/swift.vim create mode 160000 .vim/bundle/vim-fugitive create mode 100644 .vim/colors/gruvbox-hard.vim create mode 100755 .vim/colors/horizon.vim create mode 100755 .vimrc diff --git a/.vim/bundle/Vundle.vim b/.vim/bundle/Vundle.vim new file mode 160000 index 0000000..9a38216 --- /dev/null +++ b/.vim/bundle/Vundle.vim @@ -0,0 +1 @@ +Subproject commit 9a38216a1c0c597f978d73547d37681fc689c90d diff --git a/.vim/bundle/YouCompleteMe b/.vim/bundle/YouCompleteMe new file mode 160000 index 0000000..fa92f40 --- /dev/null +++ b/.vim/bundle/YouCompleteMe @@ -0,0 +1 @@ +Subproject commit fa92f40d0209469a037196fdc3d949ae29d0c30a diff --git a/.vim/bundle/indentpy.vim b/.vim/bundle/indentpy.vim new file mode 100755 index 0000000..32c773c --- /dev/null +++ b/.vim/bundle/indentpy.vim @@ -0,0 +1,196 @@ +" 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/bundle/swift.vim b/.vim/bundle/swift.vim new file mode 160000 index 0000000..5e330f0 --- /dev/null +++ b/.vim/bundle/swift.vim @@ -0,0 +1 @@ +Subproject commit 5e330f026d4184c917cc156410634551dbd9a944 diff --git a/.vim/bundle/vim-fugitive b/.vim/bundle/vim-fugitive new file mode 160000 index 0000000..881ad1e --- /dev/null +++ b/.vim/bundle/vim-fugitive @@ -0,0 +1 @@ +Subproject commit 881ad1ed0bd88acc7568c07e35daa4b81c4aa1c9 diff --git a/.vim/colors/gruvbox-hard.vim b/.vim/colors/gruvbox-hard.vim new file mode 100644 index 0000000..fe10560 --- /dev/null +++ b/.vim/colors/gruvbox-hard.vim @@ -0,0 +1,1336 @@ +" 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/colors/horizon.vim b/.vim/colors/horizon.vim new file mode 100755 index 0000000..45f6cd0 --- /dev/null +++ b/.vim/colors/horizon.vim @@ -0,0 +1,226 @@ +" 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/.vimrc b/.vimrc new file mode 100755 index 0000000..7b1dd78 --- /dev/null +++ b/.vimrc @@ -0,0 +1,32 @@ +set number +set tabstop=4 +set shiftwidth=4 +set expandtab +set runtimepath+=~/.vim/bundle/swift.vim + +set autoindent +set autoread +set encoding=utf-8 +set history=1000 +set wildignore+=*.pyc +set wrap + +set nocompatible " be iMproved, required +filetype off " required + +" set the runtime path to include Vundle and initialize +set rtp+=~/.vim/bundle/Vundle.vim +call vundle#begin() +" alternatively, pass a path where Vundle should install plugins +"call vundle#begin('~/some/path/here') + +" let Vundle manage Vundle, required +Plugin 'VundleVim/Vundle.vim' +Plugin 'airblade/vim-gitgutter' +Plugin 'davidhalter/jedi-vim' + +call vundle#end() " required +filetype plugin indent on " required + +syntax on +colorscheme gruvbox-hard -- cgit v1.2.3-18-g5258