summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-06 13:11:05 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-06 13:11:05 +0100
commitf42b45d719e03218735b3c2845a74dca9c0efd60 (patch)
treee5974454b590f16abc0aeafa523f4a710bdbf24e /src/globals.h
parent4614f53e0f853b513963d1a639398348a571ecf1 (diff)
patch 8.1.0695: internal error when using :popupv8.1.0695
Problem: Internal error when using :popup. Solution: When a menu only exists in Terminal mode give an error. (Naruhiko Nishino, closes #3765)
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 2a7ecd17b5..3f67d1377f 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -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);