Skip to content

Commit c584c55

Browse files
authored
Merge pull request #2459 from h-east/update-misc-files
Update {eval,options,quickfix}.{txt,jax}
2 parents 81b5c81 + 6201941 commit c584c55

File tree

6 files changed

+32
-14
lines changed

6 files changed

+32
-14
lines changed

doc/eval.jax

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim バージョン 9.1. Last change: 2025 Dec 23
1+
*eval.txt* For Vim バージョン 9.1. Last change: 2025 Dec 27
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -3611,11 +3611,11 @@ text...
36113611
{pattern} が省略された場合は全てのエラーが捕捉される。
36123612
例: >
36133613
:catch /^Vim:Interrupt$/ " 割り込み (CTRL-C) を捕捉
3614-
:catch /^Vim\%((\a\+)\)\=:E/ " 全ての Vim エラーを捕捉
3615-
:catch /^Vim\%((\a\+)\)\=:/ " 例外と割り込みを捕捉
3614+
:catch /^Vim\%((\S\+)\)\=:E/ " 全ての Vim エラーを捕捉
3615+
:catch /^Vim\%((\S\+)\)\=:/ " 例外と割り込みを捕捉
36163616
:catch /^Vim(write):/ " :write の全てのエラーを捕捉
36173617
:catch /^Vim(!):/ " :! の全てのエラーを補足
3618-
:catch /^Vim\%((\a\+)\)\=:E123:/ " エラー E123 を捕捉
3618+
:catch /^Vim\%((\S\+)\)\=:E123:/ " エラー E123 を捕捉
36193619
:catch /my-exception/ " ユーザー定義例外を捕捉
36203620
:catch /.*/ " 全てを捕捉
36213621
:catch " /.*/ と同じ

doc/options.jax

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2025 Dec 23
1+
*options.txt* For Vim バージョン 9.1. Last change: 2025 Dec 27
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -4316,7 +4316,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
43164316

43174317
*'fsync'* *'fs'* *'nofsync'* *'nofs'*
43184318
'fsync' 'fs' 切替 (既定ではオン)
4319-
グローバル
4319+
グローバル/バッファについてローカル |global-local|
43204320
これがオンになっていると、ファイル書き込みの後にライブラリ関数fsync()
43214321
が呼ばれる。するとファイルがディスクにフラッシュされ、メタデータのみを
43224322
ジャーナルするファイルシステム上でも安全に書き込みが行われるようになる。
@@ -4326,6 +4326,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる
43264326
実装がないシステム上ではこの変数は常にオフである。
43274327
スワップファイルに対してfsync()をコントロールするには 'swapsync' を参
43284328
照。
4329+
これは |global-local| オプションなので、例えば低速のファイルシステムに
4330+
書き込む場合など、バッファごとに設定できる。
43294331
'fsync' は |writefile()| (フラグがこれを却下するように指定されていない
43304332
限り) とアンドゥファイルが書き込まれる時 (|undo-persistence| を参照)
43314333
にも適用される。

doc/quickfix.jax

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*quickfix.txt* For Vim バージョン 9.1. Last change: 2025 Dec 21
1+
*quickfix.txt* For Vim バージョン 9.1. Last change: 2025 Dec 27
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -1600,6 +1600,13 @@ MYPY TYPE CHECKER *compiler-mypy*
16001600
16011601
グローバルのデフォルトは "--strict --ignore-missing-imports" である。
16021602

1603+
PYRIGHT TYPE CHECKER *compiler-pyright*
1604+
1605+
よく使用されるコンパイラオプションは、b/g:pyright_makeprg_params 変数を設定す
1606+
ることで 'makeprg' に追加できる。
1607+
1608+
グローバルのデフォルトは "pyright" である。
1609+
16031610
TY TYPE CHECKER *compiler-ty*
16041611

16051612
よく使用されるコンパイラオプションと実行可能ファイルは、b/g:ty_makeprg 変数に

en/eval.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 9.1. Last change: 2025 Dec 23
1+
*eval.txt* For Vim version 9.1. Last change: 2025 Dec 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3723,11 +3723,11 @@ text...
37233723
{cmd}. When {pattern} is omitted all errors are
37243724
caught. Examples: >
37253725
:catch /^Vim:Interrupt$/ " catch interrupts (CTRL-C)
3726-
:catch /^Vim\%((\a\+)\)\=:E/ " catch all Vim errors
3727-
:catch /^Vim\%((\a\+)\)\=:/ " catch errors and interrupts
3726+
:catch /^Vim\%((\S\+)\)\=:E/ " catch all Vim errors
3727+
:catch /^Vim\%((\S\+)\)\=:/ " catch errors and interrupts
37283728
:catch /^Vim(write):/ " catch all errors in :write
37293729
:catch /^Vim(!):/ " catch all errors in :!
3730-
:catch /^Vim\%((\a\+)\)\=:E123:/ " catch error E123
3730+
:catch /^Vim\%((\S\+)\)\=:E123:/ " catch error E123
37313731
:catch /my-exception/ " catch user exception
37323732
:catch /.*/ " catch everything
37333733
:catch " same as /.*/

en/options.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2025 Dec 23
1+
*options.txt* For Vim version 9.1. Last change: 2025 Dec 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4274,7 +4274,7 @@ A jump table for the options with a short description can be found at |Q_op|.
42744274

42754275
*'fsync'* *'fs'* *'nofsync'* *'nofs'*
42764276
'fsync' 'fs' boolean (default on)
4277-
global
4277+
global or local to buffer |global-local|
42784278
When on, the library function fsync() will be called after writing a
42794279
file. This will flush a file to disk, ensuring that it is safely
42804280
written even on filesystems which do metadata-only journaling. This
@@ -4283,6 +4283,8 @@ A jump table for the options with a short description can be found at |Q_op|.
42834283
turning this off increases the chances of data loss after a crash. On
42844284
systems without an fsync() implementation, this variable is always
42854285
off.
4286+
This is a |global-local| option, so it can be set per buffer, for
4287+
example when writing to a slow filesystem.
42864288
Also see 'swapsync' for controlling fsync() on swap files.
42874289
'fsync' also applies to |writefile()| (unless a flag is used to
42884290
overrule it) and when writing undo files (see |undo-persistence|).

en/quickfix.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*quickfix.txt* For Vim version 9.1. Last change: 2025 Dec 21
1+
*quickfix.txt* For Vim version 9.1. Last change: 2025 Dec 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1654,6 +1654,13 @@ b/g:mypy_makeprg_params variable. For example: >
16541654
16551655
The global default is "--strict --ignore-missing-imports".
16561656

1657+
PYRIGHT TYPE CHECKER *compiler-pyright*
1658+
1659+
Commonly used compiler options can be added to 'makeprg' by setting the
1660+
b/g:pyright_makeprg_params variable.
1661+
1662+
The global default is "pyright".
1663+
16571664
TY TYPE CHECKER *compiler-ty*
16581665

16591666
Commonly used compiler options and executable can be set by the

0 commit comments

Comments
 (0)