summaryrefslogtreecommitdiffstats
path: root/src/highlight.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-01 21:57:29 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-01 21:57:29 +0100
commit219c7d063823498be22aae46dd024d77b5fb2a58 (patch)
treed6e8c1a525626c2e7224271ee8113cf81c7839d9 /src/highlight.c
parentab067a21b9622513ed75f4801b001606eeaf2474 (diff)
patch 8.2.0191: cannot put a terminal in a popup windowv8.2.0191
Problem: Cannot put a terminal in a popup window. Solution: Allow opening a terminal in a popup window. It will always have keyboard focus until closed.
Diffstat (limited to 'src/highlight.c')
-rw-r--r--src/highlight.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/highlight.c b/src/highlight.c
index 19a9c50a20..44888e97e5 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -3134,8 +3134,9 @@ syn_id2colors(int hl_id, guicolor_T *fgp, guicolor_T *bgp)
#endif
#if (defined(MSWIN) \
- && (!defined(FEAT_GUI_MSWIN) || defined(VIMDLL)) \
- && defined(FEAT_TERMGUICOLORS)) || defined(PROTO)
+ && (!defined(FEAT_GUI_MSWIN) || defined(VIMDLL)) \
+ && defined(FEAT_TERMGUICOLORS)) \
+ || defined(FEAT_TERMINAL) || defined(PROTO)
void
syn_id2cterm_bg(int hl_id, int *fgp, int *bgp)
{