diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-01-18 07:21:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 07:21:57 +0800 |
commit | 847e6035546f567ce6d30ff45a47550e9a335c6b (patch) | |
tree | 1c8c9da2f6803c2c59884af7344f7309b60ebcdd /src/nvim/option.c | |
parent | f4e03cbdbc88bd0c1095918df11450c98b729988 (diff) | |
parent | 9a2dd52a6a2a17ae85102d738ab3620ef978d448 (diff) | |
download | rneovim-847e6035546f567ce6d30ff45a47550e9a335c6b.tar.gz rneovim-847e6035546f567ce6d30ff45a47550e9a335c6b.tar.bz2 rneovim-847e6035546f567ce6d30ff45a47550e9a335c6b.zip |
Merge pull request #21868 from zeertzjq/vim-9.0.1214
vim-patch:9.0.{1214,1215}
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 0c2a2f7060..227001d556 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -1106,7 +1106,7 @@ int do_set(char *arg, int opt_flags) char *errmsg = NULL; char *startarg = arg; // remember for error message - if (strncmp(arg, "all", 3) == 0 && !isalpha((uint8_t)arg[3]) + if (strncmp(arg, "all", 3) == 0 && !ASCII_ISALPHA(arg[3]) && !(opt_flags & OPT_MODELINE)) { // ":set all" show all options. // ":set all&" set all options to their default value. |