call s:foo_func("\%(foo\)")
call s:foo_func('\%(foo\)')

When type "vi(" on '%' in above, it should select like below.

http://go-gyazo.appspot.com/ce98f67480ace7b0.png

but not selected in latest of vim. And when type "vi(" on 'f', it should not 
select anything because it contains "\%()".

This behavior caused that the string is quoted by single-quote. I'm thinking 
vim have better to handle single-quote and double-quote for text-object on 
string literals.

https://gist.github.com/mattn/5f388e4fdba9a69a49a2

This patch handle single quote as same as double quote for text-object on 
string literals.

How do you think?

- mattn

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui