neovim/test/functional
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
..
api Implement API function to call functions #2979 2015-07-19 17:18:31 +02:00
autocmd test: Improve functional test debuggability and efficiency 2015-03-24 12:46:15 -03:00
clipboard clipboard: add tests for error fallback and middleclick paste 2015-07-20 20:24:28 -04:00
ex_cmds menu: Fix :emenu mode detection #2992 2015-07-22 10:13:49 -04:00
fixtures clipboard: add tests for error fallback and middleclick paste 2015-07-20 20:24:28 -04:00
job test: lower sleep value in job test 2015-07-16 23:10:01 -03:00
legacy tests: Migrate legacy test 80. #2989 2015-07-21 19:56:15 -04:00
runtime/autoload tests: Use new write_file() function in tests. 2015-06-30 18:06:06 +02:00
server test: v:servername, serverstart(), serverstop() 2015-05-17 02:17:34 -04:00
shell tests: Use pending() instead of silently skipping test. #2737 2015-05-29 20:57:20 +03:00
terminal Test: synIDattr(): true color awareness 2015-07-18 16:55:25 +02:00
ui test: Increase determinism in screen_basic_spec tests 2015-07-16 23:08:09 -03:00
viml completion: Initialize v:completed_item #2839 2015-06-20 11:53:13 -04:00
helpers.lua Test: add new helper function: rmdir() 2015-07-20 22:19:07 +02:00
preload.lua tests: prevent busted from reloading the ffi module and others 2015-03-01 15:25:39 -05:00