From be2b01a0b54175e2fbbd34512e88cc20f38416aa Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 18 Oct 2020 21:26:25 +0800 Subject: [PATCH] fix true color support issue --- ui.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.vim b/ui.vim index 821f9ed..5a571a8 100644 --- a/ui.vim +++ b/ui.vim @@ -4,7 +4,7 @@ " support true colors! For a comprehensive list of terminals supporting true " colors, see https://github.com/termstandard/colors and " https://gist.github.com/XVilka/8346728. -if $TERM ==# 'xterm-256color' || exists('g:started_by_firenvim') +if match($TERM, '^xterm.*') != -1 || exists('g:started_by_firenvim') set termguicolors endif " Use dark background