diff src/testdir/test_textprop.vim @ 29643:b54dfe92ee10 v9.0.0162

patch 9.0.0162: text property "below" gets indent if 'breakindent' is set Commit: https://github.com/vim/vim/commit/73c3842fa54aa99e59b897b6ff1e69e800fe9cd3 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 7 11:53:40 2022 +0100 patch 9.0.0162: text property "below" gets indent if 'breakindent' is set Problem: Text property "below" gets indent if 'breakindent' is set. (Tim Pope) Solution: Do not put indent before text property. (closes #10859)
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 Aug 2022 13:00:15 +0200
parents 592818fd3110
children 9cd050914eb6
line wrap: on
line diff
--- a/src/testdir/test_textprop.vim
+++ b/src/testdir/test_textprop.vim
@@ -2312,7 +2312,8 @@ func Test_props_with_text_after()
 
   let lines =<< trim END
       set showbreak=+++
-      call setline(1, 'some text here and other text there')
+      set breakindent
+      call setline(1, '   some text here and other text there')
       call prop_type_add('rightprop', #{highlight: 'ErrorMsg'})
       call prop_type_add('afterprop', #{highlight: 'Search'})
       call prop_type_add('belowprop', #{highlight: 'DiffAdd'})