Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update if_perl from Vim 8.0 to 8.1 #223

Merged
merged 2 commits into from
Jun 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions doc/if_perl.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*if_perl.txt* For Vim バージョン 8.0. Last change: 2015 Oct 16
*if_perl.txt* For Vim バージョン 8.1. Last change: 2017 Nov 24


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

いくつかの例をあげますと: >

Expand All @@ -114,7 +113,7 @@ Vim script の例: >
Perl で使える関数の一覧です: >

:perl VIM::Msg("Text") # メッセージを表示します
:perl VIM::Msg("Error", "ErrorMsg") # エラーメッセージを表示します
:perl VIM::Msg("Wrong!", "ErrorMsg") # エラーメッセージを表示します
:perl VIM::Msg("remark", "Comment") # ハイライトされたメッセージを表示します
:perl VIM::SetOption("ai") # Vim のオプションをセットします
:perl $nbuf = VIM::Buffers() # 全てのバッファ数を返す
Expand Down
8 changes: 4 additions & 4 deletions en/if_perl.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*if_perl.txt* For Vim version 8.0. Last change: 2015 Oct 16
*if_perl.txt* For Vim version 8.1. Last change: 2017 Nov 24


VIM REFERENCE MANUAL by Sven Verdoolaege
Expand All @@ -7,7 +7,7 @@
Perl and Vim *perl* *Perl*

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

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

==============================================================================
2. Compiling VIM with Perl interface *perl-compiling*
2. Compiling Vim with Perl interface *perl-compiling*

To compile Vim with Perl interface, you need Perl 5.004 (or later). Perl must
be installed before you compile Vim. Vim's Perl interface does NOT work with
Expand Down Expand Up @@ -112,7 +112,7 @@ possible.
Here is an overview of the functions that are available to Perl: >

:perl VIM::Msg("Text") # displays a message
:perl VIM::Msg("Error", "ErrorMsg") # displays an error message
:perl VIM::Msg("Wrong!", "ErrorMsg") # displays an error message
:perl VIM::Msg("remark", "Comment") # displays a highlighted message
:perl VIM::SetOption("ai") # sets a vim option
:perl $nbuf = VIM::Buffers() # returns the number of buffers
Expand Down