aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-06-30 15:30:54 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-07-01 10:17:39 +0800
commit610cf9f95032bd219cb5695d169fe2cd698ec307 (patch)
treee294c5bcae1401e0ba3fa37ed6c60417d47f960f /runtime
parentcf8df141f3c7e706c86aadba404ae8ad54d5c795 (diff)
downloadrneovim-610cf9f95032bd219cb5695d169fe2cd698ec307.tar.gz
rneovim-610cf9f95032bd219cb5695d169fe2cd698ec307.tar.bz2
rneovim-610cf9f95032bd219cb5695d169fe2cd698ec307.zip
vim-patch:8.0.1570: can't use :popup for a menu in the terminal
Problem: Can't use :popup for a menu in the terminal. (Wei Zhang) Solution: Make :popup work in the terminal. Also fix that entries were included that don't work in the current state. https://github.com/vim/vim/commit/29a2c08d792e4458a0af8371f5341394829fce29
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/gui.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt
index e296141c39..4205362484 100644
--- a/runtime/doc/gui.txt
+++ b/runtime/doc/gui.txt
@@ -577,8 +577,8 @@ a menu item - you don't need to do a :tunmenu as well.
5.9 Popup Menus
-In the Win32 GUI, you can cause a menu to popup at the cursor. This behaves
-similarly to the PopUp menus except that any menu tree can be popped up.
+You can cause a menu to popup at the cursor. This behaves similarly to the
+PopUp menus except that any menu tree can be popped up.
This command is for backwards compatibility, using it is discouraged, because
it behaves in a strange way.
@@ -587,7 +587,6 @@ it behaves in a strange way.
:popu[p] {name} Popup the menu {name}. The menu named must
have at least one subentry, but need not
appear on the menu-bar (see |hidden-menus|).
- {only available for Win32 GUI}
:popu[p]! {name} Like above, but use the position of the mouse
pointer instead of the cursor.