From 1b590e1aac8986a274c7cf9e18c5811117eb1acc Mon Sep 17 00:00:00 2001 From: h-east Date: Tue, 25 Feb 2025 23:01:33 +0900 Subject: [PATCH] Update popup.{txt,jax} --- doc/popup.jax | 10 +++++----- en/popup.txt | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/popup.jax b/doc/popup.jax index b1f82c33d..007a67bcb 100644 --- a/doc/popup.jax +++ b/doc/popup.jax @@ -1,4 +1,4 @@ -*popup.txt* For Vim バージョン 9.1. Last change: 2025 Jan 08 +*popup.txt* For Vim バージョン 9.1. Last change: 2025 Feb 20 VIMリファレンスマニュアル by Bram Moolenaar @@ -512,8 +512,8 @@ popup_menu({what}, {options}) *popup_menu()* \ filter: 'popup_filter_menu', \ mapping: 0, \ }) -< 現在行は、"PopupSelected" を使用してマッチでハイライトされる。 - 未定義の場合は、|PmenuSel| が使われる。 +< 現在行は、デフォルトで "PmenuSel" にリンクされている + |hl-PopupSelected| を使用してマッチでハイライトされる。 プロパティを変更するには {options} を使用する。少なくとも "callback" を選択された項目を扱う関数に設定するべきである。 @@ -568,8 +568,8 @@ popup_notification({what}, {options}) *popup_notification()* \ close: 'click', \ padding: [0,1,0,1], \ }) -< PopupNotification ハイライトグループが定義されている場合は、 - WarningMsg の代わりに使用される。 +< |hl-PopupNotification| ハイライトグループが定義されている場合 + は、WarningMsg の代わりに使用される。 |+timers| 機能なしだと、ポップアップは自動的に消えない。ユー ザーはクリックする必要がある。 diff --git a/en/popup.txt b/en/popup.txt index 06acf3918..ba87b31f1 100644 --- a/en/popup.txt +++ b/en/popup.txt @@ -1,4 +1,4 @@ -*popup.txt* For Vim version 9.1. Last change: 2025 Jan 08 +*popup.txt* For Vim version 9.1. Last change: 2025 Feb 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -504,7 +504,7 @@ popup_menu({what}, {options}) *popup_menu()* \ mapping: 0, \ }) < The current line is highlighted with a match using - "PopupSelected", or "PmenuSel" if that is not defined. + |hl-PopupSelected| which is linked to "PmenuSel" by default. Use {options} to change the properties. Should at least set "callback" to a function that handles the selected item. @@ -559,7 +559,7 @@ popup_notification({what}, {options}) *popup_notification()* \ close: 'click', \ padding: [0,1,0,1], \ }) -< The PopupNotification highlight group is used instead of +< The |hl-PopupNotification| highlight group is used instead of WarningMsg if it is defined. Without the |+timers| feature the popup will not disappear