mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 02:34:59 -07:00
fix(optionstr.c): incorrect use of curbuf/curwin
This commit is contained in:
parent
9fdc4cdb64
commit
804c828e68
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user