Mercurial > vim
diff src/testdir/test_regexp_utf8.vim @ 34955:9eec857ed4a7 v9.1.0334
patch 9.1.0334: No test for highlight behavior with 'ambiwidth'
Commit: https://github.com/vim/vim/commit/a59e031aa0bdc5cc3d1f4ed719126bf1a1b858ce
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon Apr 15 19:14:38 2024 +0200
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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 15 Apr 2024 19:30:02 +0200 |
parents | 3f8444c5a6f3 |
children |
line wrap: on
line diff
--- a/src/testdir/test_regexp_utf8.vim +++ b/src/testdir/test_regexp_utf8.vim @@ -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