Skip to content

Commit 66a8cad

Browse files
authored
Merge pull request #223 from mnishz/if_perl_for_Vim_8
Update if_perl from Vim 8.0 to 8.1
2 parents 5fea86b + f58d80d commit 66a8cad

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

doc/if_perl.jax

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_perl.txt* For Vim バージョン 8.0. Last change: 2015 Oct 16
1+
*if_perl.txt* For Vim バージョン 8.1. Last change: 2017 Nov 24
22

33

44
VIMリファレンスマニュアル by Sven Verdoolaege
@@ -97,7 +97,6 @@ Vim script の例: >
9797
したり、削除したりすることはできないということに注意し
9898
てください。
9999
デフォルトの [range] はすべての行です: "1,$"。
100-
{Vi にはない機能です}
101100

102101
いくつかの例をあげますと: >
103102
@@ -114,7 +113,7 @@ Vim script の例: >
114113
Perl で使える関数の一覧です: >
115114
116115
:perl VIM::Msg("Text") # メッセージを表示します
117-
:perl VIM::Msg("Error", "ErrorMsg") # エラーメッセージを表示します
116+
:perl VIM::Msg("Wrong!", "ErrorMsg") # エラーメッセージを表示します
118117
:perl VIM::Msg("remark", "Comment") # ハイライトされたメッセージを表示します
119118
:perl VIM::SetOption("ai") # Vim のオプションをセットします
120119
:perl $nbuf = VIM::Buffers() # 全てのバッファ数を返す

en/if_perl.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
22

33

44
VIM REFERENCE MANUAL by Sven Verdoolaege
@@ -7,7 +7,7 @@
77
Perl and Vim *perl* *Perl*
88

99
1. Editing Perl files |perl-editing|
10-
2. Compiling VIM with Perl interface |perl-compiling|
10+
2. Compiling Vim with Perl interface |perl-compiling|
1111
3. Using the Perl interface |perl-using|
1212
4. Dynamic loading |perl-dynamic|
1313

@@ -33,7 +33,7 @@ Vim in the $VIMRUNTIME/tools directory. This script has currently more
3333
features than Exuberant ctags' Perl support.
3434

3535
==============================================================================
36-
2. Compiling VIM with Perl interface *perl-compiling*
36+
2. Compiling Vim with Perl interface *perl-compiling*
3737

3838
To compile Vim with Perl interface, you need Perl 5.004 (or later). Perl must
3939
be installed before you compile Vim. Vim's Perl interface does NOT work with
@@ -112,7 +112,7 @@ possible.
112112
Here is an overview of the functions that are available to Perl: >
113113
114114
: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
116116
:perl VIM::Msg("remark", "Comment") # displays a highlighted message
117117
:perl VIM::SetOption("ai") # sets a vim option
118118
:perl $nbuf = VIM::Buffers() # returns the number of buffers

0 commit comments

Comments
 (0)