diff src/globals.h @ 17389:635d7f5010b8 v8.1.1693

patch 8.1.1693: syntax coloring and highlighting is in one big file commit https://github.com/vim/vim/commit/f9cc9f209ede9f15959e4c2351e970477c139614 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 14 21:29:22 2019 +0200 patch 8.1.1693: syntax coloring and highlighting is in one big file Problem: Syntax coloring and highlighting is in one big file. Solution: Move the highlighting to a separate file. (Yegappan Lakshmanan, closes #4674)
author Bram Moolenaar <Bram@vim.org>
date Sun, 14 Jul 2019 21:30:04 +0200
parents ba06a1c42274
children 5462bb963075
line wrap: on
line diff
--- 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