Add test to vimrc for 256 variable
This commit is contained in:
parent
1c81b45af9
commit
5e49218109
2
vimrc
2
vimrc
|
@ -12,7 +12,7 @@ set t_TE=""
|
||||||
set t_ut=""
|
set t_ut=""
|
||||||
|
|
||||||
colorscheme onehalfdark
|
colorscheme onehalfdark
|
||||||
if exists('+termguicolors')
|
if exists('+termguicolors') && ($COLORTERM == "24bit" || $COLORTERM == "truecolor")
|
||||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||||
set termguicolors
|
set termguicolors
|
||||||
|
|
Loading…
Reference in a new issue