Mercurial > vim
comparison src/proto/syntax.pro @ 11822:1e237c5994fc v8.0.0791
patch 8.0.0791: terminal colors depend on the system
commit https://github.com/vim/vim/commit/b41bf8e6b45a773456031954bca1bc4212cbffbe
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 28 15:11:38 2017 +0200
patch 8.0.0791: terminal colors depend on the system
Problem: Terminal colors depend on the system.
Solution: Use the highlight color lookup tables.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 28 Jul 2017 15:15:04 +0200 |
parents | 12fa6072977a |
children | 35d7459251fd |
comparison
equal
deleted
inserted
replaced
11821:5a00d6370ba3 | 11822:1e237c5994fc |
---|---|
21 int syn_get_foldlevel(win_T *wp, long lnum); | 21 int syn_get_foldlevel(win_T *wp, long lnum); |
22 void ex_syntime(exarg_T *eap); | 22 void ex_syntime(exarg_T *eap); |
23 char_u *get_syntime_arg(expand_T *xp, int idx); | 23 char_u *get_syntime_arg(expand_T *xp, int idx); |
24 void init_highlight(int both, int reset); | 24 void init_highlight(int both, int reset); |
25 int load_colors(char_u *name); | 25 int load_colors(char_u *name); |
26 int lookup_color(int idx, int foreground); | |
26 void do_highlight(char_u *line, int forceit, int init); | 27 void do_highlight(char_u *line, int forceit, int init); |
27 void free_highlight(void); | 28 void free_highlight(void); |
28 void restore_cterm_colors(void); | 29 void restore_cterm_colors(void); |
29 void set_normal_colors(void); | 30 void set_normal_colors(void); |
30 char_u *hl_get_font_name(void); | 31 char_u *hl_get_font_name(void); |