Created
July 18, 2021 01:32
-
-
Save wincent/86670e051ff309d8fecaae8e01ba5003 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/aspects/nvim/files/.vim/colors/base16-apprentice.vim b/aspects/nvim/files/.vim/colors/base16-apprentice.vim | |
new file mode 100644 | |
index 00000000..be5a96d9 | |
--- /dev/null | |
+++ b/aspects/nvim/files/.vim/colors/base16-apprentice.vim | |
@@ -0,0 +1,413 @@ | |
+" vi:syntax=vim | |
+ | |
+" base16-vim (https://github.com/chriskempson/base16-vim) | |
+" by Chris Kempson (http://chriskempson.com) | |
+" Apprentice scheme by romainl | |
+ | |
+" This enables the coresponding base16-shell script to run so that | |
+" :colorscheme works in terminals supported by base16-shell scripts | |
+" User must set this variable in .vimrc | |
+" let g:base16_shell_path=base16-builder/output/shell/ | |
+if !has("gui_running") | |
+ if exists("g:base16_shell_path") | |
+ execute "silent !/bin/sh ".g:base16_shell_path."/base16-apprentice.sh" | |
+ endif | |
+endif | |
+ | |
+" GUI color definitions | |
+let s:gui00 = "262626" | |
+let g:base16_gui00 = "262626" | |
+let s:gui01 = "303030" | |
+let g:base16_gui01 = "303030" | |
+let s:gui02 = "333333" | |
+let g:base16_gui02 = "333333" | |
+let s:gui03 = "6C6C6C" | |
+let g:base16_gui03 = "6C6C6C" | |
+let s:gui04 = "787878" | |
+let g:base16_gui04 = "787878" | |
+let s:gui05 = "BCBCBC" | |
+let g:base16_gui05 = "BCBCBC" | |
+let s:gui06 = "C9C9C9" | |
+let g:base16_gui06 = "C9C9C9" | |
+let s:gui07 = "FFFFFF" | |
+let g:base16_gui07 = "FFFFFF" | |
+let s:gui08 = "5F8787" | |
+let g:base16_gui08 = "5F8787" | |
+let s:gui09 = "FF8700" | |
+let g:base16_gui09 = "FF8700" | |
+let s:gui0A = "5F8787" | |
+let g:base16_gui0A = "5F8787" | |
+let s:gui0B = "87AF87" | |
+let g:base16_gui0B = "87AF87" | |
+let s:gui0C = "5F875F" | |
+let g:base16_gui0C = "5F875F" | |
+let s:gui0D = "FFFFAF" | |
+let g:base16_gui0D = "FFFFAF" | |
+let s:gui0E = "87AFD7" | |
+let g:base16_gui0E = "87AFD7" | |
+let s:gui0F = "5F87AF" | |
+let g:base16_gui0F = "5F87AF" | |
+ | |
+" Terminal color definitions | |
+let s:cterm00 = "00" | |
+let g:base16_cterm00 = "00" | |
+let s:cterm03 = "08" | |
+let g:base16_cterm03 = "08" | |
+let s:cterm05 = "07" | |
+let g:base16_cterm05 = "07" | |
+let s:cterm07 = "15" | |
+let g:base16_cterm07 = "15" | |
+let s:cterm08 = "01" | |
+let g:base16_cterm08 = "01" | |
+let s:cterm0A = "03" | |
+let g:base16_cterm0A = "03" | |
+let s:cterm0B = "02" | |
+let g:base16_cterm0B = "02" | |
+let s:cterm0C = "06" | |
+let g:base16_cterm0C = "06" | |
+let s:cterm0D = "04" | |
+let g:base16_cterm0D = "04" | |
+let s:cterm0E = "05" | |
+let g:base16_cterm0E = "05" | |
+if exists("base16colorspace") && base16colorspace == "256" | |
+ let s:cterm01 = "18" | |
+ let g:base16_cterm01 = "18" | |
+ let s:cterm02 = "19" | |
+ let g:base16_cterm02 = "19" | |
+ let s:cterm04 = "20" | |
+ let g:base16_cterm04 = "20" | |
+ let s:cterm06 = "21" | |
+ let g:base16_cterm06 = "21" | |
+ let s:cterm09 = "16" | |
+ let g:base16_cterm09 = "16" | |
+ let s:cterm0F = "17" | |
+ let g:base16_cterm0F = "17" | |
+else | |
+ let s:cterm01 = "10" | |
+ let g:base16_cterm01 = "10" | |
+ let s:cterm02 = "11" | |
+ let g:base16_cterm02 = "11" | |
+ let s:cterm04 = "12" | |
+ let g:base16_cterm04 = "12" | |
+ let s:cterm06 = "13" | |
+ let g:base16_cterm06 = "13" | |
+ let s:cterm09 = "09" | |
+ let g:base16_cterm09 = "09" | |
+ let s:cterm0F = "14" | |
+ let g:base16_cterm0F = "14" | |
+endif | |
+ | |
+" Neovim terminal colours | |
+if has("nvim") | |
+ let g:terminal_color_0 = "#262626" | |
+ let g:terminal_color_1 = "#5F8787" | |
+ let g:terminal_color_2 = "#87AF87" | |
+ let g:terminal_color_3 = "#5F8787" | |
+ let g:terminal_color_4 = "#FFFFAF" | |
+ let g:terminal_color_5 = "#87AFD7" | |
+ let g:terminal_color_6 = "#5F875F" | |
+ let g:terminal_color_7 = "#BCBCBC" | |
+ let g:terminal_color_8 = "#6C6C6C" | |
+ let g:terminal_color_9 = "#5F8787" | |
+ let g:terminal_color_10 = "#87AF87" | |
+ let g:terminal_color_11 = "#5F8787" | |
+ let g:terminal_color_12 = "#FFFFAF" | |
+ let g:terminal_color_13 = "#87AFD7" | |
+ let g:terminal_color_14 = "#5F875F" | |
+ let g:terminal_color_15 = "#FFFFFF" | |
+ let g:terminal_color_background = g:terminal_color_0 | |
+ let g:terminal_color_foreground = g:terminal_color_5 | |
+ if &background == "light" | |
+ let g:terminal_color_background = g:terminal_color_7 | |
+ let g:terminal_color_foreground = g:terminal_color_2 | |
+ endif | |
+elseif has("terminal") | |
+ let g:terminal_ansi_colors = [ | |
+ \ "#262626", | |
+ \ "#5F8787", | |
+ \ "#87AF87", | |
+ \ "#5F8787", | |
+ \ "#FFFFAF", | |
+ \ "#87AFD7", | |
+ \ "#5F875F", | |
+ \ "#BCBCBC", | |
+ \ "#6C6C6C", | |
+ \ "#5F8787", | |
+ \ "#87AF87", | |
+ \ "#5F8787", | |
+ \ "#FFFFAF", | |
+ \ "#87AFD7", | |
+ \ "#5F875F", | |
+ \ "#FFFFFF", | |
+ \ ] | |
+endif | |
+ | |
+" Theme setup | |
+hi clear | |
+syntax reset | |
+let g:colors_name = "base16-apprentice" | |
+ | |
+" Highlighting function | |
+" Optional variables are attributes and guisp | |
+function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...) | |
+ let l:attr = get(a:, 1, "") | |
+ let l:guisp = get(a:, 2, "") | |
+ | |
+ if a:guifg != "" | |
+ exec "hi " . a:group . " guifg=#" . a:guifg | |
+ endif | |
+ if a:guibg != "" | |
+ exec "hi " . a:group . " guibg=#" . a:guibg | |
+ endif | |
+ if a:ctermfg != "" | |
+ exec "hi " . a:group . " ctermfg=" . a:ctermfg | |
+ endif | |
+ if a:ctermbg != "" | |
+ exec "hi " . a:group . " ctermbg=" . a:ctermbg | |
+ endif | |
+ if l:attr != "" | |
+ exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr | |
+ endif | |
+ if l:guisp != "" | |
+ exec "hi " . a:group . " guisp=#" . l:guisp | |
+ endif | |
+endfunction | |
+ | |
+ | |
+fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) | |
+ call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp) | |
+endfun | |
+ | |
+" Vim editor colors | |
+call <sid>hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") | |
+call <sid>hi("Bold", "", "", "", "", "bold", "") | |
+call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Error", s:gui00, s:gui08, s:cterm00, s:cterm08, "", "") | |
+call <sid>hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") | |
+call <sid>hi("Folded", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") | |
+call <sid>hi("Italic", "", "", "", "", "none", "") | |
+call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") | |
+call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") | |
+call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") | |
+call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Underlined", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "") | |
+call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("WildMenu", s:gui08, s:gui0A, s:cterm08, "", "", "") | |
+call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") | |
+call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") | |
+call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "", "") | |
+call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("LineNr", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("SignColumn", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("StatusLine", s:gui04, s:gui02, s:cterm04, s:cterm02, "none", "") | |
+call <sid>hi("StatusLineNC", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("VertSplit", s:gui02, s:gui02, s:cterm02, s:cterm02, "none", "") | |
+call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "") | |
+call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("PMenu", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "") | |
+call <sid>hi("PMenuSel", s:gui01, s:gui05, s:cterm01, s:cterm05, "", "") | |
+call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") | |
+ | |
+" Standard syntax highlighting | |
+call <sid>hi("Boolean", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Character", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Comment", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("Conditional", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Constant", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") | |
+call <sid>hi("Delimiter", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("Float", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Function", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Identifier", s:gui08, "", s:cterm08, "", "none", "") | |
+call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Number", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none", "") | |
+call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("Statement", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("String", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("Structure", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Tag", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") | |
+call <sid>hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") | |
+call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "") | |
+ | |
+" C highlighting | |
+call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") | |
+ | |
+" C# highlighting | |
+call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") | |
+ | |
+" CSS highlighting | |
+call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "") | |
+ | |
+" Diff highlighting | |
+call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("DiffChange", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") | |
+call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") | |
+call <sid>hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") | |
+call <sid>hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+ | |
+" Git highlighting | |
+call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") | |
+call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") | |
+call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") | |
+call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "") | |
+ | |
+" GitGutter highlighting | |
+call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "") | |
+ | |
+" HTML highlighting | |
+call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "", "") | |
+ | |
+" JavaScript highlighting | |
+call <sid>hi("javaScript", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") | |
+" pangloss/vim-javascript highlighting | |
+call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") | |
+ | |
+" Mail highlighting | |
+call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Markdown highlighting | |
+call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("markdownError", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") | |
+call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" NERDTree highlighting | |
+call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "") | |
+ | |
+" PHP highlighting | |
+call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") | |
+ | |
+" Python highlighting | |
+call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+ | |
+" Ruby highlighting | |
+call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") | |
+ | |
+" SASS highlighting | |
+call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Signify highlighting | |
+call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+ | |
+" Spelling highlighting | |
+call <sid>hi("SpellBad", "", "", "", "", "undercurl", s:gui08) | |
+call <sid>hi("SpellLocal", "", "", "", "", "undercurl", s:gui0C) | |
+call <sid>hi("SpellCap", "", "", "", "", "undercurl", s:gui0D) | |
+call <sid>hi("SpellRare", "", "", "", "", "undercurl", s:gui0E) | |
+ | |
+" Startify highlighting | |
+call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") | |
+call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") | |
+ | |
+" Java highlighting | |
+call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Remove functions | |
+delf <sid>hi | |
+ | |
+" Remove color variables | |
+unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F | |
+unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F | |
diff --git a/aspects/nvim/files/.vim/colors/base16-base16-vice-scheme.vim b/aspects/nvim/files/.vim/colors/base16-base16-vice-scheme.vim | |
new file mode 100644 | |
index 00000000..648d79e0 | |
--- /dev/null | |
+++ b/aspects/nvim/files/.vim/colors/base16-base16-vice-scheme.vim | |
@@ -0,0 +1,413 @@ | |
+" vi:syntax=vim | |
+ | |
+" base16-vim (https://github.com/chriskempson/base16-vim) | |
+" by Chris Kempson (http://chriskempson.com) | |
+" vice scheme by Thomas Leon Highbaugh thighbaugh@zoho.com | |
+ | |
+" This enables the coresponding base16-shell script to run so that | |
+" :colorscheme works in terminals supported by base16-shell scripts | |
+" User must set this variable in .vimrc | |
+" let g:base16_shell_path=base16-builder/output/shell/ | |
+if !has("gui_running") | |
+ if exists("g:base16_shell_path") | |
+ execute "silent !/bin/sh ".g:base16_shell_path."/base16-base16-vice-scheme.sh" | |
+ endif | |
+endif | |
+ | |
+" GUI color definitions | |
+let s:gui00 = "17191E" | |
+let g:base16_gui00 = "17191E" | |
+let s:gui01 = "22262d" | |
+let g:base16_gui01 = "22262d" | |
+let s:gui02 = "3c3f4c" | |
+let g:base16_gui02 = "3c3f4c" | |
+let s:gui03 = "383a47" | |
+let g:base16_gui03 = "383a47" | |
+let s:gui04 = "555e70" | |
+let g:base16_gui04 = "555e70" | |
+let s:gui05 = "8b9cbe" | |
+let g:base16_gui05 = "8b9cbe" | |
+let s:gui06 = "B2BFD9" | |
+let g:base16_gui06 = "B2BFD9" | |
+let s:gui07 = "f4f4f7" | |
+let g:base16_gui07 = "f4f4f7" | |
+let s:gui08 = "ff29a8" | |
+let g:base16_gui08 = "ff29a8" | |
+let s:gui09 = "85ffe0" | |
+let g:base16_gui09 = "85ffe0" | |
+let s:gui0A = "f0ffaa" | |
+let g:base16_gui0A = "f0ffaa" | |
+let s:gui0B = "0badff" | |
+let g:base16_gui0B = "0badff" | |
+let s:gui0C = "8265ff" | |
+let g:base16_gui0C = "8265ff" | |
+let s:gui0D = "00eaff" | |
+let g:base16_gui0D = "00eaff" | |
+let s:gui0E = "00f6d9" | |
+let g:base16_gui0E = "00f6d9" | |
+let s:gui0F = "ff3d81" | |
+let g:base16_gui0F = "ff3d81" | |
+ | |
+" Terminal color definitions | |
+let s:cterm00 = "00" | |
+let g:base16_cterm00 = "00" | |
+let s:cterm03 = "08" | |
+let g:base16_cterm03 = "08" | |
+let s:cterm05 = "07" | |
+let g:base16_cterm05 = "07" | |
+let s:cterm07 = "15" | |
+let g:base16_cterm07 = "15" | |
+let s:cterm08 = "01" | |
+let g:base16_cterm08 = "01" | |
+let s:cterm0A = "03" | |
+let g:base16_cterm0A = "03" | |
+let s:cterm0B = "02" | |
+let g:base16_cterm0B = "02" | |
+let s:cterm0C = "06" | |
+let g:base16_cterm0C = "06" | |
+let s:cterm0D = "04" | |
+let g:base16_cterm0D = "04" | |
+let s:cterm0E = "05" | |
+let g:base16_cterm0E = "05" | |
+if exists("base16colorspace") && base16colorspace == "256" | |
+ let s:cterm01 = "18" | |
+ let g:base16_cterm01 = "18" | |
+ let s:cterm02 = "19" | |
+ let g:base16_cterm02 = "19" | |
+ let s:cterm04 = "20" | |
+ let g:base16_cterm04 = "20" | |
+ let s:cterm06 = "21" | |
+ let g:base16_cterm06 = "21" | |
+ let s:cterm09 = "16" | |
+ let g:base16_cterm09 = "16" | |
+ let s:cterm0F = "17" | |
+ let g:base16_cterm0F = "17" | |
+else | |
+ let s:cterm01 = "10" | |
+ let g:base16_cterm01 = "10" | |
+ let s:cterm02 = "11" | |
+ let g:base16_cterm02 = "11" | |
+ let s:cterm04 = "12" | |
+ let g:base16_cterm04 = "12" | |
+ let s:cterm06 = "13" | |
+ let g:base16_cterm06 = "13" | |
+ let s:cterm09 = "09" | |
+ let g:base16_cterm09 = "09" | |
+ let s:cterm0F = "14" | |
+ let g:base16_cterm0F = "14" | |
+endif | |
+ | |
+" Neovim terminal colours | |
+if has("nvim") | |
+ let g:terminal_color_0 = "#17191E" | |
+ let g:terminal_color_1 = "#ff29a8" | |
+ let g:terminal_color_2 = "#0badff" | |
+ let g:terminal_color_3 = "#f0ffaa" | |
+ let g:terminal_color_4 = "#00eaff" | |
+ let g:terminal_color_5 = "#00f6d9" | |
+ let g:terminal_color_6 = "#8265ff" | |
+ let g:terminal_color_7 = "#8b9cbe" | |
+ let g:terminal_color_8 = "#383a47" | |
+ let g:terminal_color_9 = "#ff29a8" | |
+ let g:terminal_color_10 = "#0badff" | |
+ let g:terminal_color_11 = "#f0ffaa" | |
+ let g:terminal_color_12 = "#00eaff" | |
+ let g:terminal_color_13 = "#00f6d9" | |
+ let g:terminal_color_14 = "#8265ff" | |
+ let g:terminal_color_15 = "#f4f4f7" | |
+ let g:terminal_color_background = g:terminal_color_0 | |
+ let g:terminal_color_foreground = g:terminal_color_5 | |
+ if &background == "light" | |
+ let g:terminal_color_background = g:terminal_color_7 | |
+ let g:terminal_color_foreground = g:terminal_color_2 | |
+ endif | |
+elseif has("terminal") | |
+ let g:terminal_ansi_colors = [ | |
+ \ "#17191E", | |
+ \ "#ff29a8", | |
+ \ "#0badff", | |
+ \ "#f0ffaa", | |
+ \ "#00eaff", | |
+ \ "#00f6d9", | |
+ \ "#8265ff", | |
+ \ "#8b9cbe", | |
+ \ "#383a47", | |
+ \ "#ff29a8", | |
+ \ "#0badff", | |
+ \ "#f0ffaa", | |
+ \ "#00eaff", | |
+ \ "#00f6d9", | |
+ \ "#8265ff", | |
+ \ "#f4f4f7", | |
+ \ ] | |
+endif | |
+ | |
+" Theme setup | |
+hi clear | |
+syntax reset | |
+let g:colors_name = "base16-base16-vice-scheme" | |
+ | |
+" Highlighting function | |
+" Optional variables are attributes and guisp | |
+function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...) | |
+ let l:attr = get(a:, 1, "") | |
+ let l:guisp = get(a:, 2, "") | |
+ | |
+ if a:guifg != "" | |
+ exec "hi " . a:group . " guifg=#" . a:guifg | |
+ endif | |
+ if a:guibg != "" | |
+ exec "hi " . a:group . " guibg=#" . a:guibg | |
+ endif | |
+ if a:ctermfg != "" | |
+ exec "hi " . a:group . " ctermfg=" . a:ctermfg | |
+ endif | |
+ if a:ctermbg != "" | |
+ exec "hi " . a:group . " ctermbg=" . a:ctermbg | |
+ endif | |
+ if l:attr != "" | |
+ exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr | |
+ endif | |
+ if l:guisp != "" | |
+ exec "hi " . a:group . " guisp=#" . l:guisp | |
+ endif | |
+endfunction | |
+ | |
+ | |
+fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) | |
+ call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp) | |
+endfun | |
+ | |
+" Vim editor colors | |
+call <sid>hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") | |
+call <sid>hi("Bold", "", "", "", "", "bold", "") | |
+call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Error", s:gui00, s:gui08, s:cterm00, s:cterm08, "", "") | |
+call <sid>hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") | |
+call <sid>hi("Folded", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") | |
+call <sid>hi("Italic", "", "", "", "", "none", "") | |
+call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") | |
+call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") | |
+call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") | |
+call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Underlined", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "") | |
+call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("WildMenu", s:gui08, s:gui0A, s:cterm08, "", "", "") | |
+call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") | |
+call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") | |
+call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "", "") | |
+call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("LineNr", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("SignColumn", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("StatusLine", s:gui04, s:gui02, s:cterm04, s:cterm02, "none", "") | |
+call <sid>hi("StatusLineNC", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("VertSplit", s:gui02, s:gui02, s:cterm02, s:cterm02, "none", "") | |
+call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "") | |
+call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("PMenu", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "") | |
+call <sid>hi("PMenuSel", s:gui01, s:gui05, s:cterm01, s:cterm05, "", "") | |
+call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") | |
+ | |
+" Standard syntax highlighting | |
+call <sid>hi("Boolean", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Character", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Comment", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("Conditional", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Constant", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") | |
+call <sid>hi("Delimiter", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("Float", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Function", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Identifier", s:gui08, "", s:cterm08, "", "none", "") | |
+call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Number", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none", "") | |
+call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("Statement", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("String", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("Structure", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Tag", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") | |
+call <sid>hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") | |
+call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "") | |
+ | |
+" C highlighting | |
+call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") | |
+ | |
+" C# highlighting | |
+call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") | |
+ | |
+" CSS highlighting | |
+call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "") | |
+ | |
+" Diff highlighting | |
+call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("DiffChange", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") | |
+call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") | |
+call <sid>hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") | |
+call <sid>hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+ | |
+" Git highlighting | |
+call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") | |
+call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") | |
+call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") | |
+call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "") | |
+ | |
+" GitGutter highlighting | |
+call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "") | |
+ | |
+" HTML highlighting | |
+call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "", "") | |
+ | |
+" JavaScript highlighting | |
+call <sid>hi("javaScript", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") | |
+" pangloss/vim-javascript highlighting | |
+call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") | |
+ | |
+" Mail highlighting | |
+call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Markdown highlighting | |
+call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("markdownError", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") | |
+call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" NERDTree highlighting | |
+call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "") | |
+ | |
+" PHP highlighting | |
+call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") | |
+ | |
+" Python highlighting | |
+call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+ | |
+" Ruby highlighting | |
+call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") | |
+ | |
+" SASS highlighting | |
+call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Signify highlighting | |
+call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+ | |
+" Spelling highlighting | |
+call <sid>hi("SpellBad", "", "", "", "", "undercurl", s:gui08) | |
+call <sid>hi("SpellLocal", "", "", "", "", "undercurl", s:gui0C) | |
+call <sid>hi("SpellCap", "", "", "", "", "undercurl", s:gui0D) | |
+call <sid>hi("SpellRare", "", "", "", "", "undercurl", s:gui0E) | |
+ | |
+" Startify highlighting | |
+call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") | |
+call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") | |
+ | |
+" Java highlighting | |
+call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Remove functions | |
+delf <sid>hi | |
+ | |
+" Remove color variables | |
+unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F | |
+unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F | |
diff --git a/vendor/base16-templates/base16-vim/colors/base16-brushtrees-dark.vim b/aspects/nvim/files/.vim/colors/base16-brushtrees-dark.vim | |
index 9654bd42..2a9c8b2f 100644 | |
--- a/vendor/base16-templates/base16-vim/colors/base16-brushtrees-dark.vim | |
+++ b/aspects/nvim/files/.vim/colors/base16-brushtrees-dark.vim | |
@@ -2,7 +2,7 @@ | |
" base16-vim (https://github.com/chriskempson/base16-vim) | |
" by Chris Kempson (http://chriskempson.com) | |
-" Brush Trees Dark scheme by Abraham White <abelincoln.white@gmail.com> | |
+" Brush Trees Dark scheme by Abraham White <abelincoln.white@gmail.com> | |
" This enables the coresponding base16-shell script to run so that | |
" :colorscheme works in terminals supported by base16-shell scripts | |
diff --git a/vendor/base16-templates/base16-vim/colors/base16-brushtrees.vim b/aspects/nvim/files/.vim/colors/base16-brushtrees.vim | |
index c207903e..0e15e4f9 100644 | |
--- a/vendor/base16-templates/base16-vim/colors/base16-brushtrees.vim | |
+++ b/aspects/nvim/files/.vim/colors/base16-brushtrees.vim | |
@@ -2,7 +2,7 @@ | |
" base16-vim (https://github.com/chriskempson/base16-vim) | |
" by Chris Kempson (http://chriskempson.com) | |
-" Brush Trees scheme by Abraham White <abelincoln.white@gmail.com> | |
+" Brush Trees scheme by Abraham White <abelincoln.white@gmail.com> | |
" This enables the coresponding base16-shell script to run so that | |
" :colorscheme works in terminals supported by base16-shell scripts | |
diff --git a/aspects/nvim/files/.vim/colors/base16-colors.vim b/aspects/nvim/files/.vim/colors/base16-colors.vim | |
new file mode 100644 | |
index 00000000..835b90a5 | |
--- /dev/null | |
+++ b/aspects/nvim/files/.vim/colors/base16-colors.vim | |
@@ -0,0 +1,413 @@ | |
+" vi:syntax=vim | |
+ | |
+" base16-vim (https://github.com/chriskempson/base16-vim) | |
+" by Chris Kempson (http://chriskempson.com) | |
+" Colors scheme by mrmrs (http://clrs.cc) | |
+ | |
+" This enables the coresponding base16-shell script to run so that | |
+" :colorscheme works in terminals supported by base16-shell scripts | |
+" User must set this variable in .vimrc | |
+" let g:base16_shell_path=base16-builder/output/shell/ | |
+if !has("gui_running") | |
+ if exists("g:base16_shell_path") | |
+ execute "silent !/bin/sh ".g:base16_shell_path."/base16-colors.sh" | |
+ endif | |
+endif | |
+ | |
+" GUI color definitions | |
+let s:gui00 = "111111" | |
+let g:base16_gui00 = "111111" | |
+let s:gui01 = "333333" | |
+let g:base16_gui01 = "333333" | |
+let s:gui02 = "555555" | |
+let g:base16_gui02 = "555555" | |
+let s:gui03 = "777777" | |
+let g:base16_gui03 = "777777" | |
+let s:gui04 = "999999" | |
+let g:base16_gui04 = "999999" | |
+let s:gui05 = "bbbbbb" | |
+let g:base16_gui05 = "bbbbbb" | |
+let s:gui06 = "dddddd" | |
+let g:base16_gui06 = "dddddd" | |
+let s:gui07 = "ffffff" | |
+let g:base16_gui07 = "ffffff" | |
+let s:gui08 = "ff4136" | |
+let g:base16_gui08 = "ff4136" | |
+let s:gui09 = "ff851b" | |
+let g:base16_gui09 = "ff851b" | |
+let s:gui0A = "ffdc00" | |
+let g:base16_gui0A = "ffdc00" | |
+let s:gui0B = "2ecc40" | |
+let g:base16_gui0B = "2ecc40" | |
+let s:gui0C = "7fdbff" | |
+let g:base16_gui0C = "7fdbff" | |
+let s:gui0D = "0074d9" | |
+let g:base16_gui0D = "0074d9" | |
+let s:gui0E = "b10dc9" | |
+let g:base16_gui0E = "b10dc9" | |
+let s:gui0F = "85144b" | |
+let g:base16_gui0F = "85144b" | |
+ | |
+" Terminal color definitions | |
+let s:cterm00 = "00" | |
+let g:base16_cterm00 = "00" | |
+let s:cterm03 = "08" | |
+let g:base16_cterm03 = "08" | |
+let s:cterm05 = "07" | |
+let g:base16_cterm05 = "07" | |
+let s:cterm07 = "15" | |
+let g:base16_cterm07 = "15" | |
+let s:cterm08 = "01" | |
+let g:base16_cterm08 = "01" | |
+let s:cterm0A = "03" | |
+let g:base16_cterm0A = "03" | |
+let s:cterm0B = "02" | |
+let g:base16_cterm0B = "02" | |
+let s:cterm0C = "06" | |
+let g:base16_cterm0C = "06" | |
+let s:cterm0D = "04" | |
+let g:base16_cterm0D = "04" | |
+let s:cterm0E = "05" | |
+let g:base16_cterm0E = "05" | |
+if exists("base16colorspace") && base16colorspace == "256" | |
+ let s:cterm01 = "18" | |
+ let g:base16_cterm01 = "18" | |
+ let s:cterm02 = "19" | |
+ let g:base16_cterm02 = "19" | |
+ let s:cterm04 = "20" | |
+ let g:base16_cterm04 = "20" | |
+ let s:cterm06 = "21" | |
+ let g:base16_cterm06 = "21" | |
+ let s:cterm09 = "16" | |
+ let g:base16_cterm09 = "16" | |
+ let s:cterm0F = "17" | |
+ let g:base16_cterm0F = "17" | |
+else | |
+ let s:cterm01 = "10" | |
+ let g:base16_cterm01 = "10" | |
+ let s:cterm02 = "11" | |
+ let g:base16_cterm02 = "11" | |
+ let s:cterm04 = "12" | |
+ let g:base16_cterm04 = "12" | |
+ let s:cterm06 = "13" | |
+ let g:base16_cterm06 = "13" | |
+ let s:cterm09 = "09" | |
+ let g:base16_cterm09 = "09" | |
+ let s:cterm0F = "14" | |
+ let g:base16_cterm0F = "14" | |
+endif | |
+ | |
+" Neovim terminal colours | |
+if has("nvim") | |
+ let g:terminal_color_0 = "#111111" | |
+ let g:terminal_color_1 = "#ff4136" | |
+ let g:terminal_color_2 = "#2ecc40" | |
+ let g:terminal_color_3 = "#ffdc00" | |
+ let g:terminal_color_4 = "#0074d9" | |
+ let g:terminal_color_5 = "#b10dc9" | |
+ let g:terminal_color_6 = "#7fdbff" | |
+ let g:terminal_color_7 = "#bbbbbb" | |
+ let g:terminal_color_8 = "#777777" | |
+ let g:terminal_color_9 = "#ff4136" | |
+ let g:terminal_color_10 = "#2ecc40" | |
+ let g:terminal_color_11 = "#ffdc00" | |
+ let g:terminal_color_12 = "#0074d9" | |
+ let g:terminal_color_13 = "#b10dc9" | |
+ let g:terminal_color_14 = "#7fdbff" | |
+ let g:terminal_color_15 = "#ffffff" | |
+ let g:terminal_color_background = g:terminal_color_0 | |
+ let g:terminal_color_foreground = g:terminal_color_5 | |
+ if &background == "light" | |
+ let g:terminal_color_background = g:terminal_color_7 | |
+ let g:terminal_color_foreground = g:terminal_color_2 | |
+ endif | |
+elseif has("terminal") | |
+ let g:terminal_ansi_colors = [ | |
+ \ "#111111", | |
+ \ "#ff4136", | |
+ \ "#2ecc40", | |
+ \ "#ffdc00", | |
+ \ "#0074d9", | |
+ \ "#b10dc9", | |
+ \ "#7fdbff", | |
+ \ "#bbbbbb", | |
+ \ "#777777", | |
+ \ "#ff4136", | |
+ \ "#2ecc40", | |
+ \ "#ffdc00", | |
+ \ "#0074d9", | |
+ \ "#b10dc9", | |
+ \ "#7fdbff", | |
+ \ "#ffffff", | |
+ \ ] | |
+endif | |
+ | |
+" Theme setup | |
+hi clear | |
+syntax reset | |
+let g:colors_name = "base16-colors" | |
+ | |
+" Highlighting function | |
+" Optional variables are attributes and guisp | |
+function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...) | |
+ let l:attr = get(a:, 1, "") | |
+ let l:guisp = get(a:, 2, "") | |
+ | |
+ if a:guifg != "" | |
+ exec "hi " . a:group . " guifg=#" . a:guifg | |
+ endif | |
+ if a:guibg != "" | |
+ exec "hi " . a:group . " guibg=#" . a:guibg | |
+ endif | |
+ if a:ctermfg != "" | |
+ exec "hi " . a:group . " ctermfg=" . a:ctermfg | |
+ endif | |
+ if a:ctermbg != "" | |
+ exec "hi " . a:group . " ctermbg=" . a:ctermbg | |
+ endif | |
+ if l:attr != "" | |
+ exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr | |
+ endif | |
+ if l:guisp != "" | |
+ exec "hi " . a:group . " guisp=#" . l:guisp | |
+ endif | |
+endfunction | |
+ | |
+ | |
+fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) | |
+ call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp) | |
+endfun | |
+ | |
+" Vim editor colors | |
+call <sid>hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") | |
+call <sid>hi("Bold", "", "", "", "", "bold", "") | |
+call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Error", s:gui00, s:gui08, s:cterm00, s:cterm08, "", "") | |
+call <sid>hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") | |
+call <sid>hi("Folded", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") | |
+call <sid>hi("Italic", "", "", "", "", "none", "") | |
+call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") | |
+call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") | |
+call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") | |
+call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Underlined", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "") | |
+call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("WildMenu", s:gui08, s:gui0A, s:cterm08, "", "", "") | |
+call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") | |
+call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") | |
+call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "", "") | |
+call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("LineNr", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("SignColumn", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("StatusLine", s:gui04, s:gui02, s:cterm04, s:cterm02, "none", "") | |
+call <sid>hi("StatusLineNC", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("VertSplit", s:gui02, s:gui02, s:cterm02, s:cterm02, "none", "") | |
+call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "") | |
+call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("PMenu", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "") | |
+call <sid>hi("PMenuSel", s:gui01, s:gui05, s:cterm01, s:cterm05, "", "") | |
+call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") | |
+ | |
+" Standard syntax highlighting | |
+call <sid>hi("Boolean", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Character", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Comment", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("Conditional", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Constant", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") | |
+call <sid>hi("Delimiter", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("Float", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Function", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Identifier", s:gui08, "", s:cterm08, "", "none", "") | |
+call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Number", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none", "") | |
+call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("Statement", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("String", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("Structure", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Tag", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") | |
+call <sid>hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") | |
+call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "") | |
+ | |
+" C highlighting | |
+call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") | |
+ | |
+" C# highlighting | |
+call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") | |
+ | |
+" CSS highlighting | |
+call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "") | |
+ | |
+" Diff highlighting | |
+call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("DiffChange", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") | |
+call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") | |
+call <sid>hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") | |
+call <sid>hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+ | |
+" Git highlighting | |
+call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") | |
+call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") | |
+call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") | |
+call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "") | |
+ | |
+" GitGutter highlighting | |
+call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "") | |
+ | |
+" HTML highlighting | |
+call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "", "") | |
+ | |
+" JavaScript highlighting | |
+call <sid>hi("javaScript", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") | |
+" pangloss/vim-javascript highlighting | |
+call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") | |
+ | |
+" Mail highlighting | |
+call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Markdown highlighting | |
+call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("markdownError", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") | |
+call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" NERDTree highlighting | |
+call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "") | |
+ | |
+" PHP highlighting | |
+call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") | |
+ | |
+" Python highlighting | |
+call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+ | |
+" Ruby highlighting | |
+call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") | |
+ | |
+" SASS highlighting | |
+call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Signify highlighting | |
+call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+ | |
+" Spelling highlighting | |
+call <sid>hi("SpellBad", "", "", "", "", "undercurl", s:gui08) | |
+call <sid>hi("SpellLocal", "", "", "", "", "undercurl", s:gui0C) | |
+call <sid>hi("SpellCap", "", "", "", "", "undercurl", s:gui0D) | |
+call <sid>hi("SpellRare", "", "", "", "", "undercurl", s:gui0E) | |
+ | |
+" Startify highlighting | |
+call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") | |
+call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") | |
+ | |
+" Java highlighting | |
+call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Remove functions | |
+delf <sid>hi | |
+ | |
+" Remove color variables | |
+unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F | |
+unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F | |
diff --git a/aspects/nvim/files/.vim/colors/base16-danqing.vim b/aspects/nvim/files/.vim/colors/base16-danqing.vim | |
new file mode 100644 | |
index 00000000..fe6dec9f | |
--- /dev/null | |
+++ b/aspects/nvim/files/.vim/colors/base16-danqing.vim | |
@@ -0,0 +1,413 @@ | |
+" vi:syntax=vim | |
+ | |
+" base16-vim (https://github.com/chriskempson/base16-vim) | |
+" by Chris Kempson (http://chriskempson.com) | |
+" DanQing scheme by Wenhan Zhu (Cosmos) (zhuwenhan950913@gmail.com) | |
+ | |
+" This enables the coresponding base16-shell script to run so that | |
+" :colorscheme works in terminals supported by base16-shell scripts | |
+" User must set this variable in .vimrc | |
+" let g:base16_shell_path=base16-builder/output/shell/ | |
+if !has("gui_running") | |
+ if exists("g:base16_shell_path") | |
+ execute "silent !/bin/sh ".g:base16_shell_path."/base16-danqing.sh" | |
+ endif | |
+endif | |
+ | |
+" GUI color definitions | |
+let s:gui00 = "2d302f" | |
+let g:base16_gui00 = "2d302f" | |
+let s:gui01 = "434846" | |
+let g:base16_gui01 = "434846" | |
+let s:gui02 = "5a605d" | |
+let g:base16_gui02 = "5a605d" | |
+let s:gui03 = "9da8a3" | |
+let g:base16_gui03 = "9da8a3" | |
+let s:gui04 = "cad8d2" | |
+let g:base16_gui04 = "cad8d2" | |
+let s:gui05 = "e0f0eF" | |
+let g:base16_gui05 = "e0f0eF" | |
+let s:gui06 = "ecf6f2" | |
+let g:base16_gui06 = "ecf6f2" | |
+let s:gui07 = "fcfefd" | |
+let g:base16_gui07 = "fcfefd" | |
+let s:gui08 = "F9906F" | |
+let g:base16_gui08 = "F9906F" | |
+let s:gui09 = "B38A61" | |
+let g:base16_gui09 = "B38A61" | |
+let s:gui0A = "F0C239" | |
+let g:base16_gui0A = "F0C239" | |
+let s:gui0B = "8AB361" | |
+let g:base16_gui0B = "8AB361" | |
+let s:gui0C = "30DFF3" | |
+let g:base16_gui0C = "30DFF3" | |
+let s:gui0D = "B0A4E3" | |
+let g:base16_gui0D = "B0A4E3" | |
+let s:gui0E = "CCA4E3" | |
+let g:base16_gui0E = "CCA4E3" | |
+let s:gui0F = "CA6924" | |
+let g:base16_gui0F = "CA6924" | |
+ | |
+" Terminal color definitions | |
+let s:cterm00 = "00" | |
+let g:base16_cterm00 = "00" | |
+let s:cterm03 = "08" | |
+let g:base16_cterm03 = "08" | |
+let s:cterm05 = "07" | |
+let g:base16_cterm05 = "07" | |
+let s:cterm07 = "15" | |
+let g:base16_cterm07 = "15" | |
+let s:cterm08 = "01" | |
+let g:base16_cterm08 = "01" | |
+let s:cterm0A = "03" | |
+let g:base16_cterm0A = "03" | |
+let s:cterm0B = "02" | |
+let g:base16_cterm0B = "02" | |
+let s:cterm0C = "06" | |
+let g:base16_cterm0C = "06" | |
+let s:cterm0D = "04" | |
+let g:base16_cterm0D = "04" | |
+let s:cterm0E = "05" | |
+let g:base16_cterm0E = "05" | |
+if exists("base16colorspace") && base16colorspace == "256" | |
+ let s:cterm01 = "18" | |
+ let g:base16_cterm01 = "18" | |
+ let s:cterm02 = "19" | |
+ let g:base16_cterm02 = "19" | |
+ let s:cterm04 = "20" | |
+ let g:base16_cterm04 = "20" | |
+ let s:cterm06 = "21" | |
+ let g:base16_cterm06 = "21" | |
+ let s:cterm09 = "16" | |
+ let g:base16_cterm09 = "16" | |
+ let s:cterm0F = "17" | |
+ let g:base16_cterm0F = "17" | |
+else | |
+ let s:cterm01 = "10" | |
+ let g:base16_cterm01 = "10" | |
+ let s:cterm02 = "11" | |
+ let g:base16_cterm02 = "11" | |
+ let s:cterm04 = "12" | |
+ let g:base16_cterm04 = "12" | |
+ let s:cterm06 = "13" | |
+ let g:base16_cterm06 = "13" | |
+ let s:cterm09 = "09" | |
+ let g:base16_cterm09 = "09" | |
+ let s:cterm0F = "14" | |
+ let g:base16_cterm0F = "14" | |
+endif | |
+ | |
+" Neovim terminal colours | |
+if has("nvim") | |
+ let g:terminal_color_0 = "#2d302f" | |
+ let g:terminal_color_1 = "#F9906F" | |
+ let g:terminal_color_2 = "#8AB361" | |
+ let g:terminal_color_3 = "#F0C239" | |
+ let g:terminal_color_4 = "#B0A4E3" | |
+ let g:terminal_color_5 = "#CCA4E3" | |
+ let g:terminal_color_6 = "#30DFF3" | |
+ let g:terminal_color_7 = "#e0f0eF" | |
+ let g:terminal_color_8 = "#9da8a3" | |
+ let g:terminal_color_9 = "#F9906F" | |
+ let g:terminal_color_10 = "#8AB361" | |
+ let g:terminal_color_11 = "#F0C239" | |
+ let g:terminal_color_12 = "#B0A4E3" | |
+ let g:terminal_color_13 = "#CCA4E3" | |
+ let g:terminal_color_14 = "#30DFF3" | |
+ let g:terminal_color_15 = "#fcfefd" | |
+ let g:terminal_color_background = g:terminal_color_0 | |
+ let g:terminal_color_foreground = g:terminal_color_5 | |
+ if &background == "light" | |
+ let g:terminal_color_background = g:terminal_color_7 | |
+ let g:terminal_color_foreground = g:terminal_color_2 | |
+ endif | |
+elseif has("terminal") | |
+ let g:terminal_ansi_colors = [ | |
+ \ "#2d302f", | |
+ \ "#F9906F", | |
+ \ "#8AB361", | |
+ \ "#F0C239", | |
+ \ "#B0A4E3", | |
+ \ "#CCA4E3", | |
+ \ "#30DFF3", | |
+ \ "#e0f0eF", | |
+ \ "#9da8a3", | |
+ \ "#F9906F", | |
+ \ "#8AB361", | |
+ \ "#F0C239", | |
+ \ "#B0A4E3", | |
+ \ "#CCA4E3", | |
+ \ "#30DFF3", | |
+ \ "#fcfefd", | |
+ \ ] | |
+endif | |
+ | |
+" Theme setup | |
+hi clear | |
+syntax reset | |
+let g:colors_name = "base16-danqing" | |
+ | |
+" Highlighting function | |
+" Optional variables are attributes and guisp | |
+function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...) | |
+ let l:attr = get(a:, 1, "") | |
+ let l:guisp = get(a:, 2, "") | |
+ | |
+ if a:guifg != "" | |
+ exec "hi " . a:group . " guifg=#" . a:guifg | |
+ endif | |
+ if a:guibg != "" | |
+ exec "hi " . a:group . " guibg=#" . a:guibg | |
+ endif | |
+ if a:ctermfg != "" | |
+ exec "hi " . a:group . " ctermfg=" . a:ctermfg | |
+ endif | |
+ if a:ctermbg != "" | |
+ exec "hi " . a:group . " ctermbg=" . a:ctermbg | |
+ endif | |
+ if l:attr != "" | |
+ exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr | |
+ endif | |
+ if l:guisp != "" | |
+ exec "hi " . a:group . " guisp=#" . l:guisp | |
+ endif | |
+endfunction | |
+ | |
+ | |
+fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) | |
+ call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp) | |
+endfun | |
+ | |
+" Vim editor colors | |
+call <sid>hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") | |
+call <sid>hi("Bold", "", "", "", "", "bold", "") | |
+call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Error", s:gui00, s:gui08, s:cterm00, s:cterm08, "", "") | |
+call <sid>hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") | |
+call <sid>hi("Folded", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") | |
+call <sid>hi("Italic", "", "", "", "", "none", "") | |
+call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") | |
+call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") | |
+call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") | |
+call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Underlined", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "") | |
+call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("WildMenu", s:gui08, s:gui0A, s:cterm08, "", "", "") | |
+call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") | |
+call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") | |
+call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "", "") | |
+call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("LineNr", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("SignColumn", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("StatusLine", s:gui04, s:gui02, s:cterm04, s:cterm02, "none", "") | |
+call <sid>hi("StatusLineNC", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("VertSplit", s:gui02, s:gui02, s:cterm02, s:cterm02, "none", "") | |
+call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "") | |
+call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("PMenu", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "") | |
+call <sid>hi("PMenuSel", s:gui01, s:gui05, s:cterm01, s:cterm05, "", "") | |
+call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") | |
+ | |
+" Standard syntax highlighting | |
+call <sid>hi("Boolean", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Character", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Comment", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("Conditional", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Constant", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") | |
+call <sid>hi("Delimiter", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("Float", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Function", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Identifier", s:gui08, "", s:cterm08, "", "none", "") | |
+call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Number", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none", "") | |
+call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("Statement", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("String", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("Structure", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Tag", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") | |
+call <sid>hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") | |
+call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "") | |
+ | |
+" C highlighting | |
+call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") | |
+ | |
+" C# highlighting | |
+call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") | |
+ | |
+" CSS highlighting | |
+call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "") | |
+ | |
+" Diff highlighting | |
+call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("DiffChange", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") | |
+call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") | |
+call <sid>hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") | |
+call <sid>hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+ | |
+" Git highlighting | |
+call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") | |
+call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") | |
+call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") | |
+call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "") | |
+ | |
+" GitGutter highlighting | |
+call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "") | |
+ | |
+" HTML highlighting | |
+call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "", "") | |
+ | |
+" JavaScript highlighting | |
+call <sid>hi("javaScript", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") | |
+" pangloss/vim-javascript highlighting | |
+call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") | |
+ | |
+" Mail highlighting | |
+call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Markdown highlighting | |
+call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("markdownError", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") | |
+call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" NERDTree highlighting | |
+call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "") | |
+ | |
+" PHP highlighting | |
+call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") | |
+ | |
+" Python highlighting | |
+call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+ | |
+" Ruby highlighting | |
+call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") | |
+ | |
+" SASS highlighting | |
+call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Signify highlighting | |
+call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+ | |
+" Spelling highlighting | |
+call <sid>hi("SpellBad", "", "", "", "", "undercurl", s:gui08) | |
+call <sid>hi("SpellLocal", "", "", "", "", "undercurl", s:gui0C) | |
+call <sid>hi("SpellCap", "", "", "", "", "undercurl", s:gui0D) | |
+call <sid>hi("SpellRare", "", "", "", "", "undercurl", s:gui0E) | |
+ | |
+" Startify highlighting | |
+call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") | |
+call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") | |
+ | |
+" Java highlighting | |
+call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Remove functions | |
+delf <sid>hi | |
+ | |
+" Remove color variables | |
+unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F | |
+unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F | |
diff --git a/aspects/nvim/files/.vim/colors/base16-darcula.vim b/aspects/nvim/files/.vim/colors/base16-darcula.vim | |
new file mode 100644 | |
index 00000000..1504f119 | |
--- /dev/null | |
+++ b/aspects/nvim/files/.vim/colors/base16-darcula.vim | |
@@ -0,0 +1,413 @@ | |
+" vi:syntax=vim | |
+ | |
+" base16-vim (https://github.com/chriskempson/base16-vim) | |
+" by Chris Kempson (http://chriskempson.com) | |
+" Darcula scheme by jetbrains | |
+ | |
+" This enables the coresponding base16-shell script to run so that | |
+" :colorscheme works in terminals supported by base16-shell scripts | |
+" User must set this variable in .vimrc | |
+" let g:base16_shell_path=base16-builder/output/shell/ | |
+if !has("gui_running") | |
+ if exists("g:base16_shell_path") | |
+ execute "silent !/bin/sh ".g:base16_shell_path."/base16-darcula.sh" | |
+ endif | |
+endif | |
+ | |
+" GUI color definitions | |
+let s:gui00 = "2b2b2b" | |
+let g:base16_gui00 = "2b2b2b" | |
+let s:gui01 = "323232" | |
+let g:base16_gui01 = "323232" | |
+let s:gui02 = "323232" | |
+let g:base16_gui02 = "323232" | |
+let s:gui03 = "606366" | |
+let g:base16_gui03 = "606366" | |
+let s:gui04 = "a4a3a3" | |
+let g:base16_gui04 = "a4a3a3" | |
+let s:gui05 = "a9b7c6" | |
+let g:base16_gui05 = "a9b7c6" | |
+let s:gui06 = "ffc66d" | |
+let g:base16_gui06 = "ffc66d" | |
+let s:gui07 = "ffffff" | |
+let g:base16_gui07 = "ffffff" | |
+let s:gui08 = "4eade5" | |
+let g:base16_gui08 = "4eade5" | |
+let s:gui09 = "689757" | |
+let g:base16_gui09 = "689757" | |
+let s:gui0A = "bbb529" | |
+let g:base16_gui0A = "bbb529" | |
+let s:gui0B = "6a8759" | |
+let g:base16_gui0B = "6a8759" | |
+let s:gui0C = "629755" | |
+let g:base16_gui0C = "629755" | |
+let s:gui0D = "9876aa" | |
+let g:base16_gui0D = "9876aa" | |
+let s:gui0E = "cc7832" | |
+let g:base16_gui0E = "cc7832" | |
+let s:gui0F = "808080" | |
+let g:base16_gui0F = "808080" | |
+ | |
+" Terminal color definitions | |
+let s:cterm00 = "00" | |
+let g:base16_cterm00 = "00" | |
+let s:cterm03 = "08" | |
+let g:base16_cterm03 = "08" | |
+let s:cterm05 = "07" | |
+let g:base16_cterm05 = "07" | |
+let s:cterm07 = "15" | |
+let g:base16_cterm07 = "15" | |
+let s:cterm08 = "01" | |
+let g:base16_cterm08 = "01" | |
+let s:cterm0A = "03" | |
+let g:base16_cterm0A = "03" | |
+let s:cterm0B = "02" | |
+let g:base16_cterm0B = "02" | |
+let s:cterm0C = "06" | |
+let g:base16_cterm0C = "06" | |
+let s:cterm0D = "04" | |
+let g:base16_cterm0D = "04" | |
+let s:cterm0E = "05" | |
+let g:base16_cterm0E = "05" | |
+if exists("base16colorspace") && base16colorspace == "256" | |
+ let s:cterm01 = "18" | |
+ let g:base16_cterm01 = "18" | |
+ let s:cterm02 = "19" | |
+ let g:base16_cterm02 = "19" | |
+ let s:cterm04 = "20" | |
+ let g:base16_cterm04 = "20" | |
+ let s:cterm06 = "21" | |
+ let g:base16_cterm06 = "21" | |
+ let s:cterm09 = "16" | |
+ let g:base16_cterm09 = "16" | |
+ let s:cterm0F = "17" | |
+ let g:base16_cterm0F = "17" | |
+else | |
+ let s:cterm01 = "10" | |
+ let g:base16_cterm01 = "10" | |
+ let s:cterm02 = "11" | |
+ let g:base16_cterm02 = "11" | |
+ let s:cterm04 = "12" | |
+ let g:base16_cterm04 = "12" | |
+ let s:cterm06 = "13" | |
+ let g:base16_cterm06 = "13" | |
+ let s:cterm09 = "09" | |
+ let g:base16_cterm09 = "09" | |
+ let s:cterm0F = "14" | |
+ let g:base16_cterm0F = "14" | |
+endif | |
+ | |
+" Neovim terminal colours | |
+if has("nvim") | |
+ let g:terminal_color_0 = "#2b2b2b" | |
+ let g:terminal_color_1 = "#4eade5" | |
+ let g:terminal_color_2 = "#6a8759" | |
+ let g:terminal_color_3 = "#bbb529" | |
+ let g:terminal_color_4 = "#9876aa" | |
+ let g:terminal_color_5 = "#cc7832" | |
+ let g:terminal_color_6 = "#629755" | |
+ let g:terminal_color_7 = "#a9b7c6" | |
+ let g:terminal_color_8 = "#606366" | |
+ let g:terminal_color_9 = "#4eade5" | |
+ let g:terminal_color_10 = "#6a8759" | |
+ let g:terminal_color_11 = "#bbb529" | |
+ let g:terminal_color_12 = "#9876aa" | |
+ let g:terminal_color_13 = "#cc7832" | |
+ let g:terminal_color_14 = "#629755" | |
+ let g:terminal_color_15 = "#ffffff" | |
+ let g:terminal_color_background = g:terminal_color_0 | |
+ let g:terminal_color_foreground = g:terminal_color_5 | |
+ if &background == "light" | |
+ let g:terminal_color_background = g:terminal_color_7 | |
+ let g:terminal_color_foreground = g:terminal_color_2 | |
+ endif | |
+elseif has("terminal") | |
+ let g:terminal_ansi_colors = [ | |
+ \ "#2b2b2b", | |
+ \ "#4eade5", | |
+ \ "#6a8759", | |
+ \ "#bbb529", | |
+ \ "#9876aa", | |
+ \ "#cc7832", | |
+ \ "#629755", | |
+ \ "#a9b7c6", | |
+ \ "#606366", | |
+ \ "#4eade5", | |
+ \ "#6a8759", | |
+ \ "#bbb529", | |
+ \ "#9876aa", | |
+ \ "#cc7832", | |
+ \ "#629755", | |
+ \ "#ffffff", | |
+ \ ] | |
+endif | |
+ | |
+" Theme setup | |
+hi clear | |
+syntax reset | |
+let g:colors_name = "base16-darcula" | |
+ | |
+" Highlighting function | |
+" Optional variables are attributes and guisp | |
+function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...) | |
+ let l:attr = get(a:, 1, "") | |
+ let l:guisp = get(a:, 2, "") | |
+ | |
+ if a:guifg != "" | |
+ exec "hi " . a:group . " guifg=#" . a:guifg | |
+ endif | |
+ if a:guibg != "" | |
+ exec "hi " . a:group . " guibg=#" . a:guibg | |
+ endif | |
+ if a:ctermfg != "" | |
+ exec "hi " . a:group . " ctermfg=" . a:ctermfg | |
+ endif | |
+ if a:ctermbg != "" | |
+ exec "hi " . a:group . " ctermbg=" . a:ctermbg | |
+ endif | |
+ if l:attr != "" | |
+ exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr | |
+ endif | |
+ if l:guisp != "" | |
+ exec "hi " . a:group . " guisp=#" . l:guisp | |
+ endif | |
+endfunction | |
+ | |
+ | |
+fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) | |
+ call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp) | |
+endfun | |
+ | |
+" Vim editor colors | |
+call <sid>hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") | |
+call <sid>hi("Bold", "", "", "", "", "bold", "") | |
+call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Error", s:gui00, s:gui08, s:cterm00, s:cterm08, "", "") | |
+call <sid>hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") | |
+call <sid>hi("Folded", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") | |
+call <sid>hi("Italic", "", "", "", "", "none", "") | |
+call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") | |
+call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") | |
+call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") | |
+call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Underlined", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "") | |
+call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("WildMenu", s:gui08, s:gui0A, s:cterm08, "", "", "") | |
+call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") | |
+call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") | |
+call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "", "") | |
+call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("LineNr", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("SignColumn", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("StatusLine", s:gui04, s:gui02, s:cterm04, s:cterm02, "none", "") | |
+call <sid>hi("StatusLineNC", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("VertSplit", s:gui02, s:gui02, s:cterm02, s:cterm02, "none", "") | |
+call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "") | |
+call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("PMenu", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "") | |
+call <sid>hi("PMenuSel", s:gui01, s:gui05, s:cterm01, s:cterm05, "", "") | |
+call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") | |
+ | |
+" Standard syntax highlighting | |
+call <sid>hi("Boolean", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Character", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Comment", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("Conditional", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Constant", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") | |
+call <sid>hi("Delimiter", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("Float", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Function", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Identifier", s:gui08, "", s:cterm08, "", "none", "") | |
+call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Number", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none", "") | |
+call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("Statement", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("String", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("Structure", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Tag", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") | |
+call <sid>hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") | |
+call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "") | |
+ | |
+" C highlighting | |
+call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") | |
+ | |
+" C# highlighting | |
+call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") | |
+ | |
+" CSS highlighting | |
+call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "") | |
+ | |
+" Diff highlighting | |
+call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("DiffChange", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") | |
+call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") | |
+call <sid>hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") | |
+call <sid>hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+ | |
+" Git highlighting | |
+call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") | |
+call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") | |
+call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") | |
+call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "") | |
+ | |
+" GitGutter highlighting | |
+call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "") | |
+ | |
+" HTML highlighting | |
+call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "", "") | |
+ | |
+" JavaScript highlighting | |
+call <sid>hi("javaScript", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") | |
+" pangloss/vim-javascript highlighting | |
+call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") | |
+ | |
+" Mail highlighting | |
+call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Markdown highlighting | |
+call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("markdownError", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") | |
+call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" NERDTree highlighting | |
+call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "") | |
+ | |
+" PHP highlighting | |
+call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") | |
+ | |
+" Python highlighting | |
+call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+ | |
+" Ruby highlighting | |
+call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") | |
+ | |
+" SASS highlighting | |
+call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Signify highlighting | |
+call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+ | |
+" Spelling highlighting | |
+call <sid>hi("SpellBad", "", "", "", "", "undercurl", s:gui08) | |
+call <sid>hi("SpellLocal", "", "", "", "", "undercurl", s:gui0C) | |
+call <sid>hi("SpellCap", "", "", "", "", "undercurl", s:gui0D) | |
+call <sid>hi("SpellRare", "", "", "", "", "undercurl", s:gui0E) | |
+ | |
+" Startify highlighting | |
+call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") | |
+call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") | |
+ | |
+" Java highlighting | |
+call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Remove functions | |
+delf <sid>hi | |
+ | |
+" Remove color variables | |
+unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F | |
+unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F | |
diff --git a/aspects/nvim/files/.vim/colors/base16-darkmoss.vim b/aspects/nvim/files/.vim/colors/base16-darkmoss.vim | |
new file mode 100644 | |
index 00000000..484302ba | |
--- /dev/null | |
+++ b/aspects/nvim/files/.vim/colors/base16-darkmoss.vim | |
@@ -0,0 +1,413 @@ | |
+" vi:syntax=vim | |
+ | |
+" base16-vim (https://github.com/chriskempson/base16-vim) | |
+" by Chris Kempson (http://chriskempson.com) | |
+" darkmoss scheme by Gabriel Avanzi (https://github.com/avanzzzi) | |
+ | |
+" This enables the coresponding base16-shell script to run so that | |
+" :colorscheme works in terminals supported by base16-shell scripts | |
+" User must set this variable in .vimrc | |
+" let g:base16_shell_path=base16-builder/output/shell/ | |
+if !has("gui_running") | |
+ if exists("g:base16_shell_path") | |
+ execute "silent !/bin/sh ".g:base16_shell_path."/base16-darkmoss.sh" | |
+ endif | |
+endif | |
+ | |
+" GUI color definitions | |
+let s:gui00 = "171e1f" | |
+let g:base16_gui00 = "171e1f" | |
+let s:gui01 = "252c2d" | |
+let g:base16_gui01 = "252c2d" | |
+let s:gui02 = "373c3d" | |
+let g:base16_gui02 = "373c3d" | |
+let s:gui03 = "555e5f" | |
+let g:base16_gui03 = "555e5f" | |
+let s:gui04 = "818f80" | |
+let g:base16_gui04 = "818f80" | |
+let s:gui05 = "c7c7a5" | |
+let g:base16_gui05 = "c7c7a5" | |
+let s:gui06 = "e3e3c8" | |
+let g:base16_gui06 = "e3e3c8" | |
+let s:gui07 = "e1eaef" | |
+let g:base16_gui07 = "e1eaef" | |
+let s:gui08 = "ff4658" | |
+let g:base16_gui08 = "ff4658" | |
+let s:gui09 = "e6db74" | |
+let g:base16_gui09 = "e6db74" | |
+let s:gui0A = "fdb11f" | |
+let g:base16_gui0A = "fdb11f" | |
+let s:gui0B = "499180" | |
+let g:base16_gui0B = "499180" | |
+let s:gui0C = "66d9ef" | |
+let g:base16_gui0C = "66d9ef" | |
+let s:gui0D = "498091" | |
+let g:base16_gui0D = "498091" | |
+let s:gui0E = "9bc0c8" | |
+let g:base16_gui0E = "9bc0c8" | |
+let s:gui0F = "d27b53" | |
+let g:base16_gui0F = "d27b53" | |
+ | |
+" Terminal color definitions | |
+let s:cterm00 = "00" | |
+let g:base16_cterm00 = "00" | |
+let s:cterm03 = "08" | |
+let g:base16_cterm03 = "08" | |
+let s:cterm05 = "07" | |
+let g:base16_cterm05 = "07" | |
+let s:cterm07 = "15" | |
+let g:base16_cterm07 = "15" | |
+let s:cterm08 = "01" | |
+let g:base16_cterm08 = "01" | |
+let s:cterm0A = "03" | |
+let g:base16_cterm0A = "03" | |
+let s:cterm0B = "02" | |
+let g:base16_cterm0B = "02" | |
+let s:cterm0C = "06" | |
+let g:base16_cterm0C = "06" | |
+let s:cterm0D = "04" | |
+let g:base16_cterm0D = "04" | |
+let s:cterm0E = "05" | |
+let g:base16_cterm0E = "05" | |
+if exists("base16colorspace") && base16colorspace == "256" | |
+ let s:cterm01 = "18" | |
+ let g:base16_cterm01 = "18" | |
+ let s:cterm02 = "19" | |
+ let g:base16_cterm02 = "19" | |
+ let s:cterm04 = "20" | |
+ let g:base16_cterm04 = "20" | |
+ let s:cterm06 = "21" | |
+ let g:base16_cterm06 = "21" | |
+ let s:cterm09 = "16" | |
+ let g:base16_cterm09 = "16" | |
+ let s:cterm0F = "17" | |
+ let g:base16_cterm0F = "17" | |
+else | |
+ let s:cterm01 = "10" | |
+ let g:base16_cterm01 = "10" | |
+ let s:cterm02 = "11" | |
+ let g:base16_cterm02 = "11" | |
+ let s:cterm04 = "12" | |
+ let g:base16_cterm04 = "12" | |
+ let s:cterm06 = "13" | |
+ let g:base16_cterm06 = "13" | |
+ let s:cterm09 = "09" | |
+ let g:base16_cterm09 = "09" | |
+ let s:cterm0F = "14" | |
+ let g:base16_cterm0F = "14" | |
+endif | |
+ | |
+" Neovim terminal colours | |
+if has("nvim") | |
+ let g:terminal_color_0 = "#171e1f" | |
+ let g:terminal_color_1 = "#ff4658" | |
+ let g:terminal_color_2 = "#499180" | |
+ let g:terminal_color_3 = "#fdb11f" | |
+ let g:terminal_color_4 = "#498091" | |
+ let g:terminal_color_5 = "#9bc0c8" | |
+ let g:terminal_color_6 = "#66d9ef" | |
+ let g:terminal_color_7 = "#c7c7a5" | |
+ let g:terminal_color_8 = "#555e5f" | |
+ let g:terminal_color_9 = "#ff4658" | |
+ let g:terminal_color_10 = "#499180" | |
+ let g:terminal_color_11 = "#fdb11f" | |
+ let g:terminal_color_12 = "#498091" | |
+ let g:terminal_color_13 = "#9bc0c8" | |
+ let g:terminal_color_14 = "#66d9ef" | |
+ let g:terminal_color_15 = "#e1eaef" | |
+ let g:terminal_color_background = g:terminal_color_0 | |
+ let g:terminal_color_foreground = g:terminal_color_5 | |
+ if &background == "light" | |
+ let g:terminal_color_background = g:terminal_color_7 | |
+ let g:terminal_color_foreground = g:terminal_color_2 | |
+ endif | |
+elseif has("terminal") | |
+ let g:terminal_ansi_colors = [ | |
+ \ "#171e1f", | |
+ \ "#ff4658", | |
+ \ "#499180", | |
+ \ "#fdb11f", | |
+ \ "#498091", | |
+ \ "#9bc0c8", | |
+ \ "#66d9ef", | |
+ \ "#c7c7a5", | |
+ \ "#555e5f", | |
+ \ "#ff4658", | |
+ \ "#499180", | |
+ \ "#fdb11f", | |
+ \ "#498091", | |
+ \ "#9bc0c8", | |
+ \ "#66d9ef", | |
+ \ "#e1eaef", | |
+ \ ] | |
+endif | |
+ | |
+" Theme setup | |
+hi clear | |
+syntax reset | |
+let g:colors_name = "base16-darkmoss" | |
+ | |
+" Highlighting function | |
+" Optional variables are attributes and guisp | |
+function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...) | |
+ let l:attr = get(a:, 1, "") | |
+ let l:guisp = get(a:, 2, "") | |
+ | |
+ if a:guifg != "" | |
+ exec "hi " . a:group . " guifg=#" . a:guifg | |
+ endif | |
+ if a:guibg != "" | |
+ exec "hi " . a:group . " guibg=#" . a:guibg | |
+ endif | |
+ if a:ctermfg != "" | |
+ exec "hi " . a:group . " ctermfg=" . a:ctermfg | |
+ endif | |
+ if a:ctermbg != "" | |
+ exec "hi " . a:group . " ctermbg=" . a:ctermbg | |
+ endif | |
+ if l:attr != "" | |
+ exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr | |
+ endif | |
+ if l:guisp != "" | |
+ exec "hi " . a:group . " guisp=#" . l:guisp | |
+ endif | |
+endfunction | |
+ | |
+ | |
+fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) | |
+ call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp) | |
+endfun | |
+ | |
+" Vim editor colors | |
+call <sid>hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") | |
+call <sid>hi("Bold", "", "", "", "", "bold", "") | |
+call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Error", s:gui00, s:gui08, s:cterm00, s:cterm08, "", "") | |
+call <sid>hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") | |
+call <sid>hi("Folded", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") | |
+call <sid>hi("Italic", "", "", "", "", "none", "") | |
+call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") | |
+call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") | |
+call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") | |
+call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Underlined", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "") | |
+call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("WildMenu", s:gui08, s:gui0A, s:cterm08, "", "", "") | |
+call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") | |
+call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") | |
+call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "", "") | |
+call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("LineNr", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("SignColumn", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("StatusLine", s:gui04, s:gui02, s:cterm04, s:cterm02, "none", "") | |
+call <sid>hi("StatusLineNC", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("VertSplit", s:gui02, s:gui02, s:cterm02, s:cterm02, "none", "") | |
+call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "") | |
+call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("PMenu", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "") | |
+call <sid>hi("PMenuSel", s:gui01, s:gui05, s:cterm01, s:cterm05, "", "") | |
+call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") | |
+ | |
+" Standard syntax highlighting | |
+call <sid>hi("Boolean", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Character", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Comment", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("Conditional", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Constant", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") | |
+call <sid>hi("Delimiter", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("Float", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Function", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Identifier", s:gui08, "", s:cterm08, "", "none", "") | |
+call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Number", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none", "") | |
+call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("Statement", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("String", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("Structure", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Tag", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") | |
+call <sid>hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") | |
+call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "") | |
+ | |
+" C highlighting | |
+call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") | |
+ | |
+" C# highlighting | |
+call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") | |
+ | |
+" CSS highlighting | |
+call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "") | |
+ | |
+" Diff highlighting | |
+call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("DiffChange", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") | |
+call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") | |
+call <sid>hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") | |
+call <sid>hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+ | |
+" Git highlighting | |
+call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") | |
+call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") | |
+call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") | |
+call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "") | |
+ | |
+" GitGutter highlighting | |
+call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "") | |
+ | |
+" HTML highlighting | |
+call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "", "") | |
+ | |
+" JavaScript highlighting | |
+call <sid>hi("javaScript", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") | |
+" pangloss/vim-javascript highlighting | |
+call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") | |
+ | |
+" Mail highlighting | |
+call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Markdown highlighting | |
+call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("markdownError", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") | |
+call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" NERDTree highlighting | |
+call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "") | |
+ | |
+" PHP highlighting | |
+call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") | |
+ | |
+" Python highlighting | |
+call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+ | |
+" Ruby highlighting | |
+call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") | |
+ | |
+" SASS highlighting | |
+call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Signify highlighting | |
+call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+ | |
+" Spelling highlighting | |
+call <sid>hi("SpellBad", "", "", "", "", "undercurl", s:gui08) | |
+call <sid>hi("SpellLocal", "", "", "", "", "undercurl", s:gui0C) | |
+call <sid>hi("SpellCap", "", "", "", "", "undercurl", s:gui0D) | |
+call <sid>hi("SpellRare", "", "", "", "", "undercurl", s:gui0E) | |
+ | |
+" Startify highlighting | |
+call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") | |
+call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") | |
+ | |
+" Java highlighting | |
+call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Remove functions | |
+delf <sid>hi | |
+ | |
+" Remove color variables | |
+unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F | |
+unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F | |
diff --git a/aspects/nvim/files/.vim/colors/base16-darkviolet.vim b/aspects/nvim/files/.vim/colors/base16-darkviolet.vim | |
new file mode 100644 | |
index 00000000..dc79815e | |
--- /dev/null | |
+++ b/aspects/nvim/files/.vim/colors/base16-darkviolet.vim | |
@@ -0,0 +1,413 @@ | |
+" vi:syntax=vim | |
+ | |
+" base16-vim (https://github.com/chriskempson/base16-vim) | |
+" by Chris Kempson (http://chriskempson.com) | |
+" Dark Violet scheme by ruler501 (https://github.com/ruler501/base16-darkviolet) | |
+ | |
+" This enables the coresponding base16-shell script to run so that | |
+" :colorscheme works in terminals supported by base16-shell scripts | |
+" User must set this variable in .vimrc | |
+" let g:base16_shell_path=base16-builder/output/shell/ | |
+if !has("gui_running") | |
+ if exists("g:base16_shell_path") | |
+ execute "silent !/bin/sh ".g:base16_shell_path."/base16-darkviolet.sh" | |
+ endif | |
+endif | |
+ | |
+" GUI color definitions | |
+let s:gui00 = "000000" | |
+let g:base16_gui00 = "000000" | |
+let s:gui01 = "231a40" | |
+let g:base16_gui01 = "231a40" | |
+let s:gui02 = "432d59" | |
+let g:base16_gui02 = "432d59" | |
+let s:gui03 = "593380" | |
+let g:base16_gui03 = "593380" | |
+let s:gui04 = "00ff00" | |
+let g:base16_gui04 = "00ff00" | |
+let s:gui05 = "b08ae6" | |
+let g:base16_gui05 = "b08ae6" | |
+let s:gui06 = "9045e6" | |
+let g:base16_gui06 = "9045e6" | |
+let s:gui07 = "a366ff" | |
+let g:base16_gui07 = "a366ff" | |
+let s:gui08 = "a82ee6" | |
+let g:base16_gui08 = "a82ee6" | |
+let s:gui09 = "bb66cc" | |
+let g:base16_gui09 = "bb66cc" | |
+let s:gui0A = "f29df2" | |
+let g:base16_gui0A = "f29df2" | |
+let s:gui0B = "4595e6" | |
+let g:base16_gui0B = "4595e6" | |
+let s:gui0C = "40dfff" | |
+let g:base16_gui0C = "40dfff" | |
+let s:gui0D = "4136d9" | |
+let g:base16_gui0D = "4136d9" | |
+let s:gui0E = "7e5ce6" | |
+let g:base16_gui0E = "7e5ce6" | |
+let s:gui0F = "a886bf" | |
+let g:base16_gui0F = "a886bf" | |
+ | |
+" Terminal color definitions | |
+let s:cterm00 = "00" | |
+let g:base16_cterm00 = "00" | |
+let s:cterm03 = "08" | |
+let g:base16_cterm03 = "08" | |
+let s:cterm05 = "07" | |
+let g:base16_cterm05 = "07" | |
+let s:cterm07 = "15" | |
+let g:base16_cterm07 = "15" | |
+let s:cterm08 = "01" | |
+let g:base16_cterm08 = "01" | |
+let s:cterm0A = "03" | |
+let g:base16_cterm0A = "03" | |
+let s:cterm0B = "02" | |
+let g:base16_cterm0B = "02" | |
+let s:cterm0C = "06" | |
+let g:base16_cterm0C = "06" | |
+let s:cterm0D = "04" | |
+let g:base16_cterm0D = "04" | |
+let s:cterm0E = "05" | |
+let g:base16_cterm0E = "05" | |
+if exists("base16colorspace") && base16colorspace == "256" | |
+ let s:cterm01 = "18" | |
+ let g:base16_cterm01 = "18" | |
+ let s:cterm02 = "19" | |
+ let g:base16_cterm02 = "19" | |
+ let s:cterm04 = "20" | |
+ let g:base16_cterm04 = "20" | |
+ let s:cterm06 = "21" | |
+ let g:base16_cterm06 = "21" | |
+ let s:cterm09 = "16" | |
+ let g:base16_cterm09 = "16" | |
+ let s:cterm0F = "17" | |
+ let g:base16_cterm0F = "17" | |
+else | |
+ let s:cterm01 = "10" | |
+ let g:base16_cterm01 = "10" | |
+ let s:cterm02 = "11" | |
+ let g:base16_cterm02 = "11" | |
+ let s:cterm04 = "12" | |
+ let g:base16_cterm04 = "12" | |
+ let s:cterm06 = "13" | |
+ let g:base16_cterm06 = "13" | |
+ let s:cterm09 = "09" | |
+ let g:base16_cterm09 = "09" | |
+ let s:cterm0F = "14" | |
+ let g:base16_cterm0F = "14" | |
+endif | |
+ | |
+" Neovim terminal colours | |
+if has("nvim") | |
+ let g:terminal_color_0 = "#000000" | |
+ let g:terminal_color_1 = "#a82ee6" | |
+ let g:terminal_color_2 = "#4595e6" | |
+ let g:terminal_color_3 = "#f29df2" | |
+ let g:terminal_color_4 = "#4136d9" | |
+ let g:terminal_color_5 = "#7e5ce6" | |
+ let g:terminal_color_6 = "#40dfff" | |
+ let g:terminal_color_7 = "#b08ae6" | |
+ let g:terminal_color_8 = "#593380" | |
+ let g:terminal_color_9 = "#a82ee6" | |
+ let g:terminal_color_10 = "#4595e6" | |
+ let g:terminal_color_11 = "#f29df2" | |
+ let g:terminal_color_12 = "#4136d9" | |
+ let g:terminal_color_13 = "#7e5ce6" | |
+ let g:terminal_color_14 = "#40dfff" | |
+ let g:terminal_color_15 = "#a366ff" | |
+ let g:terminal_color_background = g:terminal_color_0 | |
+ let g:terminal_color_foreground = g:terminal_color_5 | |
+ if &background == "light" | |
+ let g:terminal_color_background = g:terminal_color_7 | |
+ let g:terminal_color_foreground = g:terminal_color_2 | |
+ endif | |
+elseif has("terminal") | |
+ let g:terminal_ansi_colors = [ | |
+ \ "#000000", | |
+ \ "#a82ee6", | |
+ \ "#4595e6", | |
+ \ "#f29df2", | |
+ \ "#4136d9", | |
+ \ "#7e5ce6", | |
+ \ "#40dfff", | |
+ \ "#b08ae6", | |
+ \ "#593380", | |
+ \ "#a82ee6", | |
+ \ "#4595e6", | |
+ \ "#f29df2", | |
+ \ "#4136d9", | |
+ \ "#7e5ce6", | |
+ \ "#40dfff", | |
+ \ "#a366ff", | |
+ \ ] | |
+endif | |
+ | |
+" Theme setup | |
+hi clear | |
+syntax reset | |
+let g:colors_name = "base16-darkviolet" | |
+ | |
+" Highlighting function | |
+" Optional variables are attributes and guisp | |
+function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...) | |
+ let l:attr = get(a:, 1, "") | |
+ let l:guisp = get(a:, 2, "") | |
+ | |
+ if a:guifg != "" | |
+ exec "hi " . a:group . " guifg=#" . a:guifg | |
+ endif | |
+ if a:guibg != "" | |
+ exec "hi " . a:group . " guibg=#" . a:guibg | |
+ endif | |
+ if a:ctermfg != "" | |
+ exec "hi " . a:group . " ctermfg=" . a:ctermfg | |
+ endif | |
+ if a:ctermbg != "" | |
+ exec "hi " . a:group . " ctermbg=" . a:ctermbg | |
+ endif | |
+ if l:attr != "" | |
+ exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr | |
+ endif | |
+ if l:guisp != "" | |
+ exec "hi " . a:group . " guisp=#" . l:guisp | |
+ endif | |
+endfunction | |
+ | |
+ | |
+fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) | |
+ call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp) | |
+endfun | |
+ | |
+" Vim editor colors | |
+call <sid>hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") | |
+call <sid>hi("Bold", "", "", "", "", "bold", "") | |
+call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Error", s:gui00, s:gui08, s:cterm00, s:cterm08, "", "") | |
+call <sid>hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") | |
+call <sid>hi("Folded", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") | |
+call <sid>hi("Italic", "", "", "", "", "none", "") | |
+call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") | |
+call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") | |
+call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") | |
+call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Underlined", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "") | |
+call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("WildMenu", s:gui08, s:gui0A, s:cterm08, "", "", "") | |
+call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") | |
+call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") | |
+call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "", "") | |
+call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("LineNr", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("SignColumn", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("StatusLine", s:gui04, s:gui02, s:cterm04, s:cterm02, "none", "") | |
+call <sid>hi("StatusLineNC", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("VertSplit", s:gui02, s:gui02, s:cterm02, s:cterm02, "none", "") | |
+call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "") | |
+call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") | |
+call <sid>hi("PMenu", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "") | |
+call <sid>hi("PMenuSel", s:gui01, s:gui05, s:cterm01, s:cterm05, "", "") | |
+call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") | |
+call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") | |
+ | |
+" Standard syntax highlighting | |
+call <sid>hi("Boolean", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Character", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("Comment", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("Conditional", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Constant", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") | |
+call <sid>hi("Delimiter", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("Float", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Function", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Identifier", s:gui08, "", s:cterm08, "", "none", "") | |
+call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Number", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none", "") | |
+call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("Statement", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("String", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("Structure", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("Tag", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") | |
+call <sid>hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") | |
+call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "") | |
+ | |
+" C highlighting | |
+call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") | |
+ | |
+" C# highlighting | |
+call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") | |
+ | |
+" CSS highlighting | |
+call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "") | |
+ | |
+" Diff highlighting | |
+call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("DiffChange", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") | |
+call <sid>hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") | |
+call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") | |
+call <sid>hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") | |
+call <sid>hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") | |
+ | |
+" Git highlighting | |
+call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") | |
+call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") | |
+call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") | |
+call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "") | |
+ | |
+" GitGutter highlighting | |
+call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "") | |
+ | |
+" HTML highlighting | |
+call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "", "") | |
+ | |
+" JavaScript highlighting | |
+call <sid>hi("javaScript", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") | |
+" pangloss/vim-javascript highlighting | |
+call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") | |
+ | |
+" Mail highlighting | |
+call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Markdown highlighting | |
+call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("markdownError", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") | |
+call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" NERDTree highlighting | |
+call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "") | |
+ | |
+" PHP highlighting | |
+call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "", "") | |
+call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") | |
+ | |
+" Python highlighting | |
+call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "") | |
+ | |
+" Ruby highlighting | |
+call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") | |
+call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") | |
+call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") | |
+call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") | |
+ | |
+" SASS highlighting | |
+call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") | |
+call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Signify highlighting | |
+call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") | |
+call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") | |
+call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") | |
+ | |
+" Spelling highlighting | |
+call <sid>hi("SpellBad", "", "", "", "", "undercurl", s:gui08) | |
+call <sid>hi("SpellLocal", "", "", "", "", "undercurl", s:gui0C) | |
+call <sid>hi("SpellCap", "", "", "", "", "undercurl", s:gui0D) | |
+call <sid>hi("SpellRare", "", "", "", "", "undercurl", s:gui0E) | |
+ | |
+" Startify highlighting | |
+call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") | |
+call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") | |
+call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") | |
+call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") | |
+call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") | |
+call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") | |
+call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") | |
+ | |
+" Java highlighting | |
+call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") | |
+ | |
+" Remove functions | |
+delf <sid>hi | |
+ | |
+" Remove color variables | |
+unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F | |
+unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F | |