diff options
| author | Ashkan Kiani <ashkan.k.kiani@gmail.com> | 2019-11-24 01:22:16 -0800 |
|---|---|---|
| committer | Ashkan Kiani <ashkan.k.kiani@gmail.com> | 2019-11-24 01:22:16 -0800 |
| commit | f7c20b94c7c79ce883fa4f561c5c92f59a06641a (patch) | |
| tree | 7d41dc325c9bf162527fc448cdcb98179162e9c1 /src/nvim/testdir/test_textobjects.vim | |
| parent | d410812311f7b462420690455914ea1316953b3a (diff) | |
| parent | 222637c341700294a059651bcea62d2e91795646 (diff) | |
| download | rneovim-f7c20b94c7c79ce883fa4f561c5c92f59a06641a.tar.gz rneovim-f7c20b94c7c79ce883fa4f561c5c92f59a06641a.tar.bz2 rneovim-f7c20b94c7c79ce883fa4f561c5c92f59a06641a.zip | |
Merge branch 'master' into lsp-followup
Diffstat (limited to 'src/nvim/testdir/test_textobjects.vim')
| -rw-r--r-- | src/nvim/testdir/test_textobjects.vim | 7 |
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 |