Files
neovim/runtime/lua
Justin M. Keyes 3e01dcddbe refactor(options): memory management
Problem:
Numerous callers have to manually check optval ownership (i.e. whether,
and how, to release) via `is_callback_option`, `option_is_global_local`,
etc. This is fragile, hard to use correctly; and if we introduce another
optval variant in the future, we'll have to redo all of these careful
checks and boilerplate again.

Solution:
Provide a unified system and use it everywhere:

    optval_free_owned
    optval_is_owned
    optval_own
2026-07-31 21:50:04 +02:00
..
2026-07-29 14:56:26 -05:00
2026-03-16 10:29:58 +01:00
2026-07-31 21:50:04 +02:00
2025-02-09 18:10:54 +01:00