0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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.
This commit is contained in:
Bram Moolenaar
2020-01-18 15:53:19 +01:00
parent 3029bcc094
commit 6b915c0c0e
9 changed files with 59 additions and 38 deletions

View File

@@ -1229,12 +1229,13 @@ typedef struct {
* When OPT_GLOBAL and OPT_LOCAL are both missing, set both local and global
* values, get local value.
*/
#define OPT_FREE 1 // free old value if it was allocated
#define OPT_GLOBAL 2 // use global value
#define OPT_LOCAL 4 // use local value
#define OPT_MODELINE 8 // option in modeline
#define OPT_WINONLY 16 // only set window-local options
#define OPT_NOWIN 32 // don't set window-local options
#define OPT_FREE 0x01 // free old value if it was allocated
#define OPT_GLOBAL 0x02 // use global value
#define OPT_LOCAL 0x04 // use local value
#define OPT_MODELINE 0x08 // option in modeline
#define OPT_WINONLY 0x10 // only set window-local options
#define OPT_NOWIN 0x20 // don't set window-local options
#define OPT_ONECOLUMN 0x40 // list options one per line
// Magic chars used in confirm dialog strings
#define DLG_BUTTON_SEP '\n'