From d6417881ce23488029175303d5955afc4fd1bf0a Mon Sep 17 00:00:00 2001 From: h-east Date: Mon, 29 Sep 2025 10:17:06 +0900 Subject: [PATCH] Update {filetype,gui_x11,pattern,quickfix,usr_40,usr_41}.{txt,jax} --- doc/filetype.jax | 4 ++-- doc/gui_x11.jax | 4 +++- doc/pattern.jax | 4 ++-- doc/quickfix.jax | 8 ++++---- doc/usr_40.jax | 4 ++-- doc/usr_41.jax | 4 +++- en/filetype.txt | 4 ++-- en/gui_x11.txt | 4 +++- en/pattern.txt | 4 ++-- en/quickfix.txt | 8 ++++---- en/usr_40.txt | 4 ++-- en/usr_41.txt | 3 ++- 12 files changed, 31 insertions(+), 24 deletions(-) diff --git a/doc/filetype.jax b/doc/filetype.jax index 0cb275d41..7ef360f0b 100644 --- a/doc/filetype.jax +++ b/doc/filetype.jax @@ -1,4 +1,4 @@ -*filetype.txt* For Vim バージョン 9.1. Last change: 2025 Aug 10 +*filetype.txt* For Vim バージョン 9.1. Last change: 2025 Sep 24 VIMリファレンスマニュアル by Bram Moolenaar @@ -752,7 +752,7 @@ Note Zip プラグインで読み込まれたバッファ内で "gf" コマン それ以外の場合、定義済み変数 "g:ftplugin_java_source_path" に対して、変数の値 を先頭に追加することで、'path' オプションのローカル値がさらに変更される。例: > let g:ftplugin_java_source_path = $JDK_SRC_PATH - let &l:path = g:ftplugin_java_source_path . ',' . &l:path + let &l:path = g:ftplugin_java_source_path .. ',' .. &l:path < そして、"gf" コマンドを完全修飾型の上で使用することで、"path" からファイルを探 し、それを読み込もうと試みることができる。 diff --git a/doc/gui_x11.jax b/doc/gui_x11.jax index c5330bbb7..0be3bef9f 100644 --- a/doc/gui_x11.jax +++ b/doc/gui_x11.jax @@ -1,4 +1,4 @@ -*gui_x11.txt* For Vim バージョン 9.1. Last change: 2025 Sep 02 +*gui_x11.txt* For Vim バージョン 9.1. Last change: 2025 Sep 22 VIMリファレンスマニュアル by Bram Moolenaar @@ -710,6 +710,8 @@ Note "+ レジスタのテキストはビジュアル選択しただけで変更 Warning: Clipboard register not available, using register 0 ~ +Note: これは Wayland のクリップボード機能にも適用される。 + *W24* Vim にはオリジナルの Vi との互換性だけを追求した小さなビルドから、多くの改善 (GUI 等) を含む拡張ビルドまでさまざまな種類がある。ただし、サーバーや組み込み diff --git a/doc/pattern.jax b/doc/pattern.jax index 032f26529..3723a0622 100644 --- a/doc/pattern.jax +++ b/doc/pattern.jax @@ -1,4 +1,4 @@ -*pattern.txt* For Vim バージョン 9.1. Last change: 2025 Aug 21 +*pattern.txt* For Vim バージョン 9.1. Last change: 2025 Sep 24 VIMリファレンスマニュアル by Bram Moolenaar @@ -957,7 +957,7 @@ $ パターンの末尾、または "\|"、"\)"、"\n" ('magic' on時) の前に 動しても変化に合わせて表示が更新されることはありません。更新されるのは コマンド |CTRL-L| を使ったときです (画面全体が更新されます)。 現在行を強調表示するには次のようにします: > - :exe '/\%' . line(".") . 'l' + :exe '/\%' .. line(".") .. 'l' < あるいは次を使います: > /\%.l < 'hlsearch' をオンにして、カーソルを移動し、テキストを変更してみて、表 diff --git a/doc/quickfix.jax b/doc/quickfix.jax index e5b1a2e4b..2b730716b 100644 --- a/doc/quickfix.jax +++ b/doc/quickfix.jax @@ -1,4 +1,4 @@ -*quickfix.txt* For Vim バージョン 9.1. Last change: 2025 Aug 27 +*quickfix.txt* For Vim バージョン 9.1. Last change: 2025 Sep 24 VIMリファレンスマニュアル by Bram Moolenaar @@ -1368,7 +1368,7 @@ Vim コマンドは 'makeprg' [0] に習熟していると、デフォルトア たキーに割り当てる。例: >vim function! GenericPostCompilerCommand(arguments) abort - execute 'make ' . a:arguments + execute 'make ' .. a:arguments endfunction let g:spotbugs_properties = { @@ -1399,7 +1399,7 @@ User` を実行して、一度だけ実行される |ShellCmdPost| `:autocmd` function! GenericPreCompilerCommand(arguments) abort if !exists('g:spotbugs_compilation_done') doautocmd java_spotbugs_post User - execute 'make ' . a:arguments + execute 'make ' .. a:arguments " :make が同期している場合にのみ doautocmd を実行する。 " 下記の注記を参照 doautocmd java_spotbugs_post ShellCmdPost " XXX: (a) @@ -1412,7 +1412,7 @@ User` を実行して、一度だけ実行される |ShellCmdPost| `:autocmd` function! GenericPreCompilerTestCommand(arguments) abort if !exists('g:spotbugs_test_compilation_done') doautocmd java_spotbugs_post User - execute 'make ' . a:arguments + execute 'make ' .. a:arguments " :make が同期している場合にのみ doautocmd を実行する。 " 下記の注記を参照 doautocmd java_spotbugs_post ShellCmdPost " XXX: (b) diff --git a/doc/usr_40.jax b/doc/usr_40.jax index b37635de4..e10b774de 100644 --- a/doc/usr_40.jax +++ b/doc/usr_40.jax @@ -1,4 +1,4 @@ -*usr_40.txt* For Vim バージョン 9.1. Last change: 2022 Jun 23 +*usr_40.txt* For Vim バージョン 9.1. Last change: 2025 Sep 24 VIM USER MANUAL - by Bram Moolenaar @@ -581,7 +581,7 @@ BufReadPost は最も便利なイベントの一つです。これは新しい 擬似的にイベントを発行して、自動コマンドを実行することができます。自動コマンド の中から他の自動コマンドを実行するような場合に便利です。例: > - :autocmd BufReadPost *.new execute "doautocmd BufReadPost " . expand(":r") + :autocmd BufReadPost *.new execute "doautocmd BufReadPost " .. expand(":r") 新しいファイルが開かれたときに実行される自動コマンドを定義しています。ファイル 名の末尾が ".new" になっているものが対象です。":execute" コマンドは、引数を評 diff --git a/doc/usr_41.jax b/doc/usr_41.jax index 28f7f6c41..43c5ae7ef 100644 --- a/doc/usr_41.jax +++ b/doc/usr_41.jax @@ -1,4 +1,4 @@ -*usr_41.txt* For Vim バージョン 9.1. Last change: 2025 Aug 23 +*usr_41.txt* For Vim バージョン 9.1. Last change: 2025 Sep 26 VIM USER MANUAL - by Bram Moolenaar @@ -1110,6 +1110,8 @@ Quickfixとlocationリスト: *quickfix-functions* complete_info() 現在の補完情報を得る complete_match() 挿入モードの補完の開始マッチ桁とトリガーテキス トを取得する + preinserted() カーソルの後ろにテキストが挿入されるかどうかを + 確認する pumvisible() ポップアップメニューが表示されているかチェック pum_getpos() 表示されているポップアップメニューの位置とサイ ズを得る diff --git a/en/filetype.txt b/en/filetype.txt index 4b2cbc84f..4052afbce 100644 --- a/en/filetype.txt +++ b/en/filetype.txt @@ -1,4 +1,4 @@ -*filetype.txt* For Vim version 9.1. Last change: 2025 Aug 10 +*filetype.txt* For Vim version 9.1. Last change: 2025 Sep 24 VIM REFERENCE MANUAL by Bram Moolenaar @@ -763,7 +763,7 @@ Otherwise, for the defined variable "g:ftplugin_java_source_path", the local value of the 'path' option will be further modified by prefixing the value of the variable, e.g.: > let g:ftplugin_java_source_path = $JDK_SRC_PATH - let &l:path = g:ftplugin_java_source_path . ',' . &l:path + let &l:path = g:ftplugin_java_source_path .. ',' .. &l:path < and the "gf" command can be used on a fully-qualified type to look for a file in the "path" and to try to load it. diff --git a/en/gui_x11.txt b/en/gui_x11.txt index 89ba7c2ee..3b618aa5e 100644 --- a/en/gui_x11.txt +++ b/en/gui_x11.txt @@ -1,4 +1,4 @@ -*gui_x11.txt* For Vim version 9.1. Last change: 2025 Sep 02 +*gui_x11.txt* For Vim version 9.1. Last change: 2025 Sep 22 VIM REFERENCE MANUAL by Bram Moolenaar @@ -714,6 +714,8 @@ output a warning: Warning: Clipboard register not available, using register 0 ~ +Note: This also applies to the Wayland clipboard feature as well. + *W24* Vim comes in different flavors, from a tiny build, that just tries to be compatible to original Vi, to enhanced builds which include many improvements diff --git a/en/pattern.txt b/en/pattern.txt index 51280317a..d72657488 100644 --- a/en/pattern.txt +++ b/en/pattern.txt @@ -1,4 +1,4 @@ -*pattern.txt* For Vim version 9.1. Last change: 2025 Aug 21 +*pattern.txt* For Vim version 9.1. Last change: 2025 Sep 24 VIM REFERENCE MANUAL by Bram Moolenaar @@ -966,7 +966,7 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on): the cursor moves the display isn't updated for this change. An update is done when using the |CTRL-L| command (the whole screen is updated). Example, to highlight the line where the cursor currently is: > - :exe '/\%' . line(".") . 'l' + :exe '/\%' .. line(".") .. 'l' < Alternatively use: > /\%.l < When 'hlsearch' is set and you move the cursor around and make changes diff --git a/en/quickfix.txt b/en/quickfix.txt index 02a1a663e..906e98a16 100644 --- a/en/quickfix.txt +++ b/en/quickfix.txt @@ -1,4 +1,4 @@ -*quickfix.txt* For Vim version 9.1. Last change: 2025 Aug 27 +*quickfix.txt* For Vim version 9.1. Last change: 2025 Sep 24 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1418,7 +1418,7 @@ declares an only parameter of type string and puts to use a command equivalent of |:make|, and assigning its |Funcref| to the selected key. For example: >vim function! GenericPostCompilerCommand(arguments) abort - execute 'make ' . a:arguments + execute 'make ' .. a:arguments endfunction let g:spotbugs_properties = { @@ -1449,7 +1449,7 @@ that will arrange for "PostCompilerActionExecutor" to be invoked; and then run function! GenericPreCompilerCommand(arguments) abort if !exists('g:spotbugs_compilation_done') doautocmd java_spotbugs_post User - execute 'make ' . a:arguments + execute 'make ' .. a:arguments " only run doautocmd when :make was synchronous " see note below doautocmd java_spotbugs_post ShellCmdPost " XXX: (a) @@ -1462,7 +1462,7 @@ that will arrange for "PostCompilerActionExecutor" to be invoked; and then run function! GenericPreCompilerTestCommand(arguments) abort if !exists('g:spotbugs_test_compilation_done') doautocmd java_spotbugs_post User - execute 'make ' . a:arguments + execute 'make ' .. a:arguments " only run doautocmd when :make was synchronous " see note below doautocmd java_spotbugs_post ShellCmdPost " XXX: (b) diff --git a/en/usr_40.txt b/en/usr_40.txt index b8dfae6b7..a3869fb7c 100644 --- a/en/usr_40.txt +++ b/en/usr_40.txt @@ -1,4 +1,4 @@ -*usr_40.txt* For Vim version 9.1. Last change: 2022 Jun 23 +*usr_40.txt* For Vim version 9.1. Last change: 2025 Sep 24 VIM USER MANUAL - by Bram Moolenaar @@ -597,7 +597,7 @@ EXECUTING AUTOCOMMANDS It is possible to trigger an autocommand by pretending an event has occurred. This is useful to have one autocommand trigger another one. Example: > - :autocmd BufReadPost *.new execute "doautocmd BufReadPost " . expand(":r") + :autocmd BufReadPost *.new execute "doautocmd BufReadPost " .. expand(":r") This defines an autocommand that is triggered when a new file has been edited. The file name must end in ".new". The ":execute" command uses expression diff --git a/en/usr_41.txt b/en/usr_41.txt index 813211e7c..6ee10f433 100644 --- a/en/usr_41.txt +++ b/en/usr_41.txt @@ -1,4 +1,4 @@ -*usr_41.txt* For Vim version 9.1. Last change: 2025 Aug 23 +*usr_41.txt* For Vim version 9.1. Last change: 2025 Sep 26 VIM USER MANUAL - by Bram Moolenaar @@ -1135,6 +1135,7 @@ Insert mode completion: *completion-functions* complete_info() get current completion information complete_match() get insert completion start match col and trigger text + preinserted() check if text is inserted after cursor pumvisible() check if the popup menu is displayed pum_getpos() position and size of popup menu if visible