mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00

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#18434fec5586a45
(cherry picked from commitff564237d2
)