summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-04 21:08:40 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-04 21:08:40 +0200
commit9dfa3139198b38b28673e251a3756430065914e9 (patch)
tree326cc1873083066be93fdd6aaa00a3c93b3310cc /src/option.c
parented5ab2a95972b5ef588bdafab9f197e1dcf0c1df (diff)
downloadvim-git-9dfa3139198b38b28673e251a3756430065914e9.tar.gz
patch 8.1.1270: cannot see current match positionv8.1.1270
Problem: Cannot see current match position. Solution: Show "3/44" when using the "n" command and "S" is not in 'shortmess'. (Christian Brabandt, closes #4317)
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option.c b/src/option.c
index 6f521aec9..9583aa369 100644
--- a/src/option.c
+++ b/src/option.c
@@ -2449,7 +2449,7 @@ static struct vimoption options[] =
{(char_u *)8L, (char_u *)0L} SCTX_INIT},
{"shortmess", "shm", P_STRING|P_VIM|P_FLAGLIST,
(char_u *)&p_shm, PV_NONE,
- {(char_u *)"", (char_u *)"filnxtToO"}
+ {(char_u *)"S", (char_u *)"filnxtToOS"}
SCTX_INIT},
{"shortname", "sn", P_BOOL|P_VI_DEF,
(char_u *)&p_sn, PV_SN,
@@ -3311,7 +3311,7 @@ set_init_1(int clean_arg)
if (mch_getenv((char_u *)"VIM_POSIX") != NULL)
{
set_string_default("cpo", (char_u *)CPO_ALL);
- set_string_default("shm", (char_u *)"A");
+ set_string_default("shm", (char_u *)SHM_POSIX);
}
/*