diff options
author | Lewis Russell <lewis6991@gmail.com> | 2022-05-11 13:49:43 +0100 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2022-05-17 14:48:10 +0100 |
commit | 6219331c4d333e5a76129746021f972c21a040db (patch) | |
tree | 29938b911e1164f4757306cd6fcceaf1f9bcd709 /src/nvim/api/private/helpers.c | |
parent | 6613f58cebde7db4e69709b84d511c32a7c4ce32 (diff) | |
download | rneovim-6219331c4d333e5a76129746021f972c21a040db.tar.gz rneovim-6219331c4d333e5a76129746021f972c21a040db.tar.bz2 rneovim-6219331c4d333e5a76129746021f972c21a040db.zip |
feat(api): add win and buf to nvim_set_option_value
Co-authored-by: Gregory Anders <8965202+gpanders@users.noreply.github.com>
Diffstat (limited to 'src/nvim/api/private/helpers.c')
-rw-r--r-- | src/nvim/api/private/helpers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c index dcede27bcb..7be55595cf 100644 --- a/src/nvim/api/private/helpers.c +++ b/src/nvim/api/private/helpers.c @@ -1040,8 +1040,8 @@ Object copy_object(Object obj) } } -static void set_option_value_for(char *key, int numval, char *stringval, int opt_flags, - int opt_type, void *from, Error *err) +void set_option_value_for(char *key, long numval, char *stringval, int opt_flags, + int opt_type, void *from, Error *err) { switchwin_T switchwin; aco_save_T aco; @@ -1081,7 +1081,7 @@ static void set_option_value_for(char *key, int numval, char *stringval, int opt } -static void set_option_value_err(char *key, int numval, char *stringval, int opt_flags, Error *err) +static void set_option_value_err(char *key, long numval, char *stringval, int opt_flags, Error *err) { char *errmsg; |