Skip to content

Commit

Permalink
Perl-Support: Perl::Tags not working
Browse files Browse the repository at this point in the history
- Loading Perl::Tags::Naive instead of Perl::Tags.
  • Loading branch information
Fritz Mehner committed Jul 6, 2014
1 parent 39b48f4 commit 177b665
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugin/perl-support.vim
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
" Devel::SmallProf (profiler)
" Devel::ptkdb (debugger frontend)
" Perl::Critic (stylechecker)
" Perl::Tags (generate Ctags style tags)
" Perl::Tags::Naive (generate Ctags style tags)
" Perl::Tidy (beautifier)
" YAPE::Regex::Explain (regular expression analyzer)
" ddd (debugger frontend)
Expand Down Expand Up @@ -2076,7 +2076,7 @@ silent call Perl_GetPerlcriticVerbosity(s:Perl_PerlcriticVerbosity)

"=== FUNCTION ================================================================
" NAME: Perl_do_tags {{{1
" DESCRIPTION: tag a new file with Perl::Tags
" DESCRIPTION: tag a new file with Perl::Tags::Naive
" PARAMETERS: filename -
" tagfile - name of the tag file
" RETURNS:
Expand Down Expand Up @@ -2741,9 +2741,9 @@ function! s:CreateAdditionalMaps ()

use if defined $ENV{PERL_LOCAL_INSTALLATION}, lib => $ENV{PERL_LOCAL_INSTALLATION};

eval { require Perl::Tags };
eval { require Perl::Tags::Naive };
if ( $@ ) {
# Perl::Tags not loadable
# Perl::Tags::Naive not loadable
VIM::DoCommand("let g:Perl_PerlTags = 'off'" );
}
else {
Expand Down

0 comments on commit 177b665

Please sign in to comment.