Set termguicolors if vim is compiled with it

This commit is contained in:
Dmitry N
2024-10-11 13:24:05 +03:00
committed by GitHub
parent 46294d589d
commit 86ea6a2c26

View File

@@ -60,7 +60,7 @@ au FileType gitcommit call setpos('.', [0, 1, 1, 0])
" => Shell section
""""""""""""""""""""""""""""""
if exists('$TMUX')
if has('nvim')
if has('nvim') || has('termguicolors')
set termguicolors
else
set term=screen-256color