aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/java.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-07-29 17:44:51 +0800
committerGitHub <noreply@github.com>2026-07-29 17:44:51 +0800
commit7b7a21bd2ac610e656f84a79ea96623230662332 (patch)
tree64c74ffc78c50f475b673f3032320ec4568ece01 /runtime/ftplugin/java.vim
parent1eba3a75da32e039585344fe7daa6e29748f005b (diff)
downloadrneovim-7b7a21bd2ac610e656f84a79ea96623230662332.tar.gz
rneovim-7b7a21bd2ac610e656f84a79ea96623230662332.tar.bz2
rneovim-7b7a21bd2ac610e656f84a79ea96623230662332.zip
vim-patch:9.2.0869: buf_copy_options() can lose the P_INSECURE flag (#41040)
Problem: An insecurely-set 'indentexpr', 'formatexpr', 'includeexpr' or 'complete' value can end up evaluated outside the sandbox after buf_copy_options() and clears the flag. Solution: Copy the insecure flag alongside the value in buf_copy_options(), and make 'complete' a per-buffer insecure-flags field Supported by AI. closes: vim/vim#20861 https://github.com/vim/vim/commit/35f7fdfdfb036028cc8760d7c1556361bb85206a I'm a bit hesitant to port this, but it's a follow-up to #39452. Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/ftplugin/java.vim')
0 files changed, 0 insertions, 0 deletions