From 924cacd2fcf4e2f84886761ad458a9ac4e6407fa Mon Sep 17 00:00:00 2001 From: watiko Date: Wed, 3 Feb 2016 06:53:43 +0900 Subject: vim-patch:7.4.662 Problem: When 'M' is in the 'cpo' option then selecting a text object in parenthesis does not work correctly. Solution: Keep 'M' in 'cpo' when finding a match. (Hirohito Higashi) https://github.com/vim/vim/commit/438b64ab71cd724129c4eec840be16c52602ebc8 --- src/nvim/testdir/test_textobjects.ok | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/nvim/testdir/test_textobjects.ok (limited to 'src/nvim/testdir/test_textobjects.ok') diff --git a/src/nvim/testdir/test_textobjects.ok b/src/nvim/testdir/test_textobjects.ok new file mode 100644 index 0000000000..b670c7d816 --- /dev/null +++ b/src/nvim/testdir/test_textobjects.ok @@ -0,0 +1,16 @@ +Results of text-objects +# Test for vi) without cpo-M +(red \(blue) green) +red \(blue +red \(blue + +# Test for vi) with cpo-M #1 +(red \(blue) green) +red \(blue) green +blue +red \(blue) green +# Test for vi) with cpo-M #2 +(red (blue\) green) +red (blue\) green +blue\ +red (blue\) green -- cgit