aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-04-16 21:33:40 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-04-27 16:19:40 +0200
commitf0a7e3fc9a6057d7e3e060d2de37e4fda9239046 (patch)
tree6058f0dae9885f118244ea722762d83f6995d0d4 /test/functional/helpers.lua
parent9d77a0768697aced470c72ba71d0e04cf45f0fd0 (diff)
downloadrneovim-f0a7e3fc9a6057d7e3e060d2de37e4fda9239046.tar.gz
rneovim-f0a7e3fc9a6057d7e3e060d2de37e4fda9239046.tar.bz2
rneovim-f0a7e3fc9a6057d7e3e060d2de37e4fda9239046.zip
test: 'shadafile' default
ref 773bdd41ec19
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 7f9b5fe5fc..b518813f5d 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -351,12 +351,13 @@ end
-- Starts a new global Nvim session.
-- Parameters are interpreted as startup args, OR a map with these keys:
--- args: Merged with the default `nvim_argv` set.
+-- args: Appended to the default `nvim_argv` set.
-- env : Defines the environment of the new session.
+-- headless: Append --headless arg.
--
-- Example:
-- clear('-e')
--- clear({args={'-e'}, env={TERM=term}})
+-- clear{args={'-e'}, env={TERM=term}}
local function clear(...)
local args = {unpack(nvim_argv)}
local new_args