summaryrefslogtreecommitdiff
path: root/src/proto/syntax.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-14 00:00:44 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-14 00:00:44 +0200
commitc71053c61180ed1ad0c98ba6063b769757832932 (patch)
treed525cc69b4dd5a141a3cf01ccb43ca86938b5b0f /src/proto/syntax.pro
parent71eeb74a608ddae2b52fb43766616672d0cdda18 (diff)
downloadvim-git-c71053c61180ed1ad0c98ba6063b769757832932.tar.gz
patch 8.0.1102: terminal window does not use Normal colorsv8.0.1102
Problem: Terminal window does not use Normal colors. Solution: For the GUI and when 'termguicolors' is enabled, use the actual foreground and background colors for the terminal. (Yasuhiro Matsumoto, closes #2067) Use the "Terminal" highlight group if defined.
Diffstat (limited to 'src/proto/syntax.pro')
-rw-r--r--src/proto/syntax.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/syntax.pro b/src/proto/syntax.pro
index 7247c5174..0f64ceaf8 100644
--- a/src/proto/syntax.pro
+++ b/src/proto/syntax.pro
@@ -52,6 +52,7 @@ int syn_namen2id(char_u *linep, int len);
int syn_check_group(char_u *pp, int len);
int syn_id2attr(int hl_id);
int syn_id2colors(int hl_id, guicolor_T *fgp, guicolor_T *bgp);
+void syn_id2cterm_bg(int hl_id, int *fgp, int *bgp);
int syn_get_final_id(int hl_id);
void highlight_gui_started(void);
int highlight_changed(void);