neovim/test/functional/ex_cmds
Justin M. Keyes c095f83116 api: change nvim_command_output behavior
Implement nvim_command_output with `execute({cmd},"silent")`.

Behavior changes:
- does not provoke any hit-enter prompt
- no longer prepends a newline char
- does not capture some noise (like the "[New File]" message, see the
  change to tabnewentered_spec.lua)

Technically ("bug-for-bug") this a breaking change.  But the previous
behavior of nvim_command_output meant that it probably wasn't used for
anything outside of tests.

Also remove the undocumented `v:command_output` variable which was
a hack introduced only for the purposes of nvim_command_output.

closes #7726
2018-01-10 23:45:44 +01:00
..
append_spec.lua build: Target luacheck HEAD. 2016-11-17 00:55:39 +01:00
arg_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
bang_filter_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
cd_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
ctrl_c_spec.lua test: ctrl_c_spec: bias timeouts for success (#7451) 2017-10-28 18:01:38 +02:00
dict_notifications_spec.lua eval: Make sure that v:_null_dict does not crash dictwatcher*() 2017-03-29 10:08:44 +03:00
drop_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
echo_spec.lua functests: Ensure different SIDs on successive source() calls 2017-07-04 15:15:23 +03:00
edit_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
encoding_spec.lua options: make 'highlight' read-only 2017-05-15 07:22:31 +02:00
file_spec.lua test: :file {name} 2017-04-11 00:39:12 +02:00
grep_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
highlight_spec.lua test: :highlight validation errors 2017-11-25 23:22:23 +01:00
map_spec.lua keymap: Do not use vim_isIDc in keymap.c 2017-11-30 02:01:49 +03:00
menu_spec.lua test: avoid redundant clear() #7340 2017-10-16 21:59:13 +02:00
mksession_spec.lua mksession: Restore tab-local working directory #6859 2017-06-11 15:51:53 +02:00
mkview_spec.lua 'viewoptions': add "curdir" flag #7447 2017-11-18 12:02:15 +01:00
oldfiles_spec.lua oldfiles_spec: Add tests for ":filter ... oldfiles" 2017-04-29 23:58:03 -04:00
print_commands_spec.lua ex_cmds.c: Fix bug in ex_z (#6557) 2017-04-21 15:45:51 +02:00
profile_spec.lua functionaltest: Create lua helper for os.tmpname() 2016-08-31 11:32:28 +01:00
quickfix_commands_spec.lua Merge #7345 'location-list update on buffer-modified' 2017-11-21 01:53:12 +01:00
quit_spec.lua build: Target luacheck HEAD. 2016-11-17 00:55:39 +01:00
recover_spec.lua win/test: Enable recover_spec.lua 2017-04-11 02:37:39 +02:00
script_spec.lua functests: Replace check_provider -> missing_provider with err report 2017-05-13 03:06:50 +03:00
sign_spec.lua api: change nvim_command_output behavior 2018-01-10 23:45:44 +01:00
syntax_spec.lua coverity/56795: Fix NULL dereference in :syn keyword non-printable 2017-04-09 23:38:05 +03:00
undojoin_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
write_spec.lua functests: Fix linter errors 2017-04-09 03:31:13 +03:00
wundo_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
wviminfo_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00