mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user