aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2022-08-22 15:53:46 -0600
committerJosh Rahm <rahm@google.com>2022-08-22 15:53:46 -0600
commit52ce04a002a882da19bb2c78d1fd8eb4825d669d (patch)
treea39812ccb42dac36b6a251de9f9810e395bba3d9 /src/nvim/ex_getln.c
parent179d3ed87b17988f5fe00d8b99f2611a28212be7 (diff)
parentbaaaa1f2b3b6ae3a989d1362a27e55dc7b0b148a (diff)
downloadrneovim-52ce04a002a882da19bb2c78d1fd8eb4825d669d.tar.gz
rneovim-52ce04a002a882da19bb2c78d1fd8eb4825d669d.tar.bz2
rneovim-52ce04a002a882da19bb2c78d1fd8eb4825d669d.zip
Merge remote-tracking branch 'upstream/master' into floattitle
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c4
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--;