diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2023-08-22 21:48:50 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-08-22 21:48:50 +0200 |
commit | 171c5b9b0332493faa6caadd8c0d5cf52392d913 (patch) | |
tree | b7879b6e84281e8277dd8cd4db9b5bbfc9f855fe /src/testdir | |
parent | 757593c07a4f4ac43eb6c6e52fc299abc9bc08bc (diff) |
patch 9.0.1782: prop_list() does not return text_padding_leftv9.0.1782
Problem: prop_list() does not return text_padding_left
Solution: Store and return the text_padding_left value for text
properties
closes: #12870
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_textprop.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testdir/test_textprop.vim b/src/testdir/test_textprop.vim index dcb408c10b..e7e9eecef7 100644 --- a/src/testdir/test_textprop.vim +++ b/src/testdir/test_textprop.vim @@ -4063,8 +4063,8 @@ func Test_virtual_text_get() let p = prop_list(1, #{end_lnum: -1}) call assert_equal( - \ #{lnum: 1, id: -1, col: 2, type_bufnr: 0, end: 1, - \ type: 'test', length: 1, start: 1, + \ #{lnum: 1, col: 2, type_bufnr: 0, end: 1, + \ type: 'test', start: 1, \ text: ' virtual text1 '}, p[0]) call assert_equal( \ #{lnum: 1, id: 0, col: 3, type_bufnr: 0, end: 1, @@ -4073,8 +4073,8 @@ func Test_virtual_text_get() \ #{lnum: 1, id: 0, col: 5, type_bufnr: 0, end: 1, \ type: 'test', length: 0, start: 1}, p[2]) call assert_equal( - \ #{lnum: 1, id: -3, col: 6, type_bufnr: 0, end: 1, type: 'test', - \ text_wrap: 'wrap', length: 1, start: 1, text: ' virtual text3 '}, + \ #{lnum: 1, col: 6, type_bufnr: 0, end: 1, type: 'test', + \ text_wrap: 'wrap', start: 1, text: ' virtual text3 '}, \ p[3]) call assert_equal('right', p[4].text_align) |