aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-01-20 14:34:24 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-01-20 14:34:24 +0800
commitaa4eadd2bee7d389edc6284078bb43c700de5b0f (patch)
tree6cf4bdb05214e705166cfa1da257137703fe8ce6 /src/nvim/ex_docmd.c
parent431915fe6af4e176a84a60c95ad7aa9d36b71e50 (diff)
downloadrneovim-aa4eadd2bee7d389edc6284078bb43c700de5b0f.tar.gz
rneovim-aa4eadd2bee7d389edc6284078bb43c700de5b0f.tar.bz2
rneovim-aa4eadd2bee7d389edc6284078bb43c700de5b0f.zip
vim-patch:8.2.0128: cannot list options one per line
Problem: Cannot list options one per line. Solution: Use ":set!" to list one option per line. https://github.com/vim/vim/commit/6b915c0c0ee7ef82f8d3d310a4345e098cb929b0
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index b33a17c631..a784aaf5f7 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -9600,18 +9600,6 @@ static void ex_digraphs(exarg_T *eap)
}
}
-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;
- }
- (void)do_set(eap->arg, flags);
-}
-
void set_no_hlsearch(bool flag)
{
no_hlsearch = flag;