aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_defaults.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-09-29 07:48:46 +0800
committerGitHub <noreply@github.com>2025-09-29 07:48:46 +0800
commit0fa0717d4ed7b59ac2211977482e7a0de7f74b4d (patch)
tree1927b18547152f550295cb429ec76da0eb8a9c07 /runtime/lua/vim/_defaults.lua
parentfcf752476a33a26058b3342ac09108f76801bd4b (diff)
downloadrneovim-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