aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2026-09-22 12:24:54 +0100
committerLewis Russell <me@lewisr.dev>2026-09-22 13:43:25 +0100
commit8c4dcecfb996c3a7a0cfa3c1d38d44d398120f3c (patch)
tree206ab5e8051360b062b9434dd9f33d310bfa004e /runtime/lua/vim/provider/python.lua
parentee5b7ef669956831abfa8c37a5b454abaaf07bcc (diff)
downloadrneovim-8c4dcecfb996c3a7a0cfa3c1d38d44d398120f3c.tar.gz
rneovim-8c4dcecfb996c3a7a0cfa3c1d38d44d398120f3c.tar.bz2
rneovim-8c4dcecfb996c3a7a0cfa3c1d38d44d398120f3c.zip
fix(api): preserve option trust during merges
Problem: API append, prepend, and remove operations reach the option setter as full replacements. This can clear an expression's untrusted flag and allow it to write files, unlike equivalent :set operations. Solution: Pass replacement status through the option setters so merges preserve the existing value's trust restrictions. AI-assisted
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions