1
0
forked from aniani/vim

patch 8.1.0695: internal error when using :popup

Problem:    Internal error when using :popup.
Solution:   When a menu only exists in Terminal mode give an error. (Naruhiko
            Nishino, closes #3765)
This commit is contained in:
Bram Moolenaar
2019-01-06 13:11:05 +01:00
parent 4614f53e0f
commit f42b45d719
6 changed files with 32 additions and 5 deletions

View File

@@ -1583,6 +1583,9 @@ EXTERN char_u e_invalidreg[] INIT(= N_("E850: Invalid register name"));
#endif
EXTERN char_u e_dirnotf[] INIT(= N_("E919: Directory not found in '%s': \"%s\""));
EXTERN char_u e_au_recursive[] INIT(= N_("E952: Autocommand caused recursive behavior"));
#ifdef FEAT_MENU
EXTERN char_u e_menuothermode[] INIT(= N_("E328: Menu only exists in another mode"));
#endif
#ifdef FEAT_GUI_MAC
EXTERN short disallow_gui INIT(= FALSE);