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
2
2
3
3
VIM USER MANUAL - by Bram Moolenaar
4
4
@@ -654,12 +654,8 @@ exists("*s:Func") 関数が定義済かどうかをチェックする。
654
654
*:CompilerSet*
655
655
二つ目は、":compiler!" が使われたときは ":set" を使い、":compiler" が使われた
656
656
ときは ":setlocal" を使う仕組みです。Vim はそのために ":CompilerSet" という
657
- ユーザーコマンドを定義します。古い Vim はそれを定義しないので、プラグインの中
658
- で定義してください。例: >
657
+ ユーザーコマンドを定義します。例: >
659
658
660
- if exists(":CompilerSet") != 2
661
- command -nargs=* CompilerSet setlocal <args>
662
- endif
663
659
CompilerSet errorformat& " use the dfault 'errorformat'
664
660
CompilerSet makeprg=nmake
665
661
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
2
2
3
3
VIM USER MANUAL - by Bram Moolenaar
4
4
@@ -649,13 +649,9 @@ When you write a compiler file and put it in your personal runtime directory
649
649
make the default file skip the settings.
650
650
*:CompilerSet*
651
651
The 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: >
655
654
656
- if exists(":CompilerSet") != 2
657
- command -nargs=* CompilerSet setlocal <args>
658
- endif
659
655
CompilerSet errorformat& " use the default 'errorformat'
660
656
CompilerSet makeprg=nmake
661
657
You can’t perform that action at this time.
0 commit comments