1
0
forked from aniani/vim

patch 8.1.2296: text properties are not combined with syntax by default

Problem:    Text properties are not combined with syntax by default.
Solution:   Make it work as documented. (closes #5190)
This commit is contained in:
Bram Moolenaar
2019-11-12 22:44:22 +01:00
parent 4eb7dae255
commit 58e32ab503
2 changed files with 3 additions and 1 deletions

View File

@@ -681,7 +681,7 @@ func Test_textprop_screenshot_various()
\ "call prop_type_add('background', {'highlight': 'BackgroundProp', 'combine': 0})",
\ "call prop_type_add('backgroundcomb', {'highlight': 'NumberProp', 'combine': 1})",
\ "eval 'backgroundcomb'->prop_type_change({'highlight': 'BackgroundProp'})",
\ "call prop_type_add('error', {'highlight': 'UnderlineProp', 'combine': 1})",
\ "call prop_type_add('error', {'highlight': 'UnderlineProp'})",
\ "call prop_add(1, 4, {'end_lnum': 3, 'end_col': 3, 'type': 'long'})",
\ "call prop_add(2, 9, {'length': 3, 'type': 'number'})",
\ "call prop_add(2, 24, {'length': 4, 'type': 'number'})",

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2296,
/**/
2295,
/**/