API: rename nvim_source => nvim_exec

- Eliminate nvim_source_output(): add boolean `output` param to
  nvim_exec() instead.
This commit is contained in:
Justin M. Keyes
2019-12-01 22:26:36 -08:00
parent bd43e011b5
commit b1991f66d5
4 changed files with 72 additions and 74 deletions

View File

@@ -421,13 +421,12 @@ int do_cmdline(char_u *cmdline, LineGetter fgetline,
// If force_abort is set, we cancel everything.
did_emsg = false;
/*
* KeyTyped is only set when calling vgetc(). Reset it here when not
* calling vgetc() (sourced command lines).
*/
// KeyTyped is only set when calling vgetc(). Reset it here when not
// calling vgetc() (sourced command lines).
if (!(flags & DOCMD_KEYTYPED)
&& !getline_equal(fgetline, cookie, getexline))
&& !getline_equal(fgetline, cookie, getexline)) {
KeyTyped = false;
}
/*
* Continue executing command lines: