From 28aa720dc79398e878518f64e394569d24a57c19 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sat, 6 Feb 2021 13:08:01 +0000 Subject: [PATCH] vim: support for truecolors May need to check if terminal supports it. --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index 675b5ab..67b77a6 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -125,6 +125,9 @@ filetype plugin indent on " colorscheme {{{1 syntax on set background=dark +let &t_8f = "\[38;2;%lu;%lu;%lum" +let &t_8b = "\[48;2;%lu;%lu;%lum" +set termguicolors colorscheme $THEME " options {{{1 -- 2.48.1