aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_textobjects.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-11-23 18:57:24 -0800
committerGitHub <noreply@github.com>2019-11-23 18:57:24 -0800
commit2aa7b101142e4b66682ba40b43537d8f2192f0a3 (patch)
tree88cf4323927b299c961553bc66fb08af3463c8a4 /src/nvim/testdir/test_textobjects.vim
parent61d2a12743bcefbdd661b446b0b0fea7a1f77b17 (diff)
parent4c532f54695e380113ec3e3db8b915e838a0bb16 (diff)
downloadrneovim-2aa7b101142e4b66682ba40b43537d8f2192f0a3.tar.gz
rneovim-2aa7b101142e4b66682ba40b43537d8f2192f0a3.tar.bz2
rneovim-2aa7b101142e4b66682ba40b43537d8f2192f0a3.zip
Merge #11431 from janlazo/vim-8.1.1235
vim-patch:8.1.{471,723,1235,1490,1951,2183,2269,2329,2330}
Diffstat (limited to 'src/nvim/testdir/test_textobjects.vim')
-rw-r--r--src/nvim/testdir/test_textobjects.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_textobjects.vim b/src/nvim/testdir/test_textobjects.vim
index 448b2dc51c..b20c4df311 100644
--- a/src/nvim/testdir/test_textobjects.vim
+++ b/src/nvim/testdir/test_textobjects.vim
@@ -46,11 +46,18 @@ func Test_quote_selection_selection_exclusive()
new
call setline(1, "a 'bcde' f")
set selection=exclusive
+
exe "norm! fdvhi'y"
call assert_equal('bcde', @")
+
let @"='dummy'
exe "norm! $gevi'y"
call assert_equal('bcde', @")
+
+ let @"='dummy'
+ exe "norm! 0fbhvi'y"
+ call assert_equal('bcde', @")
+
set selection&vim
bw!
endfunc