joonty / vim-phpqa

PHP QA tools for Vim
http://www.joncairns.com
MIT License
290 stars 32 forks source link

Fix #1 for user which not compiled vim with perl #2

Closed stephpy closed 12 years ago

stephpy commented 12 years ago

I replaced too

 exe ":sign place 4782 name=" . sign . " line=" . line . " file=\".expand(\"%:p\")"

by

exe ":sign place 4782 name=" . sign . " line=" . line . " file=\"".expand("%:p")."\""

I did not test it coz i did not compiled my vim with perl yet, but it seems to be good.

When i'll find time, i'll look at how to implement this for non perl vim ...

stephpy commented 12 years ago

I see, the only one error is than line and file vars are prefixed by <ac>, i'll look at how to delete this char ...

stephpy commented 12 years ago

I just change the position of pos var ... to not retrieve the <ac> char ... Coz i did not find how to delete this char.

Can you test it with perl extension, i would not want to break this bundle when vim is compiled with perl.

I you have any idea to substitute <ac> ...

joonty commented 12 years ago

Thanks for this, looks good! I'll give it a go with and without Perl, and will add the latest on vim.org if everything works.