Mercurial > vim
diff src/globals.h @ 15375:6012cc6936f7 v8.1.0695
patch 8.1.0695: internal error when using :popup
commit https://github.com/vim/vim/commit/f42b45d719e03218735b3c2845a74dca9c0efd60
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 6 13:11:05 2019 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 06 Jan 2019 13:15:09 +0100 |
parents | 6abee072b93c |
children | 1d2b5c016f17 |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -1583,6 +1583,9 @@ EXTERN char_u e_invalidreg[] INIT(= N #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);