From 51c6d8cb175974131b847e91341d458b614a8750 Mon Sep 17 00:00:00 2001 From: Josh Dick Date: Tue, 10 May 2016 12:00:42 -0400 Subject: [PATCH] Alphabetize language-specific highlighting (by language, than by highlight group name) --- colors/onedark.vim | 127 +++++++++++++++++++++++---------------------- 1 file changed, 65 insertions(+), 62 deletions(-) diff --git a/colors/onedark.vim b/colors/onedark.vim index 38ba9f2..8eccfb4 100644 --- a/colors/onedark.vim +++ b/colors/onedark.vim @@ -184,16 +184,37 @@ call s:h("WildMenu", {}) " current match in 'wildmenu' completion " | Language-Specific Highlighting | " +--------------------------------+ +" CSS +call s:h("cssAttrComma", { "fg": s:purple }) +call s:h("cssAttributeSelector", { "fg": s:green }) +call s:h("cssBraces", { "fg": s:white }) +call s:h("cssClassName", { "fg": s:dark_yellow }) +call s:h("cssClassNameDot", { "fg": s:dark_yellow }) +call s:h("cssDefinition", { "fg": s:purple }) +call s:h("cssFontAttr", { "fg": s:dark_yellow }) +call s:h("cssFontDescriptor", { "fg": s:purple }) +call s:h("cssFunctionName", { "fg": s:blue }) +call s:h("cssIdentifier", { "fg": s:blue }) +call s:h("cssImportant", { "fg": s:purple }) +call s:h("cssInclude", { "fg": s:white }) +call s:h("cssIncludeKeyword", { "fg": s:purple }) +call s:h("cssMediaType", { "fg": s:dark_yellow }) +call s:h("cssProp", { "fg": s:white }) +call s:h("cssPseudoClassId", { "fg": s:dark_yellow }) +call s:h("cssSelectorOp", { "fg": s:purple }) +call s:h("cssSelectorOp2", { "fg": s:purple }) +call s:h("cssTagName", { "fg": s:red }) + " HTML -call s:h("htmlTagName", { "fg": s:red }) -call s:h("htmlSpecialTagName", { "fg": s:red }) -call s:h("htmlSpecialChar", { "fg": s:dark_yellow }) -call s:h("htmlTag", { "fg": s:white }) -call s:h("htmlLink", { "fg": s:purple }) -call s:h("htmlEndTag", { "fg": s:white }) -call s:h("htmlArg", { "fg": s:dark_yellow }) -call s:h("htmlH1", { "fg": s:white }) call s:h("Title", { "fg": s:white }) +call s:h("htmlArg", { "fg": s:dark_yellow }) +call s:h("htmlEndTag", { "fg": s:white }) +call s:h("htmlH1", { "fg": s:white }) +call s:h("htmlLink", { "fg": s:purple }) +call s:h("htmlSpecialChar", { "fg": s:dark_yellow }) +call s:h("htmlSpecialTagName", { "fg": s:red }) +call s:h("htmlTag", { "fg": s:white }) +call s:h("htmlTagName", { "fg": s:red }) " JavaScript call s:h("javaScriptBraces", { "fg": s:white }) @@ -201,64 +222,46 @@ call s:h("javaScriptIdentifier", { "fg": s:purple }) call s:h("javaScriptNull", { "fg": s:dark_yellow }) call s:h("javaScriptNumber", { "fg": s:dark_yellow }) -" CSS -call s:h("cssImportant", { "fg": s:purple }) -call s:h("cssFontDescriptor", { "fg": s:purple }) -call s:h("cssIncludeKeyword", { "fg": s:purple }) -call s:h("cssInclude", { "fg": s:white }) -call s:h("cssClassName", { "fg": s:dark_yellow }) -call s:h("cssMediaType", { "fg": s:dark_yellow }) -call s:h("cssPseudoClassId", { "fg": s:dark_yellow }) -call s:h("cssFontAttr", { "fg": s:dark_yellow }) -call s:h("cssFunctionName", { "fg": s:blue }) -call s:h("cssBraces", { "fg": s:white }) -call s:h("cssIdentifier", { "fg": s:blue }) -call s:h("cssProp", { "fg": s:white }) -call s:h("cssTagName", { "fg": s:red }) -call s:h("cssClassNameDot", { "fg": s:dark_yellow }) -call s:h("cssSelectorOp", { "fg": s:purple }) -call s:h("cssSelectorOp2", { "fg": s:purple }) -call s:h("cssAttributeSelector", { "fg": s:green }) -call s:h("cssAttrComma", { "fg": s:purple }) -call s:h("cssDefinition", { "fg": s:purple }) - -" Sass -call s:h("sassId", { "fg": s:blue }) -call s:h("sassClass", { "fg": s:dark_yellow }) -call s:h("sassInclude", { "fg": s:purple }) -call s:h("sassMedia", { "fg": s:purple }) -call s:h("sassMediaOperators", { "fg": s:white }) -call s:h("sassFor", { "fg": s:white }) -call s:h("sassFunction", { "fg": s:cyan }) -call s:h("sassMixin", { "fg": s:purple }) -call s:h("sassMixing", { "fg": s:purple }) -call s:h("sassExtend", { "fg": s:purple }) -call s:h("sassAmpersand", { "fg": s:red }) -call s:h("sassMixinName", { "fg": s:blue }) -call s:h("sassControl", { "fg": s:purple }) - -call s:h("rubyBlockParameterList", { "fg": s:red }) -call s:h("rubyControl", { "fg": s:purple }) -call s:h("rubyInterpolation", { "fg": s:cyan }) -call s:h("rubyInterpolationDelimiter", { "fg": s:red }) -call s:h("rubyClass", { "fg": s:purple}) -call s:h("rubyFunction", { "fg": s:blue}) -call s:h("rubyInterpolationDelimiter", { "fg": s:red}) -call s:h("rubySymbol", { "fg": s:cyan}) -call s:h("rubyConstant", { "fg": s:yellow}) -call s:h("rubyStringDelimiter", { "fg": s:green}) -call s:h("rubyBlockParameter", { "fg": s:red}) -call s:h("rubyInstanceVariable", { "fg": s:red}) -call s:h("rubyInclude", { "fg": s:blue}) -call s:h("rubyIncluderubyGlobalVariable", { "fg": s:red}) -call s:h("rubyGlobalVariable", { "fg": s:red}) -call s:h("rubyRegexp", { "fg": s:cyan}) -call s:h("rubyRegexpDelimiter", { "fg": s:cyan}) -call s:h("rubyEscape", { "fg": s:red}) +" JSON call s:h("jsonKeyword", { "fg": s:red }) call s:h("jsonQuote", { "fg": s:white }) call s:h("jsonString", { "fg": s:green }) +" Ruby +call s:h("rubyBlockParameter", { "fg": s:red}) +call s:h("rubyBlockParameterList", { "fg": s:red }) +call s:h("rubyClass", { "fg": s:purple}) +call s:h("rubyConstant", { "fg": s:yellow}) +call s:h("rubyControl", { "fg": s:purple }) +call s:h("rubyEscape", { "fg": s:red}) +call s:h("rubyFunction", { "fg": s:blue}) +call s:h("rubyGlobalVariable", { "fg": s:red}) +call s:h("rubyInclude", { "fg": s:blue}) +call s:h("rubyIncluderubyGlobalVariable", { "fg": s:red}) +call s:h("rubyInstanceVariable", { "fg": s:red}) +call s:h("rubyInterpolation", { "fg": s:cyan }) +call s:h("rubyInterpolationDelimiter", { "fg": s:red }) +call s:h("rubyInterpolationDelimiter", { "fg": s:red}) +call s:h("rubyRegexp", { "fg": s:cyan}) +call s:h("rubyRegexpDelimiter", { "fg": s:cyan}) +call s:h("rubyStringDelimiter", { "fg": s:green}) +call s:h("rubySymbol", { "fg": s:cyan}) + +" Sass +call s:h("sassAmpersand", { "fg": s:red }) +call s:h("sassClass", { "fg": s:dark_yellow }) +call s:h("sassControl", { "fg": s:purple }) +call s:h("sassExtend", { "fg": s:purple }) +call s:h("sassFor", { "fg": s:white }) +call s:h("sassFunction", { "fg": s:cyan }) +call s:h("sassId", { "fg": s:blue }) +call s:h("sassInclude", { "fg": s:purple }) +call s:h("sassMedia", { "fg": s:purple }) +call s:h("sassMediaOperators", { "fg": s:white }) +call s:h("sassMixin", { "fg": s:purple }) +call s:h("sassMixinName", { "fg": s:blue }) +call s:h("sassMixing", { "fg": s:purple }) + " +---------------------+ " | Plugin Highlighting | " +---------------------+