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:
@@ -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'})",
|
||||
|
||||
@@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2296,
|
||||
/**/
|
||||
2295,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user