diff --git a/doc/usr_41.jax b/doc/usr_41.jax index ce2c524c0..41c1eb5d6 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 Apr 21 +*usr_41.txt* For Vim バージョン 9.1. Last change: 2025 Apr 27 VIM USER MANUAL - by Bram Moolenaar @@ -35,9 +35,11 @@ Vim script 言語は vimrc ファイルや構文ファイルなど、さまざ これらのスクリプトは、Vim が動作をカスタマイズおよび拡張するために使用する、関 数、コマンド、および設定を定義するでしょう。 -命名法を少し乱用しますが、このドキュメント全体では Vim のスクリプト言語を指す -ために "Vim script" を使用します。この略語は、Vim を使用したスクリプトに関する -説明と議論を簡素化するのに役立ちます。 + *vim-script-notation* +正しい表記は "Vim script" (または、新しい Vim9 言語 |Vim9-script| を指す場合は +"Vim9 script") です。そのため、このドキュメントでは Vim のスクリプト言語を指す +際には "Vim script" を使用します。この略称は、Vim を使ったスクリプト作成に関す +る説明や議論を簡潔にするのに役立ちます。 Vim プラグインは、1 つ以上の Vim script と、ヘルプドキュメント、構成ファイル、 その他のリソース等の追加ファイルのコレクションであり、Vim に特定の特性や機能を @@ -1099,6 +1101,8 @@ Quickfixとlocationリスト: *quickfix-functions* complete_add() 補完候補を追加する complete_check() 補完処理を終えるべきかどうかをチェックする complete_info() 現在の補完情報を得る + complete_match() 挿入モードの補完の開始マッチ桁とトリガーテキス + トを取得する pumvisible() ポップアップメニューが表示されているかチェック pum_getpos() 表示されているポップアップメニューの位置とサイ ズを得る diff --git a/en/usr_41.txt b/en/usr_41.txt index 0c24b8469..ffa6fcb7a 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 Apr 21 +*usr_41.txt* For Vim version 9.1. Last change: 2025 Apr 27 VIM USER MANUAL - by Bram Moolenaar @@ -35,8 +35,10 @@ like for example .vim files or configuration files like .vimrc and .gvimrc. These scripts may define functions, commands and settings that Vim uses to customize and extend its behavior. -With a slight abuse of nomenclature, we will use "Vim script" to refer to the -Vim scripting language throughout this documentation. This shorthand helps to + *vim-script-notation* +The correct notation is "Vim script" (or "Vim9 script" when refering to the +new Vim9 language |Vim9-script|), so we will use "Vim script" to refer to the +Vim scripting language throughout this documentation. This shorthand helps to streamline explanations and discussions about scripting with Vim. A Vim plugin is a collection of one or more Vim scripts, along with additional @@ -1124,6 +1126,8 @@ Insert mode completion: *completion-functions* complete_add() add to found matches complete_check() check if completion should be aborted complete_info() get current completion information + complete_match() get insert completion start match col and + trigger text pumvisible() check if the popup menu is displayed pum_getpos() position and size of popup menu if visible