From 56a026f30e61775c4767d8ce3a4b348340549c10 Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 1 Jul 2023 23:55:40 +0200 Subject: [PATCH] vimrc: set 256/termguicolors properly --- .vim/vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vim/vimrc b/.vim/vimrc index 9795ac6..ee438b6 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -1272,6 +1272,8 @@ set updatetime=250 if (has('termguicolors')) set termguicolors +else + set t_Co=256 endif " let there be light " set background=light @@ -1423,7 +1425,6 @@ endif set laststatus=2 " show status bar set report=1 " Always report number of lines changed by ex commands -set t_Co=256 set guifont=Fira\ Code\ weight=450\ 12 set ballooneval " vim8+ popups