diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-01-09 12:32:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-09 12:32:25 +0800 |
commit | 19c9572d3626cde8503ee9061fa334b73f257b03 (patch) | |
tree | 9ac8478d974b5abd3a3a662348a4c7f58cc645db /src/nvim/ex_docmd.c | |
parent | 822313e42b5b8d51ea0b3f1f97c47026f2c7e2e2 (diff) | |
download | rneovim-19c9572d3626cde8503ee9061fa334b73f257b03.tar.gz rneovim-19c9572d3626cde8503ee9061fa334b73f257b03.tar.bz2 rneovim-19c9572d3626cde8503ee9061fa334b73f257b03.zip |
Revert "refactor(options): set option value for non-current context directly" (#31924)
Reverts #31112
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index ceb3a074b4..6f9f0f07c9 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -5294,7 +5294,7 @@ static char *findfunc_find_file(char *findarg, size_t findarg_len, int count) /// Returns NULL on success and an error message on failure. const char *did_set_findfunc(optset_T *args) { - buf_T *buf = args->os_ctx.buf; + buf_T *buf = (buf_T *)args->os_buf; int retval; if (args->os_flags & OPT_LOCAL) { |