summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-07-21 15:48:27 +0200
committerBram Moolenaar <Bram@vim.org>2015-07-21 15:48:27 +0200
commit6561d52ecbe6e24d1b90403078cc8b76c53c42fc (patch)
treef68a8d31545f7b89ae0e31a81f8e0ac0216a99ac /src/structs.h
parentd51cb706a4e3ae99555bc214a64c83603c701139 (diff)
downloadvim-6561d52ecbe6e24d1b90403078cc8b76c53c42fc.zip
patch 7.4.792
Problem: Can only conceal text by defining syntax items. Solution: Use matchadd() to define concealing. (Christian Brabandt)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index 2c7f7108d..d14c5bd5a 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -2021,6 +2021,9 @@ struct matchitem
regmmatch_T match; /* regexp program for pattern */
posmatch_T pos; /* position matches */
match_T hl; /* struct for doing the actual highlighting */
+#ifdef FEAT_CONCEAL
+ int conceal_char; /* cchar for Conceal highlighting */
+#endif
};
/*