api: vim_err_write: add tests for multiline handling

This commit is contained in:
Björn Linse
2015-07-27 13:39:38 +02:00
parent 8c2481806d
commit c8aaabc09c
3 changed files with 111 additions and 3 deletions

View File

@@ -246,6 +246,10 @@ local function nvim(method, ...)
return request('vim_'..method, ...)
end
local function nvim_async(method, ...)
session:notify('vim_'..method, ...)
end
local function buffer(method, ...)
return request('buffer_'..method, ...)
end
@@ -341,6 +345,7 @@ return {
expect = expect,
ok = ok,
nvim = nvim,
nvim_async = nvim_async,
nvim_prog = nvim_prog,
nvim_dir = nvim_dir,
buffer = buffer,