Mercurial > vim
changeset 18605:63d855ad505c v8.1.2296
patch 8.1.2296: text properties are not combined with syntax by default
Commit: https://github.com/vim/vim/commit/58e32ab503141e049c0e8c504a379bff8eddffdd
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 12 22:44:22 2019 +0100
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 https://github.com/vim/vim/issues/5190)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 12 Nov 2019 22:45:06 +0100 |
parents | 06e161213e88 |
children | 83eec237947f |
files | src/testdir/test_textprop.vim src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_textprop.vim +++ b/src/testdir/test_textprop.vim @@ -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'})",