From bba75eb184cee3d96264a392e2083f5b50732214 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 18 Jan 2019 00:44:35 +0100 Subject: lua/stdlib: Introduce vim.shared This is where "pure functions" can live, which can be shared by Nvim and test logic which may not have a running Nvim instance available. If in the future we use Nvim itself as the Lua engine for tests, then these functions could be moved directly onto the `vim` Lua module. closes #6580 --- test/functional/helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/helpers.lua') diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index 00acd12247..ae11455b3e 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -846,7 +846,7 @@ local module = { window = window, winmeths = winmeths, } -module = global_helpers.map_extend('error', module, global_helpers) +module = global_helpers.tbl_extend('error', module, global_helpers) return function(after_each) if after_each then -- cgit