mirror of
https://github.com/vim/vim.git
synced 2025-11-15 23:14:06 -05:00
patch 9.1.1807: :set doesn't clear local insecure flag like :setlocal does
Problem: :set doesn't clear local insecure flag like :setlocal does. Solution: Also clear the local insecure flag when using :set (zeertzjq). This applies to local options like 'wrap', 'foldtext' and 'foldexpr', whose global flags are actually never used. For global-local options like 'statusline' the behavior is already correct, so add some tests. related: #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
992e30774f
commit
fec5586a45
@@ -729,6 +729,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1807,
|
||||
/**/
|
||||
1806,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user