neovim/test/functional/ex_cmds
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
..
menu_spec.lua menu: Fix :emenu mode detection #2992 2015-07-22 10:13:49 -04:00
recover_spec.lua Test: fix functional/ex_cmds/recover_spec.lua 2015-07-20 22:19:16 +02:00
sign_spec.lua test: Add missing before_each call to sign_spec.lua 2015-03-28 12:04:14 -03:00
wundo_spec.lua fix #1027: :wundo segfault in new, non-empty buffer 2014-10-26 20:03:02 +00:00
wviminfo_spec.lua tests: Use new write_file() function in tests. 2015-06-30 18:06:06 +02:00