diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-14 21:29:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-14 21:29:22 +0200 |
commit | f9cc9f209ede9f15959e4c2351e970477c139614 (patch) | |
tree | 58daba9cac6039bc46d575e93d291676a8b0668f /src/globals.h | |
parent | b8be54dcc517c9d57b62409945b7d4b90b6c3071 (diff) |
patch 8.1.1693: syntax coloring and highlighting is in one big filev8.1.1693
Problem: Syntax coloring and highlighting is in one big file.
Solution: Move the highlighting to a separate file. (Yegappan Lakshmanan,
closes #4674)
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index 0c2df36b8e..bef5c30bf0 100644 --- a/src/globals.h +++ b/src/globals.h @@ -355,6 +355,16 @@ EXTERN char_u hash_removed; EXTERN int scroll_region INIT(= FALSE); /* term supports scroll region */ EXTERN int t_colors INIT(= 0); /* int value of T_CCO */ +// highlight groups for 'highlight' option +EXTERN garray_T highlight_ga INIT(= {0 COMMA 0 COMMA sizeof(hl_group_T) COMMA 10 COMMA NULL}); + +#ifdef FEAT_CMDL_COMPL +// Flags to indicate an additional string for highlight name completion. +EXTERN int include_none INIT(= 0); // when 1 include "None" +EXTERN int include_default INIT(= 0); // when 1 include "default" +EXTERN int include_link INIT(= 0); // when 2 include "link" and "clear" +#endif + /* * When highlight_match is TRUE, highlight a match, starting at the cursor * position. Search_match_lines is the number of lines after the match (0 for |