File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed
Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 1- *usr_51.txt* For Vim バージョン 9.1. Last change: 2022 Jun 03
1+ *usr_51.txt* For Vim バージョン 9.1. Last change: 2022 Apr 04
22
33 VIM USER MANUAL - by Bram Moolenaar
44
@@ -654,12 +654,8 @@ exists("*s:Func") 関数が定義済かどうかをチェックする。
654654 *:CompilerSet*
655655二つ目は、":compiler!" が使われたときは ":set" を使い、":compiler" が使われた
656656ときは ":setlocal" を使う仕組みです。Vim はそのために ":CompilerSet" という
657- ユーザーコマンドを定義します。古い Vim はそれを定義しないので、プラグインの中
658- で定義してください。例: >
657+ ユーザーコマンドを定義します。例: >
659658
660- if exists(":CompilerSet") != 2
661- command -nargs=* CompilerSet setlocal <args>
662- endif
663659 CompilerSet errorformat& " use the dfault 'errorformat'
664660 CompilerSet makeprg=nmake
665661
Original file line number Diff line number Diff line change 1- *usr_51.txt* For Vim version 9.1. Last change: 2022 Jun 03
1+ *usr_51.txt* For Vim version 9.1. Last change: 2024 Apr 04
22
33 VIM USER MANUAL - by Bram Moolenaar
44
@@ -649,13 +649,9 @@ When you write a compiler file and put it in your personal runtime directory
649649make the default file skip the settings.
650650 *:CompilerSet*
651651The second mechanism is to use ":set" for ":compiler!" and ":setlocal" for
652- ":compiler". Vim defines the ":CompilerSet" user command for this. However,
653- older Vim versions don't, thus your plugin should define it then. This is an
654- example: >
652+ ":compiler". Vim defines the ":CompilerSet" user command for this. This is
653+ an example: >
655654
656- if exists(":CompilerSet") != 2
657- command -nargs=* CompilerSet setlocal <args>
658- endif
659655 CompilerSet errorformat& " use the default 'errorformat'
660656 CompilerSet makeprg=nmake
661657
You can’t perform that action at this time.
0 commit comments