1
0
forked from aniani/vim

patch 8.1.2314: vi' sometimes does not select anything

Problem:    vi' sometimes does not select anything.
Solution:   Recognize an empty selection. (Christian Brabandt, closes #5183)
This commit is contained in:
Bram Moolenaar
2019-11-17 17:32:28 +01:00
parent eda1da0c9a
commit 7170b295b0
3 changed files with 8 additions and 2 deletions

View File

@@ -47,6 +47,9 @@ func Test_quote_selection_selection_exclusive()
set selection=exclusive
exe "norm! fdvhi'y"
call assert_equal('bcde', @")
let @"='dummy'
exe "norm! $gevi'y"
call assert_equal('bcde', @")
set selection&vim
bw!
endfunc