neovim/test
Robin Allen 5ad619a847 menu: Fix :emenu mode detection #2992
A menu item can have separate bindings for each Vim mode.

:emenu checks to see which binding it should execute. But, it assumes
it can only be called from Normal mode, so its mode detection is based
on some guesswork. For instance, it detects if you've just used C-O
and, if so, uses the Insert mode binding.

Now that :emenu can be called from any mode (via vim_command), this
commit has it check the actual mode we're in, and simply use the
binding for that mode if we aren't in Normal mode.
2015-07-22 10:13:49 -04:00
..
benchmark vim-patch:7.4.497 #2295 2015-04-05 19:24:58 -04:00
config Add automatic generation of headers 2014-06-02 11:04:17 -03:00
functional menu: Fix :emenu mode detection #2992 2015-07-22 10:13:49 -04:00
includes os_open: add unit tests 2014-07-14 09:05:52 -04:00
unit event loop: New abstraction layer with refactored time/signal API 2015-07-17 00:19:19 -03:00