diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-11-08 14:54:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-08 06:54:28 +0000 |
commit | f83a31b49d5d976cd39f7faa6356565cb0a4a97a (patch) | |
tree | c9294fbd478b7a978f118b0ede1d4b7bb98c163f /src/nvim/optionstr.c | |
parent | 8af1702647e865009db66a68aeb821ef185986a9 (diff) | |
download | rneovim-f83a31b49d5d976cd39f7faa6356565cb0a4a97a.tar.gz rneovim-f83a31b49d5d976cd39f7faa6356565cb0a4a97a.tar.bz2 rneovim-f83a31b49d5d976cd39f7faa6356565cb0a4a97a.zip |
refactor(options): use os_win/os_buf for local options (#31060)
Conversely, don't use them for global options.
Diffstat (limited to 'src/nvim/optionstr.c')
-rw-r--r-- | src/nvim/optionstr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/optionstr.c b/src/nvim/optionstr.c index af2b09513b..bfb26a0be6 100644 --- a/src/nvim/optionstr.c +++ b/src/nvim/optionstr.c @@ -892,10 +892,11 @@ int expand_set_chars_option(optexpand_T *args, int *numMatches, char ***matches) } /// The 'cinoptions' option is changed. -const char *did_set_cinoptions(optset_T *args FUNC_ATTR_UNUSED) +const char *did_set_cinoptions(optset_T *args) { + buf_T *buf = (buf_T *)args->os_buf; // TODO(vim): recognize errors - parse_cino(curbuf); + parse_cino(buf); return NULL; } |