1
0
Fork 0
mirror of synced 2024-11-25 10:15:35 -05: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
""""""""""""""""""""""""""""""
if exists('$TMUX')
if has('nvim')
if has('nvim') || has('termguicolors')
set termguicolors
else
set term=screen-256color