neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 804c828e681ec3e55f19614d78c2b098b2672f86
parent 9fdc4cdb64ee405c3d742b0397a7be6c963d09a0
Author: Lewis Russell <lewis6991@gmail.com>
Date:   Wed, 12 Jul 2023 14:21:27 +0100

fix(optionstr.c): incorrect use of curbuf/curwin

Diffstat:
Msrc/nvim/optionstr.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nvim/optionstr.c b/src/nvim/optionstr.c @@ -2086,8 +2086,8 @@ const char *did_set_string_option(buf_T *buf, win_T *win, int opt_idx, char **va .os_restore_chartab = false, .os_errbuf = errbuf, .os_errbuflen = errbuflen, - .os_win = curwin, - .os_buf = curbuf, + .os_win = win, + .os_buf = buf, }; // Disallow changing some options from secure mode