Mercurial > vim
comparison runtime/doc/textprop.txt @ 16545:7a563ee902b6 v8.1.1276
patch 8.1.1276: cannot combine text properties with syntax highlighting
commit https://github.com/vim/vim/commit/de24a8701328b1cce7cad0ee11b415369b482420
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 5 15:48:00 2019 +0200
patch 8.1.1276: cannot combine text properties with syntax highlighting
Problem: Cannot combine text properties with syntax highlighting.
Solution: Add the "combine" field to prop_type_add(). (closes https://github.com/vim/vim/issues/4343)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 May 2019 16:00:05 +0200 |
parents | f0f06837a699 |
children | 0e473e9e70c2 |
comparison
equal
deleted
inserted
replaced
16544:609f0de1e64c | 16545:7a563ee902b6 |
---|---|
1 *textprop.txt* For Vim version 8.1. Last change: 2019 Jan 08 | 1 *textprop.txt* For Vim version 8.1. Last change: 2019 May 05 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
55 Property Types ~ | 55 Property Types ~ |
56 *E971* | 56 *E971* |
57 A text property normally has the name of a property type, which defines | 57 A text property normally has the name of a property type, which defines |
58 how to highlight the text. The property type can have these entries: | 58 how to highlight the text. The property type can have these entries: |
59 "highlight" name of the highlight group to use | 59 "highlight" name of the highlight group to use |
60 "combine" when TRUE the text property highlighting is combined | |
61 with any syntax highligting, when omitted or FALSE the | |
62 text property highlighting replaces the syntax | |
63 highlighting | |
60 "priority" when properties overlap, the one with the highest | 64 "priority" when properties overlap, the one with the highest |
61 priority will be used. | 65 priority will be used. |
62 "start_incl" when TRUE inserts at the start position will be | 66 "start_incl" when TRUE inserts at the start position will be |
63 included in the text property | 67 included in the text property |
64 "end_incl" when TRUE inserts at the end position will be | 68 "end_incl" when TRUE inserts at the end position will be |