mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
fix(optionstr.c): incorrect use of curbuf/curwin
This commit is contained in:
@ -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_restore_chartab = false,
|
||||||
.os_errbuf = errbuf,
|
.os_errbuf = errbuf,
|
||||||
.os_errbuflen = errbuflen,
|
.os_errbuflen = errbuflen,
|
||||||
.os_win = curwin,
|
.os_win = win,
|
||||||
.os_buf = curbuf,
|
.os_buf = buf,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Disallow changing some options from secure mode
|
// Disallow changing some options from secure mode
|
||||||
|
Reference in New Issue
Block a user