" property16.vim by notwa let s:k="0" let s:r="1" let s:g="2" let s:y="3" let s:b="4" let s:m="5" let s:c="6" let s:w="7" let s:K="8" let s:R="9" let s:G="10" let s:Y="11" let s:B="12" let s:M="13" let s:C="14" let s:W="15" " Theme setup hi clear syntax reset let g:colors_name = "property16" let g:airline_theme='tomorrow' set background=dark " Highlighting function fu! X(group, fg, bg) let l:fg=a:fg let l:bg=a:bg if a:fg != "" | exec "hi! ".a:group." ctermfg=".l:fg | endif if a:bg != "" | exec "hi! ".a:group." ctermbg=".l:bg | endif exec "hi! ".a:group." cterm=NONE" endfun " Interface call X("Normal", s:w, s:k) " good call X("Bold", s:W, "") " good call X("Italic", s:c, "") " good call X("Underlined", s:M, "") " okay call X("LineNr", s:K, "") " good call X("Search", s:k, s:Y) " good call X("VertSplit", s:K, s:K) " good call X("Folded", s:K, s:k) " good ", call X("Error", s:k, s:R) call X("Exception", s:y, "") " C++ exceptions, i think call X("ErrorMsg", s:k, s:R) call X("TabLineSel", s:k, s:Y) " okay call X("Visual", s:k, s:C) " okay call X("ColorColumn", "", s:K) " okay call X("MatchParen", s:W, s:c) " okay call X("Directory", s:B, s:k) " airline: normal mode indicator call X("CursorLine", s:w, "") " airline: plain center text stuff call X("PMenu", s:k, s:K) " airline: branch and fileformat call X("NonText", s:K, "") " inactive status lines? bg doesn't work? call X("TabLine", s:w, "") call X("CursorColumn", s:w, "") call X("SpecialKey", s:K, "") call X("SignColumn", s:K, "") ", call X("FoldColumn", s:k, "") call X("Title", s:y, "") " used for tab line actually? call X("ModeMsg", s:G, "") " --- VISUAL BLOCK --- call X("WarningMsg", s:r, "") " search hit BOTTOM "TODO, call X("TooLong", s:R, "") call X("PMenuSel", s:w, "") call X("MoreMsg", s:w, "") call X("Question", s:w, "") ", " Syntax highlighting, ", call X("Comment", s:c, "") " good call X("Todo", s:k, s:G) " good call X("Number", s:r, "") " good ", call X("Constant", s:r, "") call X("String", s:r, "") call X("Structure", s:m, "") call X("Operator", s:m, "") call X("Repeat", s:m, "") call X("Conditional", s:m, "") call X("Type", s:m, "") call X("Delimiter", s:C, "") call X("PreProc", s:C, "") call X("Special", s:W, "") call X("Statement", s:W, "") " maybe set same as structure? call X("Identifier", s:B, "") call X("Function", s:b, "") call X("Keyword", s:b, "") call X("Define", s:b, "") call X("Include", s:b, "") call X("Typedef", s:b, "") " call X("Something", s:g, "") " TODO: Vim editor colors "Conceal" "Cursor" "CursorLineNr" "Debug" "IncSearch" "Macro" "StatusLine" "StatusLineNC" "TabLineFill" "VisualNOS" "WildMenu" " TODO: Standard syntax highlighting "Boolean" "Character" "Float" "Label" "SpecialChar" "StorageClass" "Tag" "Typedef" hi link vimCommand Keyword hi link vimCommentString Comment hi link vimFuncVar Normal hi link vimVar Normal hi link pythonBoolean Constant hi link pythonBuiltin Function hi link pythonBuiltinFunc Function hi link pythonConditional Conditional hi link pythonException Structure hi link pythonImport Function hi link pythonInclude Function hi link pythonOperator Structure hi link pythonRepeat Repeat hi link pythonRun Comment hi link pythonStatement Structure hi link luaCond Conditional hi link luaCondElseif Conditional hi link luaCondEnd Conditional hi link luaCondStart Conditional hi link luaFunc Function hi link luaFunction Function hi link luaRepeat Repeat hi link luaStatement Structure delf X " C highlighting "cCharacter" "cDefine" "cInclude" "cLabel" "cOperator" "cPreCondit" "cPreProc" "cRepeat" "cStatement" "cStorageClass" "cType" "cUserLabel" " (polyglot) hi link cCustomFunc Something " C++ highlighting "cppExceptions" "cppOperator" "cppStatement" "cppStorageClass" "cppType" "cppModifier" " C# highlighting "csClass" "csAttribute" "csModifier" "csType" "csUnspecifiedStatement" "csContextualStatement" "csNewDecleration" " CSS highlighting "cssBraces" "cssClassName" "cssColor" " Diff highlighting "DiffAdd" "DiffChange" "DiffDelete" "DiffText" "DiffAdded" "DiffFile" "DiffNewFile" "DiffLine" "DiffRemoved" " Git highlighting "gitCommitOverflow" "gitCommitSummary" " GitGutter highlighting "GitGutterAdd" "GitGutterChange" "GitGutterDelete" "GitGutterChangeDelete" " HTML highlighting "htmlBold" "htmlItalic" "htmlEndTag" "htmlTag" " JavaScript highlighting "javaScript" "javaScriptBraces" "javaScriptNumber" " Mail highlighting "mailQuoted1" "mailQuoted2" "mailQuoted3" "mailQuoted4" "mailQuoted5" "mailQuoted6" "mailURL" "mailEmail" " Markdown highlighting "markdownCode" "markdownError" "markdownCodeBlock" "markdownHeadingDelimiter" " NERDTree highlighting "NERDTreeDirSlash" "NERDTreeExecFile" " PHP highlighting "phpMemberSelector" "phpComparison" "phpParent" " Python highlighting "pythonOperator" "pythonRepeat" " Ruby highlighting "rubyAttribute" "rubyConstant" "rubyInterpolation" "rubyInterpolationDelimiter" "rubyRegexp" "rubySymbol" "rubyStringDelimiter" " SASS highlighting "sassidChar" "sassClassChar" "sassInclude" "sassMixing" "sassMixinName" " Signify highlighting "SignifySignAdd" "SignifySignChange" "SignifySignDelete" " Spelling highlighting "SpellBad" "SpellLocal" "SpellCap" "SpellRare"