aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2026-09-22 16:02:40 +0100
committerLewis Russell <me@lewisr.dev>2026-09-24 10:57:09 +0100
commitea1fc6ba3f0ff475c8d710ccd233caf55859c594 (patch)
tree2cee341085ce6e3658e3c76388747161d4605c5e /runtime/lua
parentac1a06021de60ae2b94ac23aa51729c867f57ce0 (diff)
downloadrneovim-ea1fc6ba3f0ff475c8d710ccd233caf55859c594.tar.gz
rneovim-ea1fc6ba3f0ff475c8d710ccd233caf55859c594.tar.bz2
rneovim-ea1fc6ba3f0ff475c8d710ccd233caf55859c594.zip
refactor(options): simplify option callback arguments
Problem: Option callbacks carry untyped buffer and window pointers, requiring casts. Helper arguments also pass unused flags and an error value that is always NULL when OptionSet is triggered. Solution: Use typed pointers in optset_T and remove the redundant arguments and checks. Clarify that sandbox assignments also affect option security. AI-assisted
Diffstat (limited to 'runtime/lua')
0 files changed, 0 insertions, 0 deletions