1
- *if_perl.txt* For Vim version 8.0 . Last change: 2015 Oct 16
1
+ *if_perl.txt* For Vim version 8.1 . Last change: 2017 Nov 24
2
2
3
3
4
4
VIM REFERENCE MANUAL by Sven Verdoolaege
7
7
Perl and Vim *perl* *Perl*
8
8
9
9
1. Editing Perl files | perl-editing |
10
- 2. Compiling VIM with Perl interface | perl-compiling |
10
+ 2. Compiling Vim with Perl interface | perl-compiling |
11
11
3. Using the Perl interface | perl-using |
12
12
4. Dynamic loading | perl-dynamic |
13
13
@@ -33,7 +33,7 @@ Vim in the $VIMRUNTIME/tools directory. This script has currently more
33
33
features than Exuberant ctags' Perl support.
34
34
35
35
==============================================================================
36
- 2. Compiling VIM with Perl interface *perl-compiling*
36
+ 2. Compiling Vim with Perl interface *perl-compiling*
37
37
38
38
To compile Vim with Perl interface, you need Perl 5.004 (or later). Perl must
39
39
be installed before you compile Vim. Vim's Perl interface does NOT work with
@@ -112,7 +112,7 @@ possible.
112
112
Here is an overview of the functions that are available to Perl: >
113
113
114
114
:perl VIM::Msg("Text") # displays a message
115
- :perl VIM::Msg("Error ", "ErrorMsg") # displays an error message
115
+ :perl VIM::Msg("Wrong! ", "ErrorMsg") # displays an error message
116
116
:perl VIM::Msg("remark", "Comment") # displays a highlighted message
117
117
:perl VIM::SetOption("ai") # sets a vim option
118
118
:perl $nbuf = VIM::Buffers() # returns the number of buffers
0 commit comments