summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-18 15:53:19 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-18 15:53:19 +0100
commit6b915c0c0ee7ef82f8d3d310a4345e098cb929b0 (patch)
tree426ab78922c56f48bd65ac7877d1f0a73c53d094 /src/ex_docmd.c
parent3029bcc094415243bad14e5720f68e857b755dad (diff)
patch 8.2.0128: cannot list options one per linev8.2.0128
Problem: Cannot list options one per line. Solution: Use ":set!" to list one option per line.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 51d85c3a2a..193cfcfdff 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -320,7 +320,6 @@ static void ex_setfiletype(exarg_T *eap);
# define ex_diffupdate ex_ni
#endif
static void ex_digraphs(exarg_T *eap);
-static void ex_set(exarg_T *eap);
#ifdef FEAT_SEARCH_EXTRA
static void ex_nohlsearch(exarg_T *eap);
#else
@@ -8488,23 +8487,6 @@ ex_digraphs(exarg_T *eap UNUSED)
#endif
}
- static void
-ex_set(exarg_T *eap)
-{
- int flags = 0;
-
- if (eap->cmdidx == CMD_setlocal)
- flags = OPT_LOCAL;
- else if (eap->cmdidx == CMD_setglobal)
- flags = OPT_GLOBAL;
-#if defined(FEAT_EVAL) && defined(FEAT_BROWSE)
- if (cmdmod.browse && flags == 0)
- ex_options(eap);
- else
-#endif
- (void)do_set(eap->arg, flags);
-}
-
#if defined(FEAT_SEARCH_EXTRA) || defined(PROTO)
void
set_no_hlsearch(int flag)