aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/helpers.lua
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2015-11-17 23:31:22 +0100
committerMarco Hinz <mh.codebro@gmail.com>2015-11-23 13:57:21 +0100
commitd9fbc1865bf5237235e96ae8822326faa84ff9fc (patch)
treee61dc677cf85faa79a92814cbdadb63de7477635 /test/functional/plugin/helpers.lua
parent4a69e55f390fcbd5e3d6c88c882c0b921c9b6f87 (diff)
downloadrneovim-d9fbc1865bf5237235e96ae8822326faa84ff9fc.tar.gz
rneovim-d9fbc1865bf5237235e96ae8822326faa84ff9fc.tar.bz2
rneovim-d9fbc1865bf5237235e96ae8822326faa84ff9fc.zip
test/functional: clean up according to luacheck (part 2)
Diffstat (limited to 'test/functional/plugin/helpers.lua')
-rw-r--r--test/functional/plugin/helpers.lua6
1 files changed, 3 insertions, 3 deletions
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