1
0
forked from aniani/vim

patch 9.1.0157: Duplicate assignment in f_getregion()

Problem:  Duplicate assignment in f_getregion().
Solution: Remove the duplicate assignment.  Also improve getregion()
          docs wording and fix an unrelated typo (zeertzjq)

closes: #14154

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-03-07 21:40:53 +01:00
committed by Christian Brabandt
parent 769eb2d0c3
commit 0df8f93bda
4 changed files with 8 additions and 7 deletions

View File

@@ -583,7 +583,7 @@ funct Test_undofile()
endif
call assert_equal('', undofile(''))
" Test undofile() with 'undodir' set to to an existing directory.
" Test undofile() with 'undodir' set to an existing directory.
call mkdir('Xundodir')
set undodir=Xundodir
let cwd = getcwd()