1
0
forked from aniani/vim

patch 8.1.0415: not actually using 16 colors with vtp

Problem:    Not actually using 16 colors with vtp.
Solution:   Always use 256 colors when vtp is used. (Nobuhiro Takasaki,
            closes #3432)
This commit is contained in:
Bram Moolenaar
2018-09-21 12:24:12 +02:00
parent 3f3fb0b147
commit d4f73438bb
3 changed files with 24 additions and 24 deletions

View File

@@ -7785,8 +7785,6 @@ did_set_string_option(
#if defined(FEAT_VTP) && defined(FEAT_TERMGUICOLORS)
if (did_swaptcap)
{
if (t_colors < 256)
p_tgc = 0;
set_termname((char_u *)"win32");
init_highlight(TRUE, FALSE);
}