diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-09-30 06:28:22 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2025-09-30 06:36:50 +0800 |
| commit | ff564237d248d3aad3c795711dfbb888fafa9c31 (patch) | |
| tree | e215a420c233aaab167deab147094cb36e988ffd /runtime/lua/vim/_defaults.lua | |
| parent | f2df98e849b7cea2c2c0579cba70dd9e8d07a656 (diff) | |
| download | rneovim-ff564237d248d3aad3c795711dfbb888fafa9c31.tar.gz rneovim-ff564237d248d3aad3c795711dfbb888fafa9c31.tar.bz2 rneovim-ff564237d248d3aad3c795711dfbb888fafa9c31.zip | |
vim-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: vim/vim#18434
https://github.com/vim/vim/commit/fec5586a45dac86f0124f1b6dbd9f61eb418313a
Diffstat (limited to 'runtime/lua/vim/_defaults.lua')
0 files changed, 0 insertions, 0 deletions