mirror of
https://github.com/vim/vim.git
synced 2025-10-24 08:54:47 -04:00
patch 9.1.1808: Option insecure flags not copied when splitting window
Problem: Option insecure flags not copied when splitting window.
Solution: Move window-local insecure flags to winopt_T and copy them
properly (zeertzjq).
closes: #18434
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
fec5586a45
commit
b3740f4b00
@@ -4423,7 +4423,7 @@ build_stl_str_hl(
|
||||
|
||||
#ifdef FEAT_EVAL
|
||||
// if "fmt" was set insecurely it needs to be evaluated in the sandbox
|
||||
use_sandbox = was_set_insecurely(opt_name, opt_scope);
|
||||
use_sandbox = was_set_insecurely(wp, opt_name, opt_scope);
|
||||
|
||||
// When the format starts with "%!" then evaluate it as an expression and
|
||||
// use the result as the actual format string.
|
||||
|
||||
Reference in New Issue
Block a user