From 107bddc3c76fb6336bffe55a3753238089151e31 Mon Sep 17 00:00:00 2001 From: h-east Date: Mon, 28 Apr 2025 00:26:14 +0900 Subject: [PATCH 1/2] Update usr_41.{txt,jax} --- doc/usr_41.jax | 12 ++++++++---- en/usr_41.txt | 10 +++++++--- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/doc/usr_41.jax b/doc/usr_41.jax index ce2c524c0..a34909198 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 From 19f5fac15a3f52833a9c4f994338129543bfab26 Mon Sep 17 00:00:00 2001 From: h_east Date: Tue, 29 Apr 2025 15:56:31 +0900 Subject: [PATCH 2/2] Update doc/usr_41.jax Co-authored-by: Tsuyoshi CHO --- doc/usr_41.jax | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/usr_41.jax b/doc/usr_41.jax index a34909198..41c1eb5d6 100644 --- a/doc/usr_41.jax +++ b/doc/usr_41.jax @@ -37,9 +37,9 @@ Vim script 言語は vimrc ファイルや構文ファイルなど、さまざ *vim-script-notation* 正しい表記は "Vim script" (または、新しい Vim9 言語 |Vim9-script| を指す場合は -"Vim9 script") です。そのため、このドキュメントでは Vim スクリプト言語を指す際 -には "Vim script" を使用します。この略称は、Vim を使ったスクリプト作成に関する -説明や議論を簡潔にするのに役立ちます。 +"Vim9 script") です。そのため、このドキュメントでは Vim のスクリプト言語を指す +際には "Vim script" を使用します。この略称は、Vim を使ったスクリプト作成に関す +る説明や議論を簡潔にするのに役立ちます。 Vim プラグインは、1 つ以上の Vim script と、ヘルプドキュメント、構成ファイル、 その他のリソース等の追加ファイルのコレクションであり、Vim に特定の特性や機能を