" Theme: PaperColor " Author: Nguyen Nguyen " License: MIT " Origin: http://github.com/NLKNguyen/papercolor-theme.git " " Modified from the theme 'Tomorrow' " Default GUI Colours let s:foreground = "4d4d4c" let s:background = "F5F5F5" let s:selection = "d6d6d6" let s:line = "efefef" let s:comment = "8e908c" let s:red = "df0000" let s:pink = "d7005f" let s:orange = "d75f00" " let s:yellow = "fdf6e3" let s:yellow = "ffff00" let s:green = "718c00" let s:darkgreen = "008700" let s:aqua = "3e999f" let s:blue = "4271ae" let s:darkblue = "005f87" let s:purple = "8959a8" let s:window = "efefef" set background=light hi clear syntax reset let g:colors_name = "PaperColor" if has("gui_running") || &t_Co == 88 || &t_Co == 256 " Returns an approximate grey index for the given grey level fun grey_number(x) if &t_Co == 88 if a:x < 23 return 0 elseif a:x < 69 return 1 elseif a:x < 103 return 2 elseif a:x < 127 return 3 elseif a:x < 150 return 4 elseif a:x < 173 return 5 elseif a:x < 196 return 6 elseif a:x < 219 return 7 elseif a:x < 243 return 8 else return 9 endif else if a:x < 14 return 0 else let l:n = (a:x - 8) / 10 let l:m = (a:x - 8) % 10 if l:m < 5 return l:n else return l:n + 1 endif endif endif endfun " Returns the actual grey level represented by the grey index fun grey_level(n) if &t_Co == 88 if a:n == 0 return 0 elseif a:n == 1 return 46 elseif a:n == 2 return 92 elseif a:n == 3 return 115 elseif a:n == 4 return 139 elseif a:n == 5 return 162 elseif a:n == 6 return 185 elseif a:n == 7 return 208 elseif a:n == 8 return 231 else return 255 endif else if a:n == 0 return 0 else return 8 + (a:n * 10) endif endif endfun " Returns the palette index for the given grey index fun grey_colour(n) if &t_Co == 88 if a:n == 0 return 16 elseif a:n == 9 return 79 else return 79 + a:n endif else if a:n == 0 return 16 elseif a:n == 25 return 231 else return 231 + a:n endif endif endfun " Returns an approximate colour index for the given colour level fun rgb_number(x) if &t_Co == 88 if a:x < 69 return 0 elseif a:x < 172 return 1 elseif a:x < 230 return 2 else return 3 endif else if a:x < 75 return 0 else let l:n = (a:x - 55) / 40 let l:m = (a:x - 55) % 40 if l:m < 20 return l:n else return l:n + 1 endif endif endif endfun " Returns the actual colour level for the given colour index fun rgb_level(n) if &t_Co == 88 if a:n == 0 return 0 elseif a:n == 1 return 139 elseif a:n == 2 return 205 else return 255 endif else if a:n == 0 return 0 else return 55 + (a:n * 40) endif endif endfun " Returns the palette index for the given R/G/B colour indices fun rgb_colour(x, y, z) if &t_Co == 88 return 16 + (a:x * 16) + (a:y * 4) + a:z else return 16 + (a:x * 36) + (a:y * 6) + a:z endif endfun " Returns the palette index to approximate the given R/G/B colour levels fun colour(r, g, b) " Get the closest grey let l:gx = grey_number(a:r) let l:gy = grey_number(a:g) let l:gz = grey_number(a:b) " Get the closest colour let l:x = rgb_number(a:r) let l:y = rgb_number(a:g) let l:z = rgb_number(a:b) if l:gx == l:gy && l:gy == l:gz " There are two possibilities let l:dgr = grey_level(l:gx) - a:r let l:dgg = grey_level(l:gy) - a:g let l:dgb = grey_level(l:gz) - a:b let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb) let l:dr = rgb_level(l:gx) - a:r let l:dg = rgb_level(l:gy) - a:g let l:db = rgb_level(l:gz) - a:b let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db) if l:dgrey < l:drgb " Use the grey return grey_colour(l:gx) else " Use the colour return rgb_colour(l:x, l:y, l:z) endif else " Only one possibility return rgb_colour(l:x, l:y, l:z) endif endfun " Returns the palette index to approximate the 'rrggbb' hex string fun rgb(rgb) let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0 let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0 let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0 return colour(l:r, l:g, l:b) endfun " Sets the highlighting for the given group fun X(group, fg, bg, attr) if a:fg != "" exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . rgb(a:fg) endif if a:bg != "" exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . rgb(a:bg) endif if a:attr != "" exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr endif endfun " Vim Highlighting call X("Normal", s:foreground, s:background, "") highlight LineNr term=bold cterm=NONE ctermfg=grey ctermbg=NONE gui=NONE guifg=grey guibg=NONE call X("NonText", s:selection, "", "") call X("SpecialKey", s:selection, "", "") call X("Search", s:foreground, s:yellow, "") " call X("LineNr", s:aqua, s:background, "reverse") call X("TabLine", s:aqua, s:background, "reverse") call X("TabLineFill", s:darkblue, s:foreground, "reverse") call X("TabLineSel", s:window, s:foreground, "reverse") call X("StatusLine", s:window, s:darkblue, "bold") call X("StatusLineNC", s:window, s:foreground, "reverse") call X("VertSplit", s:darkblue, s:background, "none") " call X("VertSplit", s:red, s:background, "none") call X("Visual", s:background, s:blue, "") call X("Directory", s:blue, "", "") call X("ModeMsg", s:green, "", "") call X("MoreMsg", s:green, "", "") call X("Question", s:green, "", "") call X("WarningMsg", s:pink, "", "") call X("MatchParen", "", s:selection, "") call X("Folded", s:comment, s:background, "") call X("FoldColumn", "", s:background, "") if version >= 700 call X("CursorLine", "", s:line, "none") call X("CursorColumn", "", s:line, "none") call X("PMenu", s:foreground, s:selection, "none") call X("PMenuSel", s:foreground, s:selection, "reverse") call X("SignColumn", "", s:background, "none") end if version >= 703 call X("ColorColumn", "", s:line, "none") end " Standard Highlighting call X("Comment", s:comment, "", "") call X("Todo", s:comment, s:background, "") call X("Title", s:comment, "", "") call X("Identifier", s:pink, "", "none") call X("Statement", s:pink, "", "") call X("Label", s:blue, "", "") call X("Conditional", s:purple, "", "bold") call X("Repeat", s:purple, "", "bold") call X("Structure", s:blue, "", "bold") call X("Function", s:foreground, "", "") call X("Constant", s:orange, "", "") call X("Keyword", s:orange, "", "") call X("String", s:green, "", "") call X("Special", s:foreground, "", "") " call X("PreProc", s:purple, "", "") call X("PreProc", s:blue, "", "") call X("Global", s:blue, "", "") call X("Operator", s:aqua, "", "none") call X("Type", s:pink, "", "bold") call X("Define", s:purple, "", "none") call X("Include", s:red, "", "") call X("PreCondit", s:aqua, "", "bold") call X("StorageClass", s:darkblue, "", "") call X("Todo", s:comment, "", "bold") " call X("Delimiter",s:blue, "", "") "call X("Ignore", "666666", "", "") " VimL Highlighting call X("vimCommand", s:pink, "", "none") call X("vimVar", s:darkblue, "", "") call X("vimFuncKey", s:pink, "", "") call X("vimFunction", s:blue, "", "bold") call X("vimNotFunc", s:pink, "", "") call X("vimMap", s:red, "", "") call X("vimAutoEvent", s:aqua, "", "bold") call X("vimMapModKey", s:aqua, "", "") call X("vimFuncName", s:purple, "", "") call X("vimIsCommand", s:foreground, "", "") call X("vimFuncVar", s:aqua, "", "") call X("vimLet", s:red, "", "") call X("vimMapRhsExtend", s:foreground, "", "") call X("vimCommentTitle", s:comment, "", "bold") call X("vimBracket", s:aqua, "", "") call X("vimParenSep", s:aqua, "", "") call X("vimSynType", s:green, "", "bold") call X("vimNotation", s:aqua, "", "") call X("vimOper", s:foreground, "", "") call X("vimOperParen", s:foreground, "", "") " Makefile Highlighting call X("makeIdent", s:blue, "", "") call X("makeSpecTarget", s:green, "", "") call X("makeTarget", s:red, "", "") call X("makeStatement", s:aqua, "", "bold") call X("makeCommands", s:foreground, "", "") call X("makeSpecial", s:orange, "", "bold") " CMake Highlighting call X("cmakeStatement", s:pink, "", "") call X("cmakeArguments", s:foreground, "", "") call X("cmakeVariableValue", s:blue, "", "") call X("cmakeOperators", s:red, "", "") " C Highlighting call X("cType", s:pink, "", "bold") call X("cFormat", s:green, "", "") call X("cStorageClass", s:darkblue, "", "bold") call X("cBoolean", s:darkblue, "", "") call X("cCharacter", s:green, "", "") call X("cConstant", s:comment, "", "bold") call X("cConditional", s:purple, "", "bold") call X("cSpecial", s:green, "", "bold") call X("cDefine", s:blue, "", "") call X("cNumber", s:orange, "", "") call X("cPreCondit", s:aqua, "", "") call X("cRepeat", s:purple, "", "bold") call X("cLabel",s:aqua, "", "") " call X("cAnsiFunction",s:aqua, "", "bold") " call X("cAnsiName",s:pink, "", "") call X("cDelimiter",s:blue, "", "") " call X("cBraces",s:foreground, "", "") " call X("cIdentifier",s:blue, s:pink, "") " call X("cSemiColon","", s:blue, "") call X("cOperator",s:aqua, "", "") " call X("cStatement",s:pink, "", "") call X("cFunction", s:foreground, "", "") call X("cTodo", s:comment, "", "bold") " call X("cStructure", s:blue, "", "bold") call X("cCustomParen", s:foreground, "", "") " call X("cCustomFunc", s:foreground, "", "") " call X("cUserFunction",s:blue, "", "bold") call X("cOctalZero", s:purple, "", "bold") " CPP highlighting call X("cppBoolean", s:darkblue, "", "") call X("cppSTLnamespace", s:purple, "", "") call X("cppSTLconstant", s:foreground, "", "") call X("cppSTLtype", s:foreground, "", "") call X("cppSTLexception", s:pink, "", "") call X("cppSTLfunctional", s:foreground, "", "bold") call X("cppSTLiterator", s:foreground, "", "bold") " call X("cppSTLfunction", s:aqua, "", "bold") call X("cppExceptions", s:red, "", "") call X("cppStatement", s:blue, "", "") call X("cppStorageClass", s:darkblue, "", "bold") call X("cppAccess",s:blue, "", "") " call X("cppSTL",s:blue, "", "") " Lex highlighting call X("lexCFunctions", s:foreground, "", "") call X("lexAbbrv", s:purple, "", "") call X("lexAbbrvRegExp", s:aqua, "", "") call X("lexAbbrvComment", s:comment, "", "") call X("lexBrace", s:darkblue, "", "") call X("lexPat", s:aqua, "", "") call X("lexPatComment", s:comment, "", "") call X("lexPatTag", s:orange, "", "") " call X("lexPatBlock", s:foreground, "", "bold") call X("lexSlashQuote", s:foreground, "", "") call X("lexSep", s:foreground, "", "") call X("lexStartState", s:orange, "", "") call X("lexPatTagZone", s:green, "", "bold") call X("lexMorePat", s:green, "", "bold") call X("lexOptions", s:green, "", "bold") call X("lexPatString", s:green, "", "") " Yacc highlighting call X("yaccNonterminal", s:darkblue, "", "") call X("yaccDelim", s:orange, "", "") call X("yaccInitKey", s:aqua, "", "") call X("yaccInit", s:darkblue, "", "") call X("yaccKey", s:purple, "", "") call X("yaccVar", s:aqua, "", "") " NASM highlighting call X("nasmStdInstruction", s:darkblue, "", "") call X("nasmGen08Register", s:aqua, "", "") call X("nasmGen16Register", s:aqua, "", "") call X("nasmGen32Register", s:aqua, "", "") call X("nasmGen64Register", s:aqua, "", "") call X("nasmHexNumber", s:purple, "", "") call X("nasmStorage", s:aqua, "", "bold") call X("nasmLabel", s:pink, "", "") call X("nasmDirective", s:blue, "", "bold") call X("nasmLocalLabel", s:orange, "", "") " GAS highlighting call X("gasSymbol", s:pink, "", "") call X("gasDirective", s:blue, "", "bold") call X("gasOpcode_386_Base", s:darkblue, "", "") call X("gasDecimalNumber", s:purple, "", "") call X("gasSymbolRef", s:pink, "", "") call X("gasRegisterX86", s:blue, "", "") call X("gasOpcode_P6_Base", s:darkblue, "", "") call X("gasDirectiveStore", s:foreground, "", "bold") " MIPS highlighting call X("mipsInstruction", s:pink, "", "") call X("mipsRegister", s:darkblue, "", "") call X("mipsLabel", s:aqua, "", "bold") call X("mipsDirective", s:purple, "", "bold") " Shell/Bash highlighting call X("bashStatement", s:foreground, "", "bold") call X("shDerefVar", s:aqua, "", "bold") call X("shDerefSimple", s:aqua, "", "") call X("shFunction", s:orange, "", "bold") call X("shStatement", s:foreground, "", "") call X("shLoop", s:purple, "", "bold") call X("shQuote", s:green, "", "") call X("shCaseEsac", s:aqua, "", "bold") call X("shSnglCase", s:purple, "", "none") call X("shFunctionOne", s:darkblue, "", "") call X("shCase", s:darkblue, "", "") " HTML Highlighting call X("htmlH1", s:orange, "", "bold") call X("htmlH2", s:aqua, "", "bold") call X("htmlH3", s:purple, "", "bold") call X("htmlH4", s:pink, "", "") call X("htmlTag", s:pink, "", "") call X("htmlTagName", s:pink, "", "") call X("htmlArg", s:pink, "", "") call X("htmlScriptTag", s:pink, "", "") call X("htmlBold", s:foreground, "", "bold") call X("htmlItalic", s:comment, "", "bold") call X("htmlBoldItalic", s:darkblue, "", "bold") " call X("htmlLink", s:blue, "", "bold") " Markdown Highlighting call X("markdownH1", s:pink, "", "bold") call X("markdownBlockquote", s:pink, "", "") call X("markdownCodeBlock", s:purple, "", "bold") call X("markdownLink", s:blue, "", "bold") call X("mkdCode", s:foreground, s:window, "none") call X("mkdLink", s:blue, "", "bold") call X("mkdURL", s:comment, "", "none") call X("mkdString", s:foreground, "", "none") call X("mkdBlockQuote", s:foreground, s:window, "none") call X("mkdLinkTitle", s:pink, "", "none") call X("mkdDelimiter", s:aqua, "", "") call X("mkdRule", s:pink, "", "") " Python Highlighting call X("pythonExceptions", s:red, "", "") call X("pythonException", s:purple, "", "bold") call X("pythonInclude", s:red, "", "") call X("pythonStatement", s:pink, "", "") call X("pythonConditional", s:purple, "", "bold") call X("pythonRepeat", s:purple, "", "bold") call X("pythonFunction", s:blue, "", "") call X("pythonPreCondit", s:purple, "", "") call X("pythonExClass", s:orange, "", "") call X("pythonOperator", s:aqua, "", "bold") " Java Highlighting call X("javaExternal", s:red, "", "") call X("javaAnnotation", s:orange, "", "") call X("javaTypedef", s:aqua, "", "") call X("javaClassDecl", s:blue, "", "bold") call X("javaScopeDecl", s:purple, "", "bold") call X("javaStorageClass", s:darkblue, "", "bold") call X("javaBoolean", s:darkblue, "", "") " JavaScript Highlighting " call X("javaScriptBraces", s:foreground, "", "") call X("javaScriptParens", s:blue, "", "") call X("javaScriptFunction", s:blue, "", "bold") call X("javaScriptConditional", s:purple, "", "bold") call X("javaScriptRepeat", s:purple, "", "bold") " call X("javaScriptNumber", s:orange, "", "") " call X("javaScriptMember", s:orange, "", "") " call X("javascriptNull", s:orange, "", "") " call X("javascriptGlobal", s:blue, "", "") " call X("javascriptStatement", s:pink, "", "") " Go Highlighting call X("goDirective", s:red, "", "") call X("goDeclaration", s:blue, "", "bold") call X("goStatement", s:pink, "", "") call X("goConditional", s:purple, "", "bold") call X("goConstants", s:orange, "", "") call X("goFunction", s:orange, "", "") call X("goTodo", s:comment, "", "bold") call X("goDeclType", s:blue, "", "") call X("goBuiltins", s:purple, "", "") " Systemtap Highlighting " call X("stapBlock", s:comment, "", "none") call X("stapComment", s:comment, "", "none") call X("stapProbe", s:aqua, "", "bold") call X("stapStat", s:darkblue, "", "bold") call X("stapFunc", s:foreground, "", "") call X("stapString", s:green, "", "") call X("stapTarget", s:darkblue, "", "") call X("stapStatement", s:pink, "", "") call X("stapType", s:pink, "", "bold") call X("stapSharpBang", s:comment, "", "") call X("stapDeclaration", s:pink, "", "") call X("stapCMacro", s:blue, "", "") " DTrace Highlighting call X("dtraceProbe", s:blue, "", "") call X("dtracePredicate", s:purple, "", "bold") call X("dtraceComment", s:comment, "", "") call X("dtraceFunction", s:foreground, "", "") call X("dtraceAggregatingFunction", s:blue, "", "bold") call X("dtraceStatement", s:darkblue, "", "bold") call X("dtraceIdentifier", s:pink, "", "") call X("dtraceOption", s:pink, "", "") call X("dtraceConstant", s:orange, "", "") call X("dtraceType", s:pink, "", "bold") " PlantUML Highlighting call X("plantumlPreProc", s:orange, "", "bold") call X("plantumlDirectedOrVerticalArrowRL", s:pink, "", "") call X("plantumlDirectedOrVerticalArrowLR", s:pink, "", "") call X("plantumlString", s:green, "", "") call X("plantumlActivityThing", s:purple, "", "") call X("plantumlText", s:darkblue, "", "") call X("plantumlClassPublic", s:green, "", "bold") call X("plantumlClassPrivate", s:red, "", "") call X("plantumlColonLine", s:orange, "", "") call X("plantumlClass", s:darkblue, "", "") call X("plantumlHorizontalArrow", s:pink, "", "") call X("plantumlTypeKeyword", s:blue, "", "bold") call X("plantumlKeyword", s:pink, "", "bold") call X("plantumlType", s:blue, "", "bold") call X("plantumlBlock", s:pink, "", "bold") call X("plantumlPreposition", s:orange, "", "") call X("plantumlLayout", s:blue, "", "bold") call X("plantumlNote", s:orange, "", "") call X("plantumlLifecycle", s:aqua, "", "") call X("plantumlParticipant", s:foreground, "", "bold") " Haskell Highlighting call X("haskellType", s:aqua, "", "bold") call X("haskellIdentifier", s:orange, "", "bold") call X("haskellOperators", s:pink, "", "") call X("haskellWhere", s:foreground, "", "bold") call X("haskellDelimiter", s:aqua, "", "") call X("haskellImportKeywords", s:pink, "", "") call X("haskellStatement", s:purple, "", "bold") " SQL/MySQL Highlighting call X("sqlStatement", s:darkblue, "", "") call X("sqlType", s:foreground, "", "") call X("sqlKeyword", s:pink, "", "") call X("sqlOperator", s:purple, "", "bold") call X("mysqlType", s:pink, "", "") call X("mysqlKeyword", s:darkblue, "", "") call X("mysqlOperator", s:purple, "", "bold") " Octave/MATLAB Highlighting call X("octaveVariable", s:foreground, "", "") call X("octaveDelimiter", s:pink, "", "") call X("octaveQueryVar", s:foreground, "", "") call X("octaveSemicolon", s:purple, "", "") call X("octaveFunction", s:darkblue, "", "") call X("octaveSetVar", s:blue, "", "") call X("octaveUserVar", s:foreground, "", "") call X("octaveArithmeticOperator", s:aqua, "", "") call X("octaveBeginKeyword", s:purple, "", "bold") call X("octaveElseKeyword", s:purple, "", "bold") call X("octaveEndKeyword", s:purple, "", "bold") call X("octaveStatement", s:pink, "", "") " Ruby Highlighting call X("rubyClass", s:pink, "", "bold") call X("rubyPseudoVariable", s:comment, "", "bold") call X("rubyKeyword", s:pink, "", "") call X("rubyInstanceVariable", s:purple, "", "") call X("rubyFunction", s:foreground, "", "bold") call X("rubyDefine", s:pink, "", "") call X("rubySymbol", s:green, "", "") call X("rubyConstant", s:blue, "", "") call X("rubyAccess", s:darkblue, "", "bold") call X("rubyAttribute", s:aqua, "", "") call X("rubyInclude", s:red, "", "") call X("rubyLocalVariableOrMethod", s:orange, "", "") call X("rubyCurlyBlock", s:foreground, "", "") call X("rubyCurlyBlockDelimiter", s:aqua, "", "") call X("rubyArrayDelimiter", s:aqua, "", "") call X("rubyStringDelimiter", s:green, "", "") call X("rubyInterpolationDelimiter", s:orange, "", "") call X("rubyConditional", s:purple, "", "bold") call X("rubyRepeat", s:purple, "", "bold") call X("rubyControl", s:purple, "", "bold") call X("rubyException", s:purple, "", "bold") call X("rubyExceptional", s:purple, "", "bold") " Fortran Highlighting call X("fortranUnitHeader", s:foreground, "", "bold") call X("fortranType", s:pink, "", "bold") call X("fortranStructure", s:blue, "", "bold") call X("fortranStorageClass", s:darkblue, "", "bold") call X("fortranStorageClassR", s:darkblue, "", "bold") call X("fortranKeyword", s:pink, "", "") call X("fortranReadWrite", s:blue, "", "") call X("fortranIO", s:darkblue, "", "") " R Highlighting call X("rType", s:blue, "", "") call X("rArrow", s:pink, "", "") call X("rDollar", s:blue, "", "") " XXD Highlighting call X("xxdAddress", s:darkblue, "", "") call X("xxdSep", s:pink, "", "") call X("xxdAscii", s:pink, "", "") call X("xxdDot", s:aqua, "", "") " Plugin: Netrw call X("netrwVersion", s:red, "", "") call X("netrwList", s:pink, "", "") call X("netrwHidePat", s:green, "", "") call X("netrwQuickHelp", s:blue, "", "") call X("netrwHelpCmd", s:blue, "", "") call X("netrwDir", s:aqua, "", "bold") call X("netrwClassify", s:pink, "", "") call X("netrwExe", s:darkgreen, "", "") call X("netrwSuffixes", s:comment, "", "") " Plugin: NERDTree call X("NERDTreeUp", s:comment, "", "") call X("NERDTreeHelpCommand", s:pink, "", "") call X("NERDTreeHelpTitle", s:blue, "", "bold") call X("NERDTreeHelpKey", s:pink, "", "") call X("NERDTreeHelp", s:foreground, "", "") call X("NERDTreeToggleOff", s:red, "", "") call X("NERDTreeToggleOn", s:darkgreen, "", "") call X("NERDTreeDir", s:aqua, "", "bold") call X("NERDTreeExecFile", s:darkgreen, "", "") " Plugin: Tagbar call X("TagbarHelpTitle", s:blue, "", "bold") call X("TagbarHelp", s:foreground, "", "") call X("TagbarKind", s:pink, "", "") call X("TagbarSignature", s:aqua, "", "") "===================================================================== " SYNTAX HIGHLIGHTING CODE BELOW THIS LINE ISN'T TESTED FOR THIS THEME "===================================================================== " " PHP Highlighting " call X("phpVarSelector", s:pink, "", "") " call X("phpKeyword", s:purple, "", "") " call X("phpRepeat", s:purple, "", "") " call X("phpConditional", s:purple, "", "") " call X("phpStatement", s:purple, "", "") " call X("phpMemberSelector", s:foreground, "", "") " " CoffeeScript Highlighting " call X("coffeeRepeat", s:purple, "", "") " call X("coffeeConditional", s:purple, "", "") " call X("coffeeKeyword", s:purple, "", "") " call X("coffeeObject", s:yellow, "", "") " " ShowMarks Highlighting " call X("ShowMarksHLl", s:orange, s:background, "none") " call X("ShowMarksHLo", s:purple, s:background, "none") " call X("ShowMarksHLu", s:yellow, s:background, "none") " call X("ShowMarksHLm", s:aqua, s:background, "none") " " Lua Highlighting " call X("luaStatement", s:purple, "", "") " call X("luaRepeat", s:purple, "", "") " call X("luaCondStart", s:purple, "", "") " call X("luaCondElseif", s:purple, "", "") " call X("luaCond", s:purple, "", "") " call X("luaCondEnd", s:purple, "", "") " " Cucumber Highlighting " call X("cucumberGiven", s:blue, "", "") " call X("cucumberGivenAnd", s:blue, "", "") " " Clojure "highlighting " call X("clojureConstant", s:orange, "", "") " call X("clojureBoolean", s:orange, "", "") " call X("clojureCharacter", s:orange, "", "") " call X("clojureKeyword", s:green, "", "") " call X("clojureNumber", s:orange, "", "") " call X("clojureString", s:green, "", "") " call X("clojureRegexp", s:green, "", "") " call X("clojureParen", s:aqua, "", "") " call X("clojureVariable", s:yellow, "", "") " call X("clojureCond", s:blue, "", "") " call X("clojureDefine", s:purple, "", "") " call X("clojureException", s:pink, "", "") " call X("clojureFunc", s:blue, "", "") " call X("clojureMacro", s:blue, "", "") " call X("clojureRepeat", s:blue, "", "") " call X("clojureSpecial", s:purple, "", "") " call X("clojureQuote", s:blue, "", "") " call X("clojureUnquote", s:blue, "", "") " call X("clojureMeta", s:blue, "", "") " call X("clojureDeref", s:blue, "", "") " call X("clojureAnonArg", s:blue, "", "") " call X("clojureRepeat", s:blue, "", "") " call X("clojureDispatch", s:blue, "", "") " " Scala "highlighting " call X("scalaKeyword", s:purple, "", "") " call X("scalaKeywordModifier", s:purple, "", "") " call X("scalaOperator", s:blue, "", "") " call X("scalaPackage", s:pink, "", "") " call X("scalaFqn", s:foreground, "", "") " call X("scalaFqnSet", s:foreground, "", "") " call X("scalaImport", s:purple, "", "") " call X("scalaBoolean", s:orange, "", "") " call X("scalaDef", s:purple, "", "") " call X("scalaVal", s:purple, "", "") " call X("scalaVar", s:aqua, "", "") " call X("scalaClass", s:purple, "", "") " call X("scalaObject", s:purple, "", "") " call X("scalaTrait", s:purple, "", "") " call X("scalaDefName", s:blue, "", "") " call X("scalaValName", s:foreground, "", "") " call X("scalaVarName", s:foreground, "", "") " call X("scalaClassName", s:foreground, "", "") " call X("scalaType", s:yellow, "", "") " call X("scalaTypeSpecializer", s:yellow, "", "") " call X("scalaAnnotation", s:orange, "", "") " call X("scalaNumber", s:orange, "", "") " call X("scalaDefSpecializer", s:yellow, "", "") " call X("scalaClassSpecializer", s:yellow, "", "") " call X("scalaBackTick", s:green, "", "") " call X("scalaRoot", s:foreground, "", "") " call X("scalaMethodCall", s:blue, "", "") " call X("scalaCaseType", s:yellow, "", "") " call X("scalaLineComment", s:comment, "", "") " call X("scalaComment", s:comment, "", "") " call X("scalaDocComment", s:comment, "", "") " call X("scalaDocTags", s:comment, "", "") " call X("scalaEmptyString", s:green, "", "") " call X("scalaMultiLineString", s:green, "", "") " call X("scalaUnicode", s:orange, "", "") " call X("scalaString", s:green, "", "") " call X("scalaStringEscape", s:green, "", "") " call X("scalaSymbol", s:orange, "", "") " call X("scalaChar", s:orange, "", "") " call X("scalaXml", s:green, "", "") " call X("scalaConstructorSpecializer", s:yellow, "", "") " call X("scalaBackTick", s:blue, "", "") " Git call X("diffAdded", s:green, "", "") call X("diffRemoved", s:pink, "", "") call X("gitcommitSummary", "", "", "bold") " Delete Functions delf X delf rgb delf colour delf rgb_colour delf rgb_level delf rgb_number delf grey_colour delf grey_level delf grey_number endif