Mercurial > vim
diff src/optiondefs.h @ 19137:69f0e9b5c107 v8.2.0128
patch 8.2.0128: cannot list options one per line
Commit: https://github.com/vim/vim/commit/6b915c0c0ee7ef82f8d3d310a4345e098cb929b0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 18 15:53:19 2020 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 18 Jan 2020 16:00:04 +0100 |
parents | 49b78d6465e5 |
children | 33a67d1dcaf0 |
line wrap: on
line diff
--- a/src/optiondefs.h +++ b/src/optiondefs.h @@ -3009,7 +3009,7 @@ static struct vimoption options[] = {NULL, NULL, 0, NULL, PV_NONE, {NULL, NULL} SCTX_INIT} }; -#define PARAM_COUNT (sizeof(options) / sizeof(struct vimoption)) +#define OPTION_COUNT (sizeof(options) / sizeof(struct vimoption)) // The following is needed to make the gen_opt_test.vim script work. // {"