diff options
| author | jdhao <jdhao@hotmail.com> | 2020-10-18 21:26:25 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-10-18 21:26:25 +0800 |
| commit | be2b01a0b54175e2fbbd34512e88cc20f38416aa (patch) | |
| tree | 38a714be66d11b00dd5987b6ed926c2eb8c218e6 /ui.vim | |
| parent | e79c215cb01f6c33d7a646da6d580534a3d94ad7 (diff) | |
fix true color support issue
Diffstat (limited to 'ui.vim')
| -rw-r--r-- | ui.vim | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
