defaults: exclude "S" from 'shortmess' #10136

ref #6289
This commit is contained in:
Justin M. Keyes 2019-06-07 23:11:28 +02:00 committed by GitHub
parent f6f9e4a231
commit bb24fec333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -5254,7 +5254,7 @@ A jump table for the options with a short description can be found at |Q_op|.
function to get the effective shiftwidth value.
*'shortmess'* *'shm'*
'shortmess' 'shm' string (Vim default "filnxtToOFS", Vi default: "S")
'shortmess' 'shm' string (Vim default "filnxtToOF", Vi default: "S")
global
This option helps to avoid all the |hit-enter| prompts caused by file
messages, for example with CTRL-G, and to avoid some other messages.

View File

@ -51,7 +51,7 @@ the differences.
- 'nrformats' defaults to "bin,hex"
- 'ruler' is set by default
- 'sessionoptions' doesn't include "options"
- 'shortmess' sets "F" flag
- 'shortmess' includes "F", excludes "S"
- 'showcmd' is set by default
- 'sidescroll' defaults to 1
- 'smarttab' is set by default

View File

@ -2134,7 +2134,7 @@ return {
type='string', list='flags', scope={'global'},
vim=true,
varname='p_shm',
defaults={if_true={vi="S", vim="filnxtToOFS"}}
defaults={if_true={vi="S", vim="filnxtToOF"}}
},
{
full_name='showbreak', abbreviation='sbr',

View File

@ -26,7 +26,7 @@ local nvim_prog = (
or global_helpers.test_build_dir .. '/bin/nvim'
)
-- Default settings for the test session.
local nvim_set = 'set shortmess+=I background=light noswapfile noautoindent'
local nvim_set = 'set shortmess+=IS background=light noswapfile noautoindent'
..' laststatus=1 undodir=. directory=. viewdir=. backupdir=.'
..' belloff= noshowcmd noruler nomore'
local nvim_argv = {nvim_prog, '-u', 'NONE', '-i', 'NONE',