Mercurial > vim
diff src/structs.h @ 6947:1efa7c2b9368 v7.4.792
patch 7.4.792
Problem: Can only conceal text by defining syntax items.
Solution: Use matchadd() to define concealing. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 21 Jul 2015 15:48:27 +0200 |
parents | 62ba356c2d4e |
children | 83b3261352b3 |
line wrap: on
line diff
--- 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 }; /*