vim-protodef icon indicating copy to clipboard operation
vim-protodef copied to clipboard

operator[]

Open johndoe1234 opened this issue 12 years ago • 1 comments

In pullproto.pl lack of escaping $function in this match attempt is causing problems: if ($temp[$linenum - 2] =~ m/$function/) after changing this to: if ($temp[$linenum - 2] =~ m/\Q$function\E/) it seems to be working.

johndoe1234 avatar May 13 '12 14:05 johndoe1234

That makes sense. Can you set up a pull request?

On 2012-05-13, at 10:04 AM, johndoe1234 wrote:

In pullproto.pl lack of escaping $function in this match attempt is causing problems: if ($temp[$linenum - 2] =~ m/$function/) after changing this to: if ($temp[$linenum - 2] =~ m/\Q$function\E/) it seems to be working.


Reply to this email directly or view it on GitHub: https://github.com/derekwyatt/vim-protodef/issues/3

derekwyatt avatar May 13 '12 15:05 derekwyatt