1
0
Fork 0
mirror of synced 2024-10-22 11:38:59 -04:00

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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