@ -12,7 +12,7 @@ set t_TE=""
set t_ut=""
colorscheme onehalfdark
if exists('+termguicolors')
if exists('+termguicolors') && ($COLORTERM == "24bit" || $COLORTERM == "truecolor")
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
set termguicolors