File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 1- *if_perl.txt* For Vim バージョン 9.1. Last change: 2025 Oct 12
1+ *if_perl.txt* For Vim バージョン 9.1. Last change: 2025 Oct 14
22
33
44 VIMリファレンスマニュアル by Sven Verdoolaege
@@ -17,11 +17,10 @@ Perl と Vim *perl* *Perl*
17171. Perl のファイルを編集する *perl-editing*
1818
1919Vim の構文ハイライト(syntax highlighting)は Perl と POD のファイルもサポートし
20- ています。Vim はファイルの拡張子が .pl か .pm であると、Perl のコードだと想定
21- します。また、ファイルの拡張子によらず、Vim はファイルの1行目を調べてファイル
22- が Perl スクリプトであるかどうか確認します(Vim の syntax ディレクトリにある
23- scripts.vim を参照してください)。ファイルの拡張子が .POD であると、Vim は POD
24- テキストであると想定します。
20+ ている。Vim はファイルの拡張子が .pl か .pm であると、Perl のコードだと想定
21+ する。Vimは、ファイルタイプが検出されなかった場合、ファイルの shebang 行も調べ
22+ て、ファイルが Perl スクリプトかどうかを確認する。ファイル名に .POD サフィック
23+ スが付いている場合、Vim はファイルが POD テキストであると想定する。
2524
2625Perl でタグを使うには、Universal/Exuberant Ctags が必要です。ここを訪れてくだ
2726さい:
Original file line number Diff line number Diff line change 1- *if_perl.txt* For Vim version 9.1. Last change: 2025 Oct 12
1+ *if_perl.txt* For Vim version 9.1. Last change: 2025 Oct 14
22
33
44 VIM REFERENCE MANUAL by Sven Verdoolaege
@@ -18,9 +18,9 @@ Perl and Vim *perl* *Perl*
1818
1919Vim syntax highlighting supports Perl and POD files. Vim assumes a file is
2020Perl code if the filename has a .pl or .pm suffix. Vim also examines the
21- first line of a file, regardless of the filename suffix , to check if a file is
22- a Perl script (see scripts.vim in Vim's syntax directory). Vim assumes a file
23- is POD text if the filename has a .POD suffix.
21+ shebang line of a file, if no filetype has been detected , to check if a file
22+ is a Perl script. Vim assumes a file is POD text if the filename has a .POD
23+ suffix.
2424
2525To use tags with Perl, you need Universal/Exuberant Ctags. Look here:
2626 Universal Ctags (preferred): https://ctags.io
You can’t perform that action at this time.
0 commit comments