From d9fbc1865bf5237235e96ae8822326faa84ff9fc Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 17 Nov 2015 23:31:22 +0100 Subject: test/functional: clean up according to luacheck (part 2) --- test/functional/plugin/helpers.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/functional/plugin/helpers.lua') diff --git a/test/functional/plugin/helpers.lua b/test/functional/plugin/helpers.lua index 9762ca314e..cc76794267 100644 --- a/test/functional/plugin/helpers.lua +++ b/test/functional/plugin/helpers.lua @@ -9,15 +9,15 @@ local additional_cmd = '' local function nvim_argv(shada_file) local rtp_value = ('\'%s/runtime\''):format( paths.test_source_path:gsub('\'', '\'\'')) - local nvim_argv = {nvim_prog, '-u', 'NORC', '-i', shada_file or 'NONE', '-N', + local nvim_args = {nvim_prog, '-u', 'NORC', '-i', shada_file or 'NONE', '-N', '--cmd', 'set shortmess+=I background=light noswapfile', '--cmd', 'let &runtimepath=' .. rtp_value, '--cmd', additional_cmd, '--embed'} if helpers.prepend_argv then - return merge_args(helpers.prepend_argv, nvim_argv) + return merge_args(helpers.prepend_argv, nvim_args) else - return nvim_argv + return nvim_args end end -- cgit