Mercurial > vim
diff src/proto/syntax.pro @ 12445:65de672be458 v8.0.1102
patch 8.0.1102: terminal window does not use Normal colors
commit https://github.com/vim/vim/commit/c71053c61180ed1ad0c98ba6063b769757832932
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 14 00:00:44 2017 +0200
patch 8.0.1102: terminal window does not use Normal colors
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 14 Sep 2017 00:15:04 +0200 |
parents | 504df4aa84c6 |
children | 3f16cf18386c |
line wrap: on
line diff
--- 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);