X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/0b2f7e52830a48089ff4d762633c69b8d15142a3..a2bb8d1bc1e71a390a3a27997197f8a3a7ca7184:/templates/_common.colortemplate diff --git a/templates/_common.colortemplate b/templates/_common.colortemplate index 0cc207c..52e5bba 100644 --- a/templates/_common.colortemplate +++ b/templates/_common.colortemplate @@ -3,6 +3,19 @@ # Default highlight groups {{{ #if !has('gui_running') && get(g:, '@optionprefix_dimmed', 0) # dimmed colours + #if !has('gui_running') && &background ==# 'light' + #if !has('gui_running') && get(g:, '@optionprefix_transparent', 0) + Normal realblack none + #else + Normal realblack bg0 + #endif + #elseif !has('gui_running') && &background ==# 'dark' + #if get(g:, '@optionprefix_transparent', 0) + Normal brightwhite none + #else + Normal brightwhite bg0 + #endif + #endif Conceal darkblue none Constant darkgreen none Directory darkblue none bold @@ -19,6 +32,11 @@ WildMenu darkblue bg2 bold #else # default colours + #if !has('gui_running') && get(g:, '@optionprefix_transparent', 0) + Normal fg1 none + #else + Normal fg1 bg0 + #endif Conceal blue none Constant green none Directory blue none bold @@ -36,14 +54,12 @@ #endif #if !has('gui_running') && get(g:, '@optionprefix_transparent', 0) # transparent background - Normal fg1 none CursorLineNr yellow none FoldColumn darkgray none SignColumn fg2 none VertSplit bg3 none #else # opaque background - Normal fg1 bg0 CursorLineNr yellow bg1 FoldColumn darkgray bg1 SignColumn fg2 bg1 @@ -53,14 +69,14 @@ # Group Fg Bg Attributes ColorColumn none bg1 bold Cursor none none reverse,bold -CursorColumn none none italic,bold -CursorLine none none italic,bold -DiffAdd brightgreen black reverse -DiffAdded brightgreen black reverse -DiffChange brightblue black reverse -DiffDelete brightred black reverse -DiffRemoved brightred black reverse -DiffText brightgreen black reverse +CursorColumn -> CursorLine +CursorLine none bg1 +DiffAdd none diffgreen +DiffAdded none diffgreen +DiffChange none diffblue +DiffDelete none diffred +DiffRemoved none diffred +DiffText none diffgreen EndOfBuffer bg0 none ErrorMsg -> Error Folded bg3 bg1 g=italic @@ -87,7 +103,7 @@ StatusLineTermNC -> StatusLineNC TabLine -> TabLineFill TabLineFill fg2 bg3 TabLineSel fg1 bg1 -Title fg0 none bold +Title red none bold Visual none bg1 VisualNOS -> Visual # Other conventional group names (see `:help group-name`)