neovim/test/functional/autocmd
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
..
autocmd_spec.lua functests: Fix linter errors 2017-04-09 03:31:13 +03:00
bufenter_spec.lua window.c: do BufEnter in correct window after closing help #7431 2017-12-10 14:55:59 +01:00
cmdline_spec.lua FIXUP: duplicate error number in #7422 2017-11-23 07:36:35 +01:00
dirchanged_spec.lua DirChanged: avoid redundant events on 'autochdir' 2017-03-12 15:45:50 +01:00
tabclose_spec.lua api: change nvim_command_output behavior 2018-01-10 23:45:44 +01:00
tabnew_spec.lua Windows: enable more tests 2017-01-13 01:17:12 +01:00
tabnewentered_spec.lua api: change nvim_command_output behavior 2018-01-10 23:45:44 +01:00
termclose_spec.lua tests: termclose_spec: fix flaky SIGTERM test #7787 2017-12-30 22:49:50 +01:00
textyankpost_spec.lua functests: Fix linter errors 2017-04-09 03:31:13 +03:00