aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/popupmenu.c
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2022-08-22 15:52:40 -0600
committerJosh Rahm <rahm@google.com>2022-08-22 15:52:40 -0600
commit8fc6e69877f6c15942b4e8fc6ca471e4221d9bae (patch)
tree46111208bfc5e17b35a54e64906887ce40fa8774 /src/nvim/popupmenu.c
parente083d3adf49ef827bd28693a29ff25b4bd2588ad (diff)
parentbaaaa1f2b3b6ae3a989d1362a27e55dc7b0b148a (diff)
downloadrneovim-8fc6e69877f6c15942b4e8fc6ca471e4221d9bae.tar.gz
rneovim-8fc6e69877f6c15942b4e8fc6ca471e4221d9bae.tar.bz2
rneovim-8fc6e69877f6c15942b4e8fc6ca471e4221d9bae.zip
Merge remote-tracking branch 'upstream/master' into usermarks
Diffstat (limited to 'src/nvim/popupmenu.c')
-rw-r--r--src/nvim/popupmenu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/popupmenu.c b/src/nvim/popupmenu.c
index a4afe97ac8..d392bb5a2c 100644
--- a/src/nvim/popupmenu.c
+++ b/src/nvim/popupmenu.c
@@ -744,11 +744,11 @@ static bool pum_set_selected(int n, int repeat)
if (res == OK) {
// Edit a new, empty buffer. Set options for a "wipeout"
// buffer.
- set_option_value("swf", 0L, NULL, OPT_LOCAL);
- set_option_value("bl", 0L, NULL, OPT_LOCAL);
- set_option_value("bt", 0L, "nofile", OPT_LOCAL);
- set_option_value("bh", 0L, "wipe", OPT_LOCAL);
- set_option_value("diff", 0L, NULL, OPT_LOCAL);
+ set_option_value_give_err("swf", 0L, NULL, OPT_LOCAL);
+ set_option_value_give_err("bl", 0L, NULL, OPT_LOCAL);
+ set_option_value_give_err("bt", 0L, "nofile", OPT_LOCAL);
+ set_option_value_give_err("bh", 0L, "wipe", OPT_LOCAL);
+ set_option_value_give_err("diff", 0L, NULL, OPT_LOCAL);
}
}