Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
6946:c56ef0540cd5 | 6947:1efa7c2b9368 |
---|---|
2019 char_u *pattern; /* pattern to highlight */ | 2019 char_u *pattern; /* pattern to highlight */ |
2020 int hlg_id; /* highlight group ID */ | 2020 int hlg_id; /* highlight group ID */ |
2021 regmmatch_T match; /* regexp program for pattern */ | 2021 regmmatch_T match; /* regexp program for pattern */ |
2022 posmatch_T pos; /* position matches */ | 2022 posmatch_T pos; /* position matches */ |
2023 match_T hl; /* struct for doing the actual highlighting */ | 2023 match_T hl; /* struct for doing the actual highlighting */ |
2024 #ifdef FEAT_CONCEAL | |
2025 int conceal_char; /* cchar for Conceal highlighting */ | |
2026 #endif | |
2024 }; | 2027 }; |
2025 | 2028 |
2026 /* | 2029 /* |
2027 * Structure which contains all information that belongs to a window | 2030 * Structure which contains all information that belongs to a window |
2028 * | 2031 * |