diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-08-04 13:28:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-04 13:28:26 -0400 |
| commit | ceccca7780c54d932dd183517c4c04a340486dd7 (patch) | |
| tree | 75ffe85522584444d485447381408d7de555af95 /runtime/plugin/python_setup.vim | |
| parent | 387bd0fbe78756b030884805e61754cee1be4bb4 (diff) | |
| download | rneovim-ceccca7780c54d932dd183517c4c04a340486dd7.tar.gz rneovim-ceccca7780c54d932dd183517c4c04a340486dd7.tar.bz2 rneovim-ceccca7780c54d932dd183517c4c04a340486dd7.zip | |
fix(options): crash on ":let &l:autoread = v:true" #41158
Problem:
Assigning to the local value of a global-local boolean option
('autoread', 'autocomplete', 'fsync') aborts:
Assertion failed: (curval.type == newval.type), function
ex_let_option, file vars.c, line 1408.
ex_let_one
ex_let_vars
ex_let
execute_cmd0
do_cmdline
call_user_func
...
eval_map_expr
vgetorpeek
vgetc
state_enter
main
A global-local option may have local value `kObjectTypeUnset`, but
`ex_let_option()` guards only `kObjectTypeNil`.
Solution:
When curval is Unset, resolve it to the inherited global value.
Diffstat (limited to 'runtime/plugin/python_setup.vim')
0 files changed, 0 insertions, 0 deletions