From 1fb9f2bf75623431914ecdd3d360e82f1f10a9a5 Mon Sep 17 00:00:00 2001 From: John Novak Date: Fri, 2 Jan 2015 17:39:12 +1000 Subject: [PATCH 1/2] Fix MatchParen disappearing cursor bug when running vim in Cygwin terminal --- colors/lucius.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/colors/lucius.vim b/colors/lucius.vim index 0842194..16a611f 100644 --- a/colors/lucius.vim +++ b/colors/lucius.vim @@ -363,7 +363,7 @@ else hi Comment guifg=#6c6c6c hi Constant guifg=#afaf87 hi Directory guifg=#87af87 - hi Identifier guifg=#87af5f + hi Identifier guifg=#87af00 hi PreProc guifg=#5faf87 hi Special guifg=#af87af hi Statement guifg=#5fafd7 @@ -407,7 +407,7 @@ if s:style == "light" hi CursorColumn guibg=#dadada hi CursorLine guibg=#dadada hi IncSearch guifg=fg guibg=#5fd7d7 - hi MatchParen guifg=NONE guibg=#5fd7d7 + hi MatchParen guifg=NONE guibg=#00d7d7 hi Search guifg=fg guibg=#ffaf00 hi Visual guibg=#afd7ff if s:contrast == "low" @@ -433,7 +433,7 @@ else hi CursorIM guibg=#5f87af hi Error guifg=#d75f5f guibg=#870000 hi IncSearch guibg=#00afaf - hi MatchParen guibg=#87af5f + hi MatchParen guibg=#87af00 hi Search guibg=#d78700 hi Todo guifg=#afaf00 guibg=#5f5f00 elseif s:contrast == "high" @@ -449,7 +449,7 @@ else hi CursorIM guibg=#87afd7 hi Error guifg=#ff8787 guibg=#870000 hi IncSearch guibg=#5fd7d7 - hi MatchParen guibg=#afd75f + hi MatchParen guibg=#afd700 hi Search guibg=#d78700 hi Todo guifg=#d7d75f guibg=#5f5f00 endif From 738e4a34e0e44d0764fb69ea2bcb8d4902b011c3 Mon Sep 17 00:00:00 2001 From: John Novak Date: Sat, 15 May 2021 17:27:49 +1000 Subject: [PATCH 2/2] add xterm hacks --- colors/lucius.vim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/colors/lucius.vim b/colors/lucius.vim index 16a611f..c195506 100644 --- a/colors/lucius.vim +++ b/colors/lucius.vim @@ -144,6 +144,11 @@ else let s:no_term_bg = 0 endif +if exists("g:lucius_xterm_color_hacks") + let s:xterm_color_hacks = g:lucius_xterm_color_hacks +else + let s:xterm_color_hacks = 0 +endif " ============================================================================ " Color Map: @@ -769,4 +774,14 @@ command! LuciusBlackLowContrast call SetLucius("dark", "low", "high") command! LuciusBlackHighContrast call SetLucius("dark", "high", "high") \ | colorscheme lucius + +" ============================================================================ +" Color Hacks (by John Novak): +" ============================================================================ + +if s:xterm_color_hacks == 1 + hi Visual cterm=reverse ctermfg=yellow ctermbg=black + hi Todo ctermfg=black +endif + " vim: tw=78