1
0
forked from aniani/vim

patch 8.1.1438: some commands cause trouble in a popup window

Problem:    Some commands cause trouble in a popup window.
Solution:   Add NOT_IN_POPUP_WINDOW.
This commit is contained in:
Bram Moolenaar
2019-06-01 14:15:52 +02:00
parent 3a97bb3f0f
commit 815b76bff6
8 changed files with 70 additions and 4 deletions

View File

@@ -339,3 +339,9 @@
/* Wether a command index indicates a user command. */
#define IS_USER_CMDIDX(idx) ((int)(idx) < 0)
#ifdef FEAT_TEXT_PROP
# define NOT_IN_POPUP_WINDOW not_in_popup_window()
#else
# define NOT_IN_POPUP_WINDOW 0
#endif