Skip to content

Commit

Permalink
Perl-Support: Change default Perl executable
Browse files Browse the repository at this point in the history
- Set default for `g:Perl_Executable` to `perl` when running under Linux,
  instead of a hardcoded path.
  • Loading branch information
WolfgangMehner committed Jun 15, 2019
1 parent d092724 commit 132828c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions doc/perlsupport.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
*perlsupport.txt* Perl Support Apr 21 2019
*perlsupport.txt* Perl Support Jun 15 2019

Perl Support *perl-support* *perlsupport*

Plug-in version 5.5pre
Plug-in version 5.4.1beta
for Vim version 7.0 and above
Wolfgang Mehner <wolfgang-mehner@web.de>
Fritz Mehner <mehner.fritz@web.de>
Expand Down Expand Up @@ -1768,7 +1768,7 @@ g:Perl_InsertFileHeader 'yes'
g:Perl_CreateMenusDelayed 'yes'
g:Perl_PerlTags 'off'
g:Perl_PerltidyBackup 'off'
g:Perl_Executable "/usr/bin/perl" or "C:/Perl/bin/perl.exe"
g:Perl_Executable "perl" or "C:/Perl/bin/perl.exe"
g:Perl_DirectRun 'no'

g:Perl_PerlModuleList root_dir.'perl-support/modules/perl-modules.list'
Expand Down
6 changes: 4 additions & 2 deletions perl-support/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
README for perl-support.vim (Version 5.5pre) / April 21 2019
README for perl-support.vim (Version 5.4.1beta) / June 15 2019
================================================================================

* INSTALLATION
Expand Down Expand Up @@ -176,12 +176,14 @@ Any problems? See the TROUBLESHOOTING section at the end of the help file
RELEASE NOTES
================================================================================

RELEASE NOTES FOR VERSION 5.5pre
RELEASE NOTES FOR VERSION 5.4.1beta
----------------------------------------------------------------------
- The templates which are inserted into new files as file skeletons can be
specified in the templates library, via the properties:
`Perl::FileSkeleton::Script`, `Perl::FileSkeleton::Module`,
`Perl::FileSkeleton::Test`, `Perl::FileSkeleton::POD`
- Set default for `g:Perl_Executable` to `perl` when running under Linux,
instead of a hardcoded path.
- Add configuration variable `g:Perl_Ctrl_d` to control the creation
of the `CTRL+D` map.
- Minor changes.
Expand Down
2 changes: 1 addition & 1 deletion perl-support/doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 5.5
RELEASE NOTES FOR VERSION 5.4.1
---------------------------------------------------------------------------------------
- The templates which are inserted into new files as file skeletons can be
specified in the templates library, via the properties:
Expand Down
2 changes: 1 addition & 1 deletion perl-support/doc/perl-hot-keys.tex
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

\setlength\parindent{0pt}

\newcommand{\Pluginversion}{5.5pre}
\newcommand{\Pluginversion}{5.4.1}
\newcommand{\ReleaseDate}{\today}
\newcommand{\Rep}{{\scriptsize{[n]}}}

Expand Down
4 changes: 2 additions & 2 deletions plugin/perl-support.vim
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ if exists("g:Perl_PluginVersion") || &cp
finish
endif

let g:Perl_PluginVersion= "5.5pre" " version number of this script; do not change
let g:Perl_PluginVersion= "5.4.1beta" " version number of this script; do not change

"-------------------------------------------------------------------------------
" === Auxiliary functions === {{{1
Expand Down Expand Up @@ -309,7 +309,7 @@ else
\ $HOME.'/.vim/autoload/mmtoolbox/' ]
endif

let s:Perl_Executable = '/usr/bin/perl'
let s:Perl_Executable = 'perl'
let g:Perl_FilenameEscChar = ' \%#[]'

" ==============================================================================
Expand Down

0 comments on commit 132828c

Please sign in to comment.