forked from aniani/vim
updated for version 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)
This commit is contained in:
16
src/testdir/test_textobjects.ok
Normal file
16
src/testdir/test_textobjects.ok
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user