summaryrefslogtreecommitdiffstats
path: root/src/highlight.c
diff options
context:
space:
mode:
authorMilly <milly.ca@gmail.com>2021-10-15 22:25:43 +0100
committerBram Moolenaar <Bram@vim.org>2021-10-15 22:25:43 +0100
commit7b5f45be2197403d631b5a3d633f6a20afdf806e (patch)
treea7f515a5d5fc9789380ba2797b6b242501c54f24 /src/highlight.c
parentdef69dffb3d09a69629b071c89b7893a1783ba53 (diff)
patch 8.2.3516: terminal window does not have transparent backgroundv8.2.3516
Problem: Terminal window does not have transparent background when 'termguicolors' is used. Solution: Fix the background color. (closes #2361, closes #9002)
Diffstat (limited to 'src/highlight.c')
-rw-r--r--src/highlight.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/highlight.c b/src/highlight.c
index defbe55176..a08d1f1d23 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -641,9 +641,6 @@ do_highlight(
int error = FALSE;
int color;
int is_normal_group = FALSE; // "Normal" group
-#ifdef FEAT_TERMINAL
- int is_terminal_group = FALSE; // "Terminal" group
-#endif
#ifdef FEAT_GUI_X11
int is_menu_group = FALSE; // "Menu" group
int is_scrollbar_group = FALSE; // "Scrollbar" group
@@ -882,10 +879,6 @@ do_highlight(
if (STRCMP(HL_TABLE()[idx].sg_name_u, "NORMAL") == 0)
is_normal_group = TRUE;
-#ifdef FEAT_TERMINAL
- else if (STRCMP(HL_TABLE()[idx].sg_name_u, "TERMINAL") == 0)
- is_terminal_group = TRUE;
-#endif
#ifdef FEAT_GUI_X11
else if (STRCMP(HL_TABLE()[idx].sg_name_u, "MENU") == 0)
is_menu_group = TRUE;
@@ -1534,11 +1527,6 @@ do_highlight(
control_console_color_rgb();
#endif
}
-#ifdef FEAT_TERMINAL
- else if (is_terminal_group)
- set_terminal_default_colors(
- HL_TABLE()[idx].sg_cterm_fg, HL_TABLE()[idx].sg_cterm_bg);
-#endif
#ifdef FEAT_GUI_X11
# ifdef FEAT_MENU
else if (is_menu_group)