diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-09-29 07:48:46 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-29 07:48:46 +0800 |
| commit | 0fa0717d4ed7b59ac2211977482e7a0de7f74b4d (patch) | |
| tree | 1927b18547152f550295cb429ec76da0eb8a9c07 /runtime/lua/vim/_defaults.lua | |
| parent | fcf752476a33a26058b3342ac09108f76801bd4b (diff) | |
| download | rneovim-0fa0717d4ed7b59ac2211977482e7a0de7f74b4d.tar.gz rneovim-0fa0717d4ed7b59ac2211977482e7a0de7f74b4d.tar.bz2 rneovim-0fa0717d4ed7b59ac2211977482e7a0de7f74b4d.zip | |
vim-patch:9.1.1802: 'nowrap' in a modeline may hide malicious code (#35946)
Problem: 'nowrap' in a modeline may hide malicious code.
Solution: Forcibly use '>' as 'listchars' "extends" if 'nowrap' was set
from a modeline (zeertzjq).
Manual `:setlocal nowrap` disables this behavior. There is a separate
problem with `:set nowrap` that also applies to some other options.
related: vim/vim#18214
related: vim/vim#18399
closes: vim/vim#18425
https://github.com/vim/vim/commit/9d5208a9313dd8b0d62c97af5485f1715af98a1c
Cherry-pick some test_modeline.vim changes from patches 9.0.{0363,0626}.
Diffstat (limited to 'runtime/lua/vim/_defaults.lua')
0 files changed, 0 insertions, 0 deletions