Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
12444:308ef06578bc | 12445:65de672be458 |
---|---|
50 char_u *syn_id2name(int id); | 50 char_u *syn_id2name(int id); |
51 int syn_namen2id(char_u *linep, int len); | 51 int syn_namen2id(char_u *linep, int len); |
52 int syn_check_group(char_u *pp, int len); | 52 int syn_check_group(char_u *pp, int len); |
53 int syn_id2attr(int hl_id); | 53 int syn_id2attr(int hl_id); |
54 int syn_id2colors(int hl_id, guicolor_T *fgp, guicolor_T *bgp); | 54 int syn_id2colors(int hl_id, guicolor_T *fgp, guicolor_T *bgp); |
55 void syn_id2cterm_bg(int hl_id, int *fgp, int *bgp); | |
55 int syn_get_final_id(int hl_id); | 56 int syn_get_final_id(int hl_id); |
56 void highlight_gui_started(void); | 57 void highlight_gui_started(void); |
57 int highlight_changed(void); | 58 int highlight_changed(void); |
58 void set_context_in_highlight_cmd(expand_T *xp, char_u *arg); | 59 void set_context_in_highlight_cmd(expand_T *xp, char_u *arg); |
59 char_u *get_highlight_name(expand_T *xp, int idx); | 60 char_u *get_highlight_name(expand_T *xp, int idx); |