test/api: Specify handling of VimL errors, v:errmsg.

TODO: Also spec behavior of Press-Enter prompt for these API functions.
This commit is contained in:
Justin M. Keyes
2016-10-23 00:02:22 +02:00
parent fdc48cad7d
commit 43309d1993
7 changed files with 53 additions and 26 deletions

View File

@@ -136,8 +136,8 @@ local function stop()
session:stop()
end
-- Executes an ex-command. VimL errors will manifest as client (lua) errors, and
-- v:errmsg will be updated.
-- Executes an ex-command. VimL errors manifest as client (lua) errors, but
-- v:errmsg will not be updated.
local function nvim_command(cmd)
request('nvim_command', cmd)
end