When remembering script context for an option value we should consider flags "CMOD_LEGACY" and "CMOD_VIM9CMD" set in "cmdmod.cmd_flags" by the ":legacy" and ":vim9exe" command prefixes. Otherwise, if an option value is an expression, it might be evaluated in an incorrect context.
https://github.com/vim/vim/pull/20683
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()