mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user