aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/helpers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/plugin/helpers.lua')
-rw-r--r--test/functional/plugin/helpers.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/plugin/helpers.lua b/test/functional/plugin/helpers.lua
index 7580670149..4359380bd7 100644
--- a/test/functional/plugin/helpers.lua
+++ b/test/functional/plugin/helpers.lua
@@ -10,10 +10,10 @@ local function nvim_argv(shada_file)
local rtp_value = ('\'%s/runtime\''):format(
paths.test_source_path:gsub('\'', '\'\''))
local nvim_args = {nvim_prog, '-u', 'NORC', '-i', shada_file or 'NONE', '-N',
- '--cmd', 'set shortmess+=I background=light noswapfile',
+ '--cmd', 'set shortmess+=I background=light noswapfile belloff= noshowcmd noruler',
'--cmd', 'let &runtimepath=' .. rtp_value,
'--cmd', additional_cmd,
- '--embed'}
+ '--embed', '--headless'}
if helpers.prepend_argv then
return merge_args(helpers.prepend_argv, nvim_args)
else
@@ -23,7 +23,7 @@ end
local session = nil
-local reset = function(...)
+local function reset(...)
if session then
session:close()
end
@@ -31,7 +31,7 @@ local reset = function(...)
set_session(session)
end
-local set_additional_cmd = function(s)
+local function set_additional_cmd(s)
additional_cmd = s
end