aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/helpers.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-02-10 03:39:00 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-03-16 18:44:10 +0100
commita90beeadbb5dfbe443eae3c057c79a9cefa47ad6 (patch)
treeaf7893fc900e32a9f241a4db8b9b06ad403ac5ed /test/functional/plugin/helpers.lua
parentad1884be0dcf029f7467e5cfad8ffe7c8ba461b6 (diff)
downloadrneovim-a90beeadbb5dfbe443eae3c057c79a9cefa47ad6.tar.gz
rneovim-a90beeadbb5dfbe443eae3c057c79a9cefa47ad6.tar.bz2
rneovim-a90beeadbb5dfbe443eae3c057c79a9cefa47ad6.zip
defaults: 'showcmd', 'belloff', 'ruler'
- Vim "unix default" of 'noshowcmd' is serving few users. And it's inconsistent. - 'ruler' and 'belloff=all' improve the out-of-the-box experience. - Continue to use 'noshowcmd' and 'noruler' by default in the functional tests to keep them fast. TODO: Add a "disable slow stuff" command or mapping to address the use-case of a very slow terminal connection.
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 7580670149..2024e6ebbf 100644
--- a/test/functional/plugin/helpers.lua
+++ b/test/functional/plugin/helpers.lua
@@ -10,7 +10,7 @@ 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'}
@@ -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