1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

fix true color support issue

This commit is contained in:
jdhao 2020-10-18 21:26:25 +08:00
parent e79c215cb0
commit be2b01a0b5

2
ui.vim
View File

@ -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