1
0
forked from aniani/vim

patch 9.1.0334: No test for highlight behavior with 'ambiwidth'

Problem:  No test for highlight behavior with 'ambiwidth'.
Solution: Add a screendump test for 'ambiwidth' with 'cursorline'.
          (zeertzjq)

closes: #14554

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-04-15 19:14:38 +02:00
committed by Christian Brabandt
parent 29358d2a18
commit a59e031aa0
5 changed files with 52 additions and 1 deletions

View File

@@ -342,7 +342,7 @@ func Test_multibyte_chars()
endfunc
" check that 'ambiwidth' does not change the meaning of \p
func Test_ambiwidth()
func Test_regexp_ambiwidth()
set regexpengine=1 ambiwidth=single
call assert_equal(0, match("\u00EC", '\p'))
set regexpengine=1 ambiwidth=double