Manually configure truecolor support if necessary

This commit is contained in:
Danielle McLean 2023-06-15 10:33:50 +10:00
parent 11c65a39f5
commit 390419188e
Signed by: 00dani
GPG key ID: 52C059C3B22A753E

View file

@ -31,6 +31,10 @@ g:gruvbox_improved_strings = 1
g:gruvbox_improved_warnings = 1
if has('gui_running') || has('termguicolors')
if $COLORTERM == 'truecolor'
&t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
&t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
endif
set termguicolors
silent! packadd gruvbox
g:airline_theme = 'gruvbox'