From 3fd9fbd13455a8e6adb7b9cf0fa0a39fa46fea8c Mon Sep 17 00:00:00 2001 From: Chris Kempson Date: Tue, 7 Nov 2017 07:26:30 +0000 Subject: Updates output --- colors/base16-nord.vim | 148 ++++++++++++++++++++++++++++++++++--------------- 1 file changed, 102 insertions(+), 46 deletions(-) (limited to 'colors/base16-nord.vim') diff --git a/colors/base16-nord.vim b/colors/base16-nord.vim index 09eab83..0f3ca1c 100644 --- a/colors/base16-nord.vim +++ b/colors/base16-nord.vim @@ -15,48 +15,86 @@ if !has('gui_running') endif " GUI color definitions -let s:gui00 = "2E3440" -let s:gui01 = "3B4252" -let s:gui02 = "434C5E" -let s:gui03 = "4C566A" -let s:gui04 = "D8DEE9" -let s:gui05 = "E5E9F0" -let s:gui06 = "ECEFF4" -let s:gui07 = "8FBCBB" -let s:gui08 = "88C0D0" -let s:gui09 = "81A1C1" -let s:gui0A = "5E81AC" -let s:gui0B = "BF616A" -let s:gui0C = "D08770" -let s:gui0D = "EBCB8B" -let s:gui0E = "A3BE8C" -let s:gui0F = "B48EAD" +let s:gui00 = "2E3440" +let g:base16_gui00 = "2E3440" +let s:gui01 = "3B4252" +let g:base16_gui01 = "3B4252" +let s:gui02 = "434C5E" +let g:base16_gui02 = "434C5E" +let s:gui03 = "4C566A" +let g:base16_gui03 = "4C566A" +let s:gui04 = "D8DEE9" +let g:base16_gui04 = "D8DEE9" +let s:gui05 = "E5E9F0" +let g:base16_gui05 = "E5E9F0" +let s:gui06 = "ECEFF4" +let g:base16_gui06 = "ECEFF4" +let s:gui07 = "8FBCBB" +let g:base16_gui07 = "8FBCBB" +let s:gui08 = "88C0D0" +let g:base16_gui08 = "88C0D0" +let s:gui09 = "81A1C1" +let g:base16_gui09 = "81A1C1" +let s:gui0A = "5E81AC" +let g:base16_gui0A = "5E81AC" +let s:gui0B = "BF616A" +let g:base16_gui0B = "BF616A" +let s:gui0C = "D08770" +let g:base16_gui0C = "D08770" +let s:gui0D = "EBCB8B" +let g:base16_gui0D = "EBCB8B" +let s:gui0E = "A3BE8C" +let g:base16_gui0E = "A3BE8C" +let s:gui0F = "B48EAD" +let g:base16_gui0F = "B48EAD" " Terminal color definitions -let s:cterm00 = "00" -let s:cterm03 = "08" -let s:cterm05 = "07" -let s:cterm07 = "15" -let s:cterm08 = "01" -let s:cterm0A = "03" -let s:cterm0B = "02" -let s:cterm0C = "06" -let s:cterm0D = "04" -let s:cterm0E = "05" +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 s:cterm02 = "19" - let s:cterm04 = "20" - let s:cterm06 = "21" - let s:cterm09 = "16" - let s:cterm0F = "17" + 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 s:cterm02 = "11" - let s:cterm04 = "12" - let s:cterm06 = "13" - let s:cterm09 = "09" - let s:cterm0F = "14" + 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 @@ -70,15 +108,15 @@ if has("nvim") let g:terminal_color_6 = "#D08770" let g:terminal_color_7 = "#E5E9F0" let g:terminal_color_8 = "#4C566A" - let g:terminal_color_9 = "#81A1C1" - let g:terminal_color_10 = "#3B4252" - let g:terminal_color_11 = "#434C5E" - let g:terminal_color_12 = "#D8DEE9" - let g:terminal_color_13 = "#ECEFF4" - let g:terminal_color_14 = "#B48EAD" + let g:terminal_color_9 = "#88C0D0" + let g:terminal_color_10 = "#BF616A" + let g:terminal_color_11 = "#5E81AC" + let g:terminal_color_12 = "#EBCB8B" + let g:terminal_color_13 = "#A3BE8C" + let g:terminal_color_14 = "#D08770" let g:terminal_color_15 = "#8FBCBB" let g:terminal_color_background = g:terminal_color_0 - let g:terminal_color_foreground = g:terminal_color_7 + 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 @@ -91,7 +129,7 @@ syntax reset let g:colors_name = "base16-nord" " Highlighting function -fun hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) +function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) if a:guifg != "" exec "hi " . a:group . " guifg=#" . a:guifg endif @@ -110,6 +148,11 @@ fun hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) if a:guisp != "" exec "hi " . a:group . " guisp=#" . a:guisp endif +endfunction + + +fun hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + call Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp) endfun " Vim editor colors @@ -130,6 +173,7 @@ call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") call hi("Search", s:gui03, s:gui0A, s:cterm03, s:cterm0A, "", "") +call hi("Substitute", s:gui03, s:gui0A, s:cterm03, s:cterm0A, "none", "") call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") call hi("Underlined", s:gui08, "", s:cterm08, "", "", "") @@ -322,6 +366,18 @@ call hi("SpellLocal", "", s:gui00, "", s:cterm00, "undercurl", s:gui0C) call hi("SpellCap", "", s:gui00, "", s:cterm00, "undercurl", s:gui0D) call hi("SpellRare", "", s:gui00, "", s:cterm00, "undercurl", s:gui0E) +" Startify highlighting +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + " Remove functions delf hi -- cgit v1.2.3