forked from aniani/vim
patch 9.1.0716: resetting setcellwidth() doesn't update the screen
Problem: resetting setcellwidth() doesn't update the screen Solution: Redraw after clearing the cellwidth table (Ken Takata) closes: #15628 Signed-off-by: Ken Takata <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
150b5078ac
commit
539e9b571a
@@ -228,6 +228,9 @@ func Test_setcellwidths()
|
||||
call setcellwidths([[0x2103, 0x2103, 2]])
|
||||
redraw
|
||||
call assert_equal(19, wincol())
|
||||
call setcellwidths([])
|
||||
redraw
|
||||
call assert_equal((aw == 'single') ? 10 : 19, wincol())
|
||||
endfor
|
||||
set ambiwidth& isprint&
|
||||
|
||||
|
||||
Reference in New Issue
Block a user