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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user