diff options
author | Josh Rahm <rahm@google.com> | 2022-08-22 15:52:40 -0600 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2022-08-22 15:52:40 -0600 |
commit | 8fc6e69877f6c15942b4e8fc6ca471e4221d9bae (patch) | |
tree | 46111208bfc5e17b35a54e64906887ce40fa8774 /src/nvim/ex_getln.c | |
parent | e083d3adf49ef827bd28693a29ff25b4bd2588ad (diff) | |
parent | baaaa1f2b3b6ae3a989d1362a27e55dc7b0b148a (diff) | |
download | rneovim-8fc6e69877f6c15942b4e8fc6ca471e4221d9bae.tar.gz rneovim-8fc6e69877f6c15942b4e8fc6ca471e4221d9bae.tar.bz2 rneovim-8fc6e69877f6c15942b4e8fc6ca471e4221d9bae.zip |
Merge remote-tracking branch 'upstream/master' into usermarks
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index a0bcccb5be..9a7b093282 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -4074,7 +4074,7 @@ static int open_cmdwin(void) // Create empty command-line buffer. buf_open_scratch(0, _("[Command Line]")); // Command-line buffer has bufhidden=wipe, unlike a true "scratch" buffer. - set_option_value("bh", 0L, "wipe", OPT_LOCAL); + set_option_value_give_err("bh", 0L, "wipe", OPT_LOCAL); curwin->w_p_rl = cmdmsg_rl; cmdmsg_rl = false; curbuf->b_p_ma = true; @@ -4092,7 +4092,7 @@ static int open_cmdwin(void) add_map("<Tab>", "<C-X><C-V>", MODE_INSERT, true); add_map("<Tab>", "a<C-X><C-V>", MODE_NORMAL, true); } - set_option_value("ft", 0L, "vim", OPT_LOCAL); + set_option_value_give_err("ft", 0L, "vim", OPT_LOCAL); } curbuf->b_ro_locked--; |