summaryrefslogtreecommitdiff
path: root/runtime/doc/popup.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/popup.txt')
-rw-r--r--runtime/doc/popup.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt
index dd478aefe..03dd3a24c 100644
--- a/runtime/doc/popup.txt
+++ b/runtime/doc/popup.txt
@@ -1,4 +1,4 @@
-*popup.txt* For Vim version 8.2. Last change: 2022 May 29
+*popup.txt* For Vim version 8.2. Last change: 2022 Jun 06
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -999,7 +999,7 @@ To make the four corners transparent:
==============================================================================
4. Examples *popup-examples*
-These examplese use |Vim9| script.
+These examples use |Vim9| script.
TODO: more interesting examples
@@ -1043,6 +1043,10 @@ Extend popup_filter_menu() with shortcut keys: >
" No shortcut, pass to generic filter
return popup_filter_menu(a:id, a:key)
endfunc
+
+ func MyMenuHandler(id, result)
+ echo $'Result: {a:result}'
+ endfunc
<
*popup_beval_example*
Example for using a popup window for 'ballooneval': >