Files
neovim/src
Justin M. Keyes 1a755e4890 fix(options): latent codegen bug
Problem:
Latent bug from 7f6c14ed54 (2015).
If an option default is "false" (`o.defaults.if_false = false`, e.g.
'fileignorecase'), codegen does not give it a `.def_val` on the platform
where its `#if` condition is undefined; it is zero-initialized.

This wasn't noticed until the parent commit, where zero value is
kObjectTypeNil, which `set_option_varp()` rejects.

Solution:
Check `if_false == nil` insteada of "falsey", so the `#else` branch gets
generated.
2026-07-29 15:27:45 +02:00
..
2026-07-29 15:27:45 +02:00
2023-11-05 20:19:06 +01:00
2025-08-02 15:58:11 -07:00
2026-06-28 19:01:24 -04:00
2026-06-30 14:50:32 +03:00