nysus has asked for the wisdom of the Perl Monks concerning the following question:
A Monk just turned me on to the perlsupport plugin in VIM. I'm trying to make use of the syntax checking feature invoked with \rs. It's very cool but I have a couple of questions about it.
First, it is giving me the following output:
/usr/share/perl5/WWW/Mechanize.pm|2545| Useless use of join or string +in void context /usr/share/perl/5.20/constant.pm|156| Constant subroutine StevesPerlTo +ols::DATA_DIR redefined /usr/lib/x86_64-linux-gnu/perl5/5.20/Moose/Util/TypeConstraints.pm|674 +| Useless use of private variable in void context /usr/lib/x86_64-linux-gnu/perl5/5.20/Moose/Util/TypeConstraints.pm|680 +| Useless use of private variable in void context /usr/lib/x86_64-linux-gnu/perl5/5.20/Moose/Util/TypeConstraints.pm|685 +| Useless use of private variable in void context /usr/lib/x86_64-linux-gnu/perl5/5.20/Moose/Util/TypeConstraints.pm|699 +| Useless use of private variable in void context /usr/lib/x86_64-linux-gnu/perl/5.20/DynaLoader.pm|210| Subroutine HTML +::Strip::DESTROY redefined
These are not my modules and are modules that I am useing. I would like to have vimsupport just ignore these other modules. Is there a way to do that? Or maybe there is a way to tell vimsupport to ignore these particular warnings?
Second, how do I easily jump back to the original file I invoked the syntax checker from? AFAICT, I have to :q out of syntax checking mode and then reopen my original file. Is there a better way to get back to it?
I could not find anything in the documentation that addressed these questions. I am using the nongui version. Thanks.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using the syntax checking feature in vim perlsupport plugin
by hippo (Archbishop) on Apr 15, 2016 at 08:21 UTC | |
by nysus (Parson) on Apr 15, 2016 at 14:44 UTC | |
by hippo (Archbishop) on Apr 15, 2016 at 15:51 UTC | |
by nysus (Parson) on Apr 15, 2016 at 16:30 UTC | |
by nysus (Parson) on Apr 15, 2016 at 17:12 UTC | |
by nysus (Parson) on Apr 16, 2016 at 11:14 UTC | |
|
Re: Using the syntax checking feature in vim perlsupport plugin
by nysus (Parson) on Apr 15, 2016 at 20:09 UTC |