aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-05-11 10:08:09 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-05-11 10:08:09 +0200
commit273d2cd5d5cfc7616c76d3531e9938750abcc05e (patch)
tree0783f4e14c18bd0af586f83842e8a238eb1c1e1a /src/nvim/api/vim.c
parent8d40b3617c8bb10af5d4d4abcab0dfe77a4e807d (diff)
parente31d8ed36a78706cdaa6307cb37ea6a102c5e2f7 (diff)
downloadrneovim-273d2cd5d5cfc7616c76d3531e9938750abcc05e.tar.gz
rneovim-273d2cd5d5cfc7616c76d3531e9938750abcc05e.tar.bz2
rneovim-273d2cd5d5cfc7616c76d3531e9938750abcc05e.zip
Merge #8329 'API: Make nvim_set_option() update `:verbose set …`'
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index fd9cf332d5..df4912a51e 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -683,10 +683,10 @@ Object nvim_get_option(String name, Error *err)
/// @param name Option name
/// @param value New option value
/// @param[out] err Error details, if any
-void nvim_set_option(String name, Object value, Error *err)
+void nvim_set_option(uint64_t channel_id, String name, Object value, Error *err)
FUNC_API_SINCE(1)
{
- set_option_to(NULL, SREQ_GLOBAL, name, value, err);
+ set_option_to(channel_id, NULL, SREQ_GLOBAL, name, value, err);
}
/// Writes a message to the Vim output buffer. Does not append "\n", the