From 6818d581f212f544cf1b2b14795434fa4344e4b6 Mon Sep 17 00:00:00 2001 From: thealio <116115143+thealio@users.noreply.github.com> Date: Tue, 1 Aug 2023 22:45:50 +0000 Subject: [PATCH] Update deus.vim - Add the termguicolors fix directly into the theme file : this is much better , especially if you want only to try the theme in your terminal ; it works perfectly like this - Fix StatusLine and StatuslineNC ( on the terminal the bakgrond and the foreground were both light-green before this change) --- colors/deus.vim | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/colors/deus.vim b/colors/deus.vim index 6bb1f42..cafe876 100644 --- a/colors/deus.vim +++ b/colors/deus.vim @@ -3,12 +3,22 @@ " Description: a retro-modern colorscheme in Vim " Author: ajmwagar " Source: https://github.com/ajmwagar/vim-deus -" Last Modified: 21 June 2019 +" Last Modified: 01 August 2023 " ----------------------------------------------------------------------------- " Setup Colors/Palette {{{ " Initialisation: {{{ +set t_Co=256 +set termguicolors + +let &t_8f = "\[38;2;%lu;%lu;%lum" +let &t_8b = "\[48;2;%lu;%lu;%lum" + +set background=dark " Setting dark mode +colorscheme deus +let g:deus_termcolors=256 + if version > 580 hi clear if exists("syntax_on") @@ -420,8 +430,8 @@ call s:HL('IncSearch', s:bg0, s:hls_cursor) call s:HL('Underlined', s:blue, s:none, s:underline) -call s:HL('StatusLine', s:bg2, s:fg1, s:bold . s:inverse) -call s:HL('StatusLineNC', s:bg2, s:fg1, s:bold . s:inverse) +call s:HL('StatusLine', s:bg2, s:yellow, s:bold . s:inverse) +call s:HL('StatusLineNC', s:bg2, s:blue, s:bold . s:inverse) " The column separating vertically split windows call s:HL('VertSplit', s:fg4, s:vert_split) @@ -777,9 +787,6 @@ call s:HL('BufTabLineActive', s:fg4, s:bg2) call s:HL('BufTabLineHidden', s:fg1, s:bg2) call s:HL('BufTabLineFill', s:bg0, s:bg2) -hi StatusLine ctermbg=10 ctermfg=10 cterm=bold guibg=NONE guifg=NONE gui=NONE -hi StatusLineNC ctermbg=10 ctermfg=10 cterm=NONE guibg=NONE guifg=NONE gui=NONE - " }}} " Netrw: {{{