Skip to content

Commit

Permalink
Version 5.0.1
Browse files Browse the repository at this point in the history
- Bugfix: resolve home for linked home directories
- Bugfix: ":make" and ":!make" no longer affect each other.
- Bugfix: S-F1 not working for module list.
- Several internal improvements.
  • Loading branch information
Fritz Mehner authored and vim-scripts committed May 20, 2012
1 parent ef81a91 commit 96f8b0b
Show file tree
Hide file tree
Showing 10 changed files with 450 additions and 365 deletions.
21 changes: 6 additions & 15 deletions README.perlsupport
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
README for perl-support.vim (Version 5.0) / Februar 24 2012
README for perl-support.vim (Version 5.0.1) / April 21 2012

* INSTALLATION
* RELEASE NOTES
Expand Down Expand Up @@ -139,21 +139,12 @@ For a system-wide installation please see the help file 'doc/perlsupport.txt'.
=======================================================================================

---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 5.0
RELEASE NOTES FOR VERSION 5.0.1
---------------------------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++ The plug-in version 5.0+ is a rewriting of version 4.15+. ++
++ The versions 5.0+ are based on a new and more powerful template system ++
++ (please see |template-support|for more information). ++
++ The template syntax has changed! ++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

- New template system (many thanks to Wolfgang Mehner)
- A few new hotkeys and menu item.
- A few hotkeys and menu items renamed.
- Bugfix: resolve home for linked home directories
- Bugfix: ":make" and ":!make" no longer affect each other.
- Bugfix: S-F1 not working for module list.
- Several internal improvements.

---------------------------------------------------------------------------------------
OLDER RELEASE NOTES : see file 'ChangeLog'
Expand Down
17 changes: 17 additions & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 5.0
---------------------------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++ The plug-in version 5.0+ is a rewriting of version 4.15+. ++
++ The versions 5.0+ are based on a new and more powerful template system ++
++ (please see |template-support|for more information). ++
++ The template syntax has changed! ++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

- New template system (many thanks to Wolfgang Mehner)
- A few new hotkeys and menu item.
- A few hotkeys and menu items renamed.

---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 4.15
---------------------------------------------------------------------------------------
Expand Down
Binary file added doc/perl-hot-keys.pdf
Binary file not shown.
18 changes: 16 additions & 2 deletions doc/perl-hot-keys.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
%% Copyright: Copyright (C) 2003-2010 Dr.-Ing. Fritz Mehner ([email protected])
%% Version: see \Pluginversion
%% Created: 06.06.2003
%% Revision: $Id: perl-hot-keys.tex,v 1.6 2012/02/26 18:49:00 mehner Exp $
%% Revision: $Id: perl-hot-keys.tex,v 1.7 2012/04/15 18:02:13 mehner Exp $
%%
%%=====================================================================================

Expand All @@ -25,7 +25,7 @@

\setlength\parindent{0pt}

\newcommand{\Pluginversion}{5.0}
\newcommand{\Pluginversion}{5.0.1}
\newcommand{\ReleaseDate}{\today}
\newcommand{\Rep}{{\scriptsize{[n]}}}

Expand Down Expand Up @@ -143,6 +143,8 @@
\hline \verb'\sue' & \verb'unless { } else { }' \hfill (n, v, i)\\
\hline \verb'\st' & \verb'until { }' \hfill (n, v, i)\\
\hline \verb'\sw' & \verb'while { }' \hfill (n, v, i)\\
\hline \verb'\sg' & \verb'given { }' \hfill (n, v, i)\\
\hline \verb'\swh' & \verb'when { }' \hfill (n, v, i)\\
\hline
%%----------------------------------------------------------------------
%% menu idioms
Expand Down Expand Up @@ -316,6 +318,18 @@
\texttt{ :CriticVerbosity} \> \texttt{\ 1} $\ldots$ \texttt{11}\\[1.0ex]
\texttt{ :CriticOptions} \> option(s), see \texttt{perlcritic(1)}\\[5.5ex]
%
\hspace{40mm} \= \hspace{50mm} \= \kill
%%----------------------------------------------------------------------
%% regex tester
%%----------------------------------------------------------------------
\textbf{\texttt{Regular Expression Tester}}\\[1.0ex]
%
Ex command for the regular expression tester. Set control character\\
replacements for newline and tabulator used to display the results\\
of a match, e.g.:\\[2.0ex]

\texttt{ :RegexSubstitutions} \> \texttt{'\$}\texttt{\~}\texttt{'} \\[5.5ex]
%
\hspace{30mm} \= \hspace{50mm} \= \kill
%
%%----------------------------------------------------------------------
Expand Down
48 changes: 32 additions & 16 deletions doc/perlsupport.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
*perlsupport.txt* Perl Support Februar 24 2012
*perlsupport.txt* Perl Support April 21 2012

Perl Support *perl-support* *perlsupport*

Plug-in version 5.0
Plug-in version 5.0.1
for Vim version 7.0 and above
Fritz Mehner <[email protected]>

Expand Down Expand Up @@ -113,16 +113,18 @@ profiler can be done with a keystroke.
1. USAGE WITH GUI (gVim) *perlsupport-usage-gvim*
==============================================================================

>>> The root menu is not visible by default. The root menu 'Perl' will
>>> appears after the first file with extension 'pl', 'pm', or 't' or with
>>> filetype 'perl' or 'pod' has been opened.

If the root menu 'Perl' is not visible you also can call it with the item
"Load Perl Support" from the standard Tools-menu. The item "Unload Perl
Support" can be used to unload the Perl root menu. See|perlsupport-custom-root|.

Nearly all menu entries insert code snippets or comments. All of these are
contained within template files and can be changed by the user to meet their
requirements (see|perlsupport-templates|).

The root menu 'Perl' appears after the first file with extension 'pl', 'pm',
or 't' has been opend.
If the root menu 'Perl' is not visible call it with the item "Load Perl
Support" from the standard Tools-menu. The item "Unload Perl Support" can be
used to unload the Perl root menu. See also |perlsupport-custom-root|.

------------------------------------------------------------------------------
1.1 MENU 'Comments' *perlsupport-comments*
------------------------------------------------------------------------------
Expand Down Expand Up @@ -1421,7 +1423,7 @@ Legend: (i) insert mode, (n) normal mode, (v) visual mode

\ntl edit local template file (in )
\ntr reread template file (in )
\nts choose template style (in )
\nts choose template style (in )
\ntj jump tags (in )
\nxs regex code snippet documentation (in )

Expand All @@ -1434,7 +1436,7 @@ Legend: (i) insert mode, (n) normal mode, (v) visual mode
\iaa array declaration + (initial.) (in )
\ih hash declaration (in )
\iha hash declaration + (initial.) (in )
\ir regex declaration (in )
\ir regex declaration (in )
\im match (in )
\is substitute (in )
\it translate (in )
Expand Down Expand Up @@ -1503,9 +1505,9 @@ Legend: (i) insert mode, (n) normal mode, (v) visual mode
\rg generation Perl module list (in )
\ry run perltidy (inv)
\rc run perlcritic (in )
\rpcs set perlcritic severity (in )
\rpcv set perlcritic verbosity (in )
\rpco set perlcritic optionsty (in )
\rpcs set perlcritic severity (in )
\rpcv set perlcritic verbosity (in )
\rpco set perlcritic optionsty (in )
\rt save buffer with timestamp (in )
\rh hardcopy buffer to FILENAME.ps (inv)
\rk settings and hotkeys (in )
Expand Down Expand Up @@ -1692,6 +1694,7 @@ g:Perl_Dictionary_File ''
g:Perl_MenuHeader 'yes'
g:Perl_GuiSnippetBrowser 'gui'
g:Perl_GuiTemplateBrowser 'gui'
g:Perl_CreateMenusDelayed 'yes'
g:Perl_PerlTags 'off'
g:Perl_PerltidyBackup 'off'

Expand Down Expand Up @@ -1736,6 +1739,7 @@ The variable root_dir will automatically be set to one of the following values:
g:Perl_MenuHeader : Switch submenu titles on/off.
g:Perl_GuiSnippetBrowser : code snippet browser: 'gui', 'commandline'
g:Perl_GuiTemplateBrowser : code template browser: 'gui', 'explorer', 'commandline'
g:Perl_CreateMenusDelayed : Delaying the initialization until the first file is opened.
g:Perl_PerlTags : switch use of Perl::Tags on/off ( 'on', 'off' )
g:Perl_Perltidy : use perltidy as standard beautifier
g:Perl_PerltidyBackup : write a backup file before running perltidy
Expand Down Expand Up @@ -1766,6 +1770,18 @@ The variable root_dir will automatically be set to one of the following values:
4.3 THE ROOT MENU *perlsupport-custom-root*
------------------------------------------------------------------------------

The root menu is not visible by default. The root menu 'Perl' will appears
after the first file with extension 'pl', 'pm', or 't' or with filetype 'perl'
or 'pod' has been opened.
When the root menu is visible all templates have been loaded and the internal
data structures are built. On a slow computer this may cause a noticeable
delay when starting the editor. Therefor loading the templates is delayed to
the point where the first Perl file will be loaded.
To load the menu anyway when the editor starts add the following line to
~/.vimrc :
>
let g:Perl_CreateMenusDelayed = 'no'
<
The variable g:Perl_Root, if set in .vimrc or in .gvimrc, gives the name of
the single gVim root menu item in which the Perl submenus are contained. The
default is
Expand Down Expand Up @@ -2075,7 +2091,7 @@ The format for *|DATE|* ,*|TIME|* , and*|YEAR|* can be set by the user. The
defaults are
Example:
>
|DATE| '%x'
|DATE| '%x'
|TIME| '%X'
|YEAR| '%Y'
<
Expand Down Expand Up @@ -2157,7 +2173,7 @@ Perl::Tags.
The availability of Perl::Tags is automatically detected. To switch this
feature on put the following line into .vimrc :
>
let g:Perl_PerlTags = 'on'
let g:Perl_PerlTags = 'on'
<
The default value is 'off'.

Expand Down Expand Up @@ -2331,7 +2347,7 @@ Open a block (modes: i,v):
'{<CR>' => {
|
}
<
<
In visual mode the content of the new block will be indented.

==============================================================================
Expand Down
Loading

0 comments on commit 96f8b0b

Please sign in to comment.