Skip to content

Update insert.{txt,jax} #2168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions doc/insert.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*insert.txt* For Vim バージョン 9.1. Last change: 2025 Jul 05
*insert.txt* For Vim バージョン 9.1. Last change: 2025 Jul 17


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -1193,13 +1193,17 @@ Note 最初の呼び出し以降にカーソルが移動した可能性があり
例: >
:set completepopup=height:10,width:60,highlight:InfoPopup

"align" 値が "item" の場合、ポップアップは選択されたアイテムの近くに配置され
る。選択を変更すると、ポップアップも移動する。"align" が "menu" の場合、ポップ
アップがメニューがテキストの下にある場合はメニューの上部に配置され、そうでない
場合はメニューの下部に配置される。
`"align"` を `"item"` に設定すると、ポップアップは選択された項目の近くに配置さ
れ、選択内容の変更に応じて移動する。
`"menu"` に設定すると、ポップアップはメニューの上端 (メニューがテキストの下に
表示される場合) または下端 (メニューがテキストの上に表示される場合) に揃えられ
る。

'mouse' が有効になっている場合、ポップアップの境界に閉じるボタンとサイズ変更ハ
ンドルが表示される。

情報ポップアップが作成された後、それを |popup_findinfo()| で見つけることがで
き、プロパティは |popup_setoptions()| で変更できる。
作成後、情報ポップアップは |popup_findinfo()| で見つけることができ、
|popup_setoptions()| で変更できる。

*complete-popuphidden*
ポップアップの情報が非同期で得られる場合は、'completeopt' で "popuphidden" を
Expand Down
17 changes: 10 additions & 7 deletions en/insert.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*insert.txt* For Vim version 9.1. Last change: 2025 Jul 05
*insert.txt* For Vim version 9.1. Last change: 2025 Jul 17


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -1258,13 +1258,16 @@ of values:
Example: >
:set completepopup=height:10,width:60,highlight:InfoPopup

When the "align" value is "item" then the popup is positioned close to the
selected item. Changing the selection will also move the popup. When "align"
is "menu" then the popup is aligned with the top of the menu if the menu is
below the text, and the bottom of the menu otherwise.
When `"align"` is set to `"item"`, the popup is positioned near the selected
item, and moves as the selection changes.
When set to `"menu"`, the popup aligns with the top of the menu (if the menu
appears below the text), or with the bottom (if the menu appears above).

After the info popup is created it can be found with |popup_findinfo()| and
properties can be changed with |popup_setoptions()|.
If the 'mouse' is enabled, a close button and resize handle will appear on the
popup border.

After creation, the info popup can be located with |popup_findinfo()| and
modified using |popup_setoptions()|.

*complete-popuphidden*
If the information for the popup is obtained asynchronously, use "popuphidden"
Expand Down