1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 00:39:02 -08:00

more refactoring this dumb theme

This commit is contained in:
Connor Olding 2015-04-03 01:32:08 -07:00
parent e96b5b30a5
commit 4aa47ba39d

View file

@ -38,250 +38,267 @@ fun <SID>X(group, fg, bg, attr)
if a:attr != "" | exec "hi " . a:group . " gui=" . a:attr | endif
endfun
" Vim Highlighting
call <SID>X("Normal", s:foreground, s:background, "")
call <SID>X("LineNr", s:selection, "", "")
call <SID>X("NonText", s:selection, "", "")
call <SID>X("SpecialKey", s:selection, "", "")
call <SID>X("Search", s:background, s:yellow, "")
call <SID>X("TabLine", s:window, s:foreground, "reverse")
call <SID>X("TabLineFill", s:window, s:foreground, "reverse")
call <SID>X("StatusLine", s:window, s:yellow, "reverse")
call <SID>X("StatusLineNC", s:window, s:foreground, "reverse")
call <SID>X("VertSplit", s:window, s:window, "none")
call <SID>X("Visual", "", s:selection, "")
call <SID>X("Directory", s:blue, "", "")
call <SID>X("ModeMsg", s:green, "", "")
call <SID>X("MoreMsg", s:green, "", "")
call <SID>X("Question", s:green, "", "")
call <SID>X("WarningMsg", s:red, "", "")
call <SID>X("MatchParen", "", s:selection, "")
call <SID>X("Folded", s:comment, s:background, "")
call <SID>X("FoldColumn", "", s:background, "")
if version >= 700
call <SID>X("CursorLine", "", s:line, "none")
call <SID>X("CursorColumn", "", s:line, "none")
call <SID>X("PMenu", s:foreground, s:selection, "none")
call <SID>X("PMenuSel", s:foreground, s:selection, "reverse")
call <SID>X("SignColumn", "", s:background, "none")
end
if version >= 703
call <SID>X("ColorColumn", "", s:line, "none")
end
"exec 'normal yiw' | exec '%s/'.@0.'$//gn'
" Standard Highlighting
call <SID>X("Comment", s:comment, "", "")
call <SID>X("Todo", s:comment, s:background, "")
call <SID>X("Title", s:comment, "", "")
call <SID>X("Identifier", s:red, "", "none")
call <SID>X("Statement", s:foreground, "", "")
call <SID>X("Conditional", s:foreground, "", "")
call <SID>X("Repeat", s:foreground, "", "")
call <SID>X("Structure", s:purple, "", "")
call <SID>X("Function", s:blue, "", "")
call <SID>X("Constant", s:orange, "", "")
call <SID>X("Keyword", s:orange, "", "")
call <SID>X("String", s:green, "", "")
call <SID>X("Special", s:foreground, "", "")
call <SID>X("PreProc", s:purple, "", "")
call <SID>X("Operator", s:aqua, "", "none")
call <SID>X("Type", s:blue, "", "none")
call <SID>X("Define", s:purple, "", "none")
call <SID>X("Include", s:blue, "", "")
"call <SID>X("Ignore", "666666", "", "")
call <SID>X("Normal", s:foreground, s:background, "")
call <SID>X("_Aqua", s:aqua, "", "") " 3
call <SID>X("_Blue", s:blue, "", "") " 27
call <SID>X("_Comment", s:comment, "", "") " 6
call <SID>X("_Green", s:green, "", "") " 18
call <SID>X("_Orange", s:orange, "", "") " 23
call <SID>X("_Plain", s:foreground, "", "") " 12
call <SID>X("_Purple", s:purple, "", "") " 52
call <SID>X("_Red", s:red, "", "") " 10
call <SID>X("_Selection", s:selection, "", "") " 3
" Vim Highlighting
call <SID>X("vimCommand", s:red, "", "none")
call <SID>X("_AquaNone", s:aqua, "", "none") " 1
call <SID>X("_BlueNone", s:blue, "", "none") " 1
call <SID>X("_Bold", "", "", "bold") " 1
call <SID>X("_LineBGNone", "", s:line, "none") " 3
call <SID>X("_RedNone", s:red, "", "none") " 2
call <SID>X("_SelectBG", "", s:selection, "") " 2
call <SID>X("_LineBlue", s:line, s:blue, "") " 1
call <SID>X("_PurpleNone", s:purple, "", "none") " 1
" C Highlighting
call <SID>X("cType", s:yellow, "", "")
call <SID>X("cStorageClass", s:purple, "", "")
call <SID>X("cConditional", s:purple, "", "")
call <SID>X("cRepeat", s:purple, "", "")
call <SID>X("_AquaPlainNone", s:aqua, s:background, "none") " 1
call <SID>X("_CommentPlain", s:comment, s:background, "") " 2
call <SID>X("_PlainBG", "", s:background, "") " 1
call <SID>X("_PlainBGNone", "", s:background, "none") " 1
call <SID>X("_RedBGPlain", s:background, s:red, "") " 1
call <SID>X("_YellowPlainNone", s:yellow, s:background, "none") " 1
" PHP Highlighting
call <SID>X("phpVarSelector", s:red, "", "")
call <SID>X("phpKeyword", s:purple, "", "")
call <SID>X("phpRepeat", s:purple, "", "")
call <SID>X("phpConditional", s:purple, "", "")
call <SID>X("phpStatement", s:purple, "", "")
call <SID>X("phpMemberSelector", s:foreground, "", "")
call <SID>X("_OrangePlainNone", s:orange, s:background, "none") " 1
call <SID>X("_PurplePlainNone", s:purple, s:background, "none") " 1
" Ruby Highlighting
call <SID>X("rubySymbol", s:green, "", "")
call <SID>X("rubyConstant", s:yellow, "", "")
call <SID>X("rubyAccess", s:yellow, "", "")
call <SID>X("rubyAttribute", s:blue, "", "")
call <SID>X("rubyInclude", s:blue, "", "")
call <SID>X("rubyLocalVariableOrMethod", s:orange, "", "")
call <SID>X("rubyCurlyBlock", s:orange, "", "")
call <SID>X("rubyStringDelimiter", s:green, "", "")
call <SID>X("rubyInterpolationDelimiter", s:orange, "", "")
call <SID>X("rubyConditional", s:purple, "", "")
call <SID>X("rubyRepeat", s:purple, "", "")
call <SID>X("rubyControl", s:purple, "", "")
call <SID>X("rubyException", s:purple, "", "")
call <SID>X("_Search", s:background, s:yellow, "") " 1
call <SID>X("_TabLine", s:window, s:foreground, "reverse") " 3
call <SID>X("_VertSplit", s:window, s:window, "none") " 1
call <SID>X("_StatusLine", s:window, s:yellow, "reverse") " 1
call <SID>X("_PMenu", s:foreground, s:selection, "none") " 1
call <SID>X("_PMenuSel", s:foreground, s:selection, "reverse") " 1
call <SID>X("_diffAdd", "", "4c4e39", "") " 1
call <SID>X("_diffChange", "", "2b5b77", "") " 1
" Crystal Highlighting
call <SID>X("crystalSymbol", s:green, "", "")
call <SID>X("crystalConstant", s:yellow, "", "")
call <SID>X("crystalAccess", s:yellow, "", "")
call <SID>X("crystalAttribute", s:blue, "", "")
call <SID>X("crystalInclude", s:blue, "", "")
call <SID>X("crystalLocalVariableOrMethod", s:orange, "", "")
call <SID>X("crystalCurlyBlock", s:orange, "", "")
call <SID>X("crystalStringDelimiter", s:green, "", "")
call <SID>X("crystalInterpolationDelimiter", s:orange, "", "")
call <SID>X("crystalConditional", s:purple, "", "")
call <SID>X("crystalRepeat", s:purple, "", "")
call <SID>X("crystalControl", s:purple, "", "")
call <SID>X("crystalException", s:purple, "", "")
" Python Highlighting
call <SID>X("pythonInclude", s:purple, "", "")
call <SID>X("pythonStatement", s:purple, "", "")
call <SID>X("pythonConditional", s:purple, "", "")
call <SID>X("pythonRepeat", s:purple, "", "")
call <SID>X("pythonException", s:purple, "", "")
call <SID>X("pythonFunction", s:blue, "", "")
call <SID>X("pythonPreCondit", s:purple, "", "")
call <SID>X("pythonRepeat", s:aqua, "", "")
call <SID>X("pythonExClass", s:orange, "", "")
" JavaScript Highlighting
call <SID>X("javaScriptBraces", s:foreground, "", "")
call <SID>X("javaScriptFunction", s:purple, "", "")
call <SID>X("javaScriptConditional", s:purple, "", "")
call <SID>X("javaScriptRepeat", s:purple, "", "")
call <SID>X("javaScriptNumber", s:orange, "", "")
call <SID>X("javaScriptMember", s:orange, "", "")
call <SID>X("javascriptNull", s:orange, "", "")
call <SID>X("javascriptGlobal", s:blue, "", "")
call <SID>X("javascriptStatement", s:red, "", "")
" CoffeeScript Highlighting
call <SID>X("coffeeRepeat", s:purple, "", "")
call <SID>X("coffeeConditional", s:purple, "", "")
call <SID>X("coffeeKeyword", s:purple, "", "")
call <SID>X("coffeeObject", s:yellow, "", "")
" HTML Highlighting
call <SID>X("htmlTag", s:red, "", "")
call <SID>X("htmlTagName", s:red, "", "")
call <SID>X("htmlArg", s:red, "", "")
call <SID>X("htmlScriptTag", s:red, "", "")
" Diff Highlighting
call <SID>X("diffAdd", "", "4c4e39", "")
call <SID>X("diffDelete", s:background, s:red, "")
call <SID>X("diffChange", "", "2B5B77", "")
call <SID>X("diffText", s:line, s:blue, "")
" ShowMarks Highlighting
call <SID>X("ShowMarksHLl", s:orange, s:background, "none")
call <SID>X("ShowMarksHLo", s:purple, s:background, "none")
call <SID>X("ShowMarksHLu", s:yellow, s:background, "none")
call <SID>X("ShowMarksHLm", s:aqua, s:background, "none")
" Lua Highlighting
call <SID>X("luaStatement", s:purple, "", "")
call <SID>X("luaRepeat", s:purple, "", "")
call <SID>X("luaCondStart", s:purple, "", "")
call <SID>X("luaCondElseif", s:purple, "", "")
call <SID>X("luaCond", s:purple, "", "")
call <SID>X("luaCondEnd", s:purple, "", "")
" Cucumber Highlighting
call <SID>X("cucumberGiven", s:blue, "", "")
call <SID>X("cucumberGivenAnd", s:blue, "", "")
" Go Highlighting
call <SID>X("goDirective", s:purple, "", "")
call <SID>X("goDeclaration", s:purple, "", "")
call <SID>X("goStatement", s:purple, "", "")
call <SID>X("goConditional", s:purple, "", "")
call <SID>X("goConstants", s:orange, "", "")
call <SID>X("goTodo", s:yellow, "", "")
call <SID>X("goDeclType", s:blue, "", "")
call <SID>X("goBuiltins", s:purple, "", "")
call <SID>X("goRepeat", s:purple, "", "")
call <SID>X("goLabel", s:purple, "", "")
" Clojure Highlighting
call <SID>X("clojureConstant", s:orange, "", "")
call <SID>X("clojureBoolean", s:orange, "", "")
call <SID>X("clojureCharacter", s:orange, "", "")
call <SID>X("clojureKeyword", s:green, "", "")
call <SID>X("clojureNumber", s:orange, "", "")
call <SID>X("clojureString", s:green, "", "")
call <SID>X("clojureRegexp", s:green, "", "")
call <SID>X("clojureParen", s:aqua, "", "")
call <SID>X("clojureVariable", s:yellow, "", "")
call <SID>X("clojureCond", s:blue, "", "")
call <SID>X("clojureDefine", s:purple, "", "")
call <SID>X("clojureException", s:red, "", "")
call <SID>X("clojureFunc", s:blue, "", "")
call <SID>X("clojureMacro", s:blue, "", "")
call <SID>X("clojureRepeat", s:blue, "", "")
call <SID>X("clojureSpecial", s:purple, "", "")
call <SID>X("clojureQuote", s:blue, "", "")
call <SID>X("clojureUnquote", s:blue, "", "")
call <SID>X("clojureMeta", s:blue, "", "")
call <SID>X("clojureDeref", s:blue, "", "")
call <SID>X("clojureAnonArg", s:blue, "", "")
call <SID>X("clojureRepeat", s:blue, "", "")
call <SID>X("clojureDispatch", s:blue, "", "")
" Scala Highlighting
call <SID>X("scalaKeyword", s:purple, "", "")
call <SID>X("scalaKeywordModifier", s:purple, "", "")
call <SID>X("scalaOperator", s:blue, "", "")
call <SID>X("scalaPackage", s:red, "", "")
call <SID>X("scalaFqn", s:foreground, "", "")
call <SID>X("scalaFqnSet", s:foreground, "", "")
call <SID>X("scalaImport", s:purple, "", "")
call <SID>X("scalaBoolean", s:orange, "", "")
call <SID>X("scalaDef", s:purple, "", "")
call <SID>X("scalaVal", s:purple, "", "")
call <SID>X("scalaVar", s:aqua, "", "")
call <SID>X("scalaClass", s:purple, "", "")
call <SID>X("scalaObject", s:purple, "", "")
call <SID>X("scalaTrait", s:purple, "", "")
call <SID>X("scalaDefName", s:blue, "", "")
call <SID>X("scalaValName", s:foreground, "", "")
call <SID>X("scalaVarName", s:foreground, "", "")
call <SID>X("scalaClassName", s:foreground, "", "")
call <SID>X("scalaType", s:yellow, "", "")
call <SID>X("scalaTypeSpecializer", s:yellow, "", "")
call <SID>X("scalaAnnotation", s:orange, "", "")
call <SID>X("scalaNumber", s:orange, "", "")
call <SID>X("scalaDefSpecializer", s:yellow, "", "")
call <SID>X("scalaClassSpecializer", s:yellow, "", "")
call <SID>X("scalaBackTick", s:green, "", "")
call <SID>X("scalaRoot", s:foreground, "", "")
call <SID>X("scalaMethodCall", s:blue, "", "")
call <SID>X("scalaCaseType", s:yellow, "", "")
call <SID>X("scalaLineComment", s:comment, "", "")
call <SID>X("scalaComment", s:comment, "", "")
call <SID>X("scalaDocComment", s:comment, "", "")
call <SID>X("scalaDocTags", s:comment, "", "")
call <SID>X("scalaEmptyString", s:green, "", "")
call <SID>X("scalaMultiLineString", s:green, "", "")
call <SID>X("scalaUnicode", s:orange, "", "")
call <SID>X("scalaString", s:green, "", "")
call <SID>X("scalaStringEscape", s:green, "", "")
call <SID>X("scalaSymbol", s:orange, "", "")
call <SID>X("scalaChar", s:orange, "", "")
call <SID>X("scalaXml", s:green, "", "")
call <SID>X("scalaConstructorSpecializer", s:yellow, "", "")
call <SID>X("scalaBackTick", s:blue, "", "")
" Git
call <SID>X("diffAdded", s:green, "", "")
call <SID>X("diffRemoved", s:red, "", "")
call <SID>X("gitcommitSummary", "", "", "bold")
" Delete Functions
delf <SID>X
" Vim Highlighting
hi! link ColorColumn _LineBGNone
hi! link CursorColumn _LineBGNone
hi! link Directory _Blue
hi! link FoldColumn _PlainBGNone
hi! link Folded _CommentPlain
hi! link LineNr _Selection
hi! link MatchParen _SelectBG
hi! link ModeMsg _Green
hi! link MoreMsg _Green
hi! link NonText _Selection
hi! link PMenu _PMenu
hi! link PMenuSel _PMenuSel
hi! link Question _Green
hi! link Search _Search
hi! link SignColumn _PlainBG
hi! link SpecialKey _Selection
hi! link StatusLine _StatusLine
hi! link StatusLineNC _TabLine
hi! link TabLine _TabLine
hi! link TabLineFill _TabLine
hi! link VertSplit _VertSplit
hi! link Visual _SelectBG
hi! link WarningMsg _Red
" Standard Highlighting
hi! link Comment _Comment
hi! link Conditional _Plain
hi! link Constant _Orange
hi! link CursorLine _LineBGNone
hi! link Define _PurpleNone
hi! link Function _Blue
hi! link Identifier _RedNone
hi! link Include _Blue
hi! link Keyword _Orange
hi! link Operator _AquaNone
hi! link PreProc _Purple
hi! link Repeat _Plain
hi! link Special _Plain
hi! link Statement _Plain
hi! link String _Green
hi! link Structure _Purple
hi! link Title _Comment
hi! link Todo _CommentPlain
hi! link Type _BlueNone
hi link vimCommand _RedNone
hi link ShowMarksHLl _OrangePlainNone
hi link ShowMarksHLm _AquaPlainNone
hi link ShowMarksHLo _PurplePlainNone
hi link ShowMarksHLu _YellowPlainNone
hi link cConditional _Purple
hi link cRepeat _Purple
hi link cStorageClass _Purple
hi link cType _Yellow
hi link clojureAnonArg _Blue
hi link clojureBoolean _Orange
hi link clojureCharacter _Orange
hi link clojureCond _Blue
hi link clojureConstant _Orange
hi link clojureDefine _Purple
hi link clojureDeref _Blue
hi link clojureDispatch _Blue
hi link clojureException _Red
hi link clojureFunc _Blue
hi link clojureKeyword _Green
hi link clojureMacro _Blue
hi link clojureMeta _Blue
hi link clojureNumber _Orange
hi link clojureParen _Aqua
hi link clojureQuote _Blue
hi link clojureRegexp _Green
hi link clojureRepeat _Blue
hi link clojureRepeat _Blue
hi link clojureSpecial _Purple
hi link clojureString _Green
hi link clojureUnquote _Blue
hi link clojureVariable _Yellow
hi link coffeeConditional _Purple
hi link coffeeKeyword _Purple
hi link coffeeObject _Yellow
hi link coffeeRepeat _Purple
hi link crystalAccess _Yellow
hi link crystalAttribute _Blue
hi link crystalConditional _Purple
hi link crystalConstant _Yellow
hi link crystalControl _Purple
hi link crystalCurlyBlock _Orange
hi link crystalException _Purple
hi link crystalInclude _Blue
hi link crystalInterpolationDelimiter _Orange
hi link crystalLocalVariableOrMethod _Orange
hi link crystalRepeat _Purple
hi link crystalStringDelimiter _Green
hi link crystalSymbol _Green
hi link cucumberGiven _Blue
hi link cucumberGivenAnd _Blue
hi link diffAdd _diffAdd
hi link diffChange _diffChange
hi link diffDelete _RedBGPlain
hi link diffText _LineBlue
hi link diffAdded _Green
hi link diffRemoved _Red
hi link gitcommitSummary _Bold
hi link goBuiltins _Purple
hi link goConditional _Purple
hi link goConstants _Orange
hi link goDeclType _Blue
hi link goDeclaration _Purple
hi link goDirective _Purple
hi link goLabel _Purple
hi link goRepeat _Purple
hi link goStatement _Purple
hi link goTodo _Yellow
hi link htmlArg _Red
hi link htmlScriptTag _Red
hi link htmlTag _Red
hi link htmlTagName _Red
hi link javaScriptBraces _Plain
hi link javaScriptConditional _Purple
hi link javaScriptFunction _Purple
hi link javaScriptMember _Orange
hi link javaScriptNumber _Orange
hi link javaScriptRepeat _Purple
hi link javascriptGlobal _Blue
hi link javascriptNull _Orange
hi link javascriptStatement _Red
hi link luaCond _Purple
hi link luaCondElseif _Purple
hi link luaCondEnd _Purple
hi link luaCondStart _Purple
hi link luaRepeat _Purple
hi link luaStatement _Purple
hi link phpConditional _Purple
hi link phpKeyword _Purple
hi link phpMemberSelector _Plain
hi link phpRepeat _Purple
hi link phpStatement _Purple
hi link phpVarSelector _Red
hi link pythonConditional _Purple
hi link pythonExClass _Orange
hi link pythonException _Purple
hi link pythonFunction _Blue
hi link pythonInclude _Purple
hi link pythonPreCondit _Purple
hi link pythonRepeat _Aqua
hi link pythonRepeat _Purple
hi link pythonStatement _Purple
hi link rubyAccess _Yellow
hi link rubyAttribute _Blue
hi link rubyConditional _Purple
hi link rubyConstant _Yellow
hi link rubyControl _Purple
hi link rubyCurlyBlock _Orange
hi link rubyException _Purple
hi link rubyInclude _Blue
hi link rubyInterpolationDelimiter _Orange
hi link rubyLocalVariableOrMethod _Orange
hi link rubyRepeat _Purple
hi link rubyStringDelimiter _Green
hi link rubySymbol _Green
hi link scalaAnnotation _Orange
hi link scalaBackTick _Blue
hi link scalaBackTick _Green
hi link scalaBoolean _Orange
hi link scalaCaseType _Yellow
hi link scalaChar _Orange
hi link scalaClass _Purple
hi link scalaClassName _Plain
hi link scalaClassSpecializer _Yellow
hi link scalaComment _Comment
hi link scalaConstructorSpecializer _Yellow
hi link scalaDef _Purple
hi link scalaDefName _Blue
hi link scalaDefSpecializer _Yellow
hi link scalaDocComment _Comment
hi link scalaDocTags _Comment
hi link scalaEmptyString _Green
hi link scalaFqn _Plain
hi link scalaFqnSet _Plain
hi link scalaImport _Purple
hi link scalaKeyword _Purple
hi link scalaKeywordModifier _Purple
hi link scalaLineComment _Comment
hi link scalaMethodCall _Blue
hi link scalaMultiLineString _Green
hi link scalaNumber _Orange
hi link scalaObject _Purple
hi link scalaOperator _Blue
hi link scalaPackage _Red
hi link scalaRoot _Plain
hi link scalaString _Green
hi link scalaStringEscape _Green
hi link scalaSymbol _Orange
hi link scalaTrait _Purple
hi link scalaType _Yellow
hi link scalaTypeSpecializer _Yellow
hi link scalaUnicode _Orange
hi link scalaVal _Purple
hi link scalaValName _Plain
hi link scalaVar _Aqua
hi link scalaVarName _Plain
hi link scalaXml _Green
set background=dark