vim-protodef
vim-protodef copied to clipboard
operator[]
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.
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