From d4f2298518e63c15d13b89a31a397e4471e3a70c Mon Sep 17 00:00:00 2001 From: Yves Dubromelle Date: Mon, 25 Apr 2022 10:00:11 +0200 Subject: [PATCH] fix: mauvaise couleur de fond dans vim dans certains cas --- applications/terminal/vimrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/applications/terminal/vimrc b/applications/terminal/vimrc index 257846c..24051b9 100644 --- a/applications/terminal/vimrc +++ b/applications/terminal/vimrc @@ -32,3 +32,10 @@ if &t_Co > 8 let &colorcolumn="80,".join(range(120,999),",") highlight ColorColumn ctermbg=235 guibg=#2c2d27 endif + +" vim hardcodes background color erase even if the terminfo file does +" not contain bce (not to mention that libvte based terminals +" incorrectly contain bce in their terminfo files). This causes +" incorrect background rendering when using a color theme with a +" background color. +let &t_ut=''