]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0720: Wrong breakindentopt=list:-1 with multibyte or TABs v9.1.0720
authorzeertzjq <zeertzjq@outlook.com>
Sat, 7 Sep 2024 09:23:54 +0000 (11:23 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 7 Sep 2024 09:23:54 +0000 (11:23 +0200)
commit61a6ac4d0066317131528f1b3ecc3b3a2599a75c
tree2f066440decfc54296d24e72f08039b059d0a2d3
parent66f65a46c5d169f20f780721d4f74d4729855b96
patch 9.1.0720: Wrong breakindentopt=list:-1 with multibyte or TABs

Problem:  Wrong breakindentopt=list:-1 with multibyte chars or TABs in
          text matched by 'formatlistpat' (John M Devin)
Solution: Use the width of the match text (zeertzjq)

fixes: #15634
closes: #15635

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/options.txt
src/charset.c
src/indent.c
src/proto/charset.pro
src/testdir/test_breakindent.vim
src/version.c