Files
neovim/runtime/lua/vim
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-25 12:47:51 -04:00
2026-07-30 15:09:19 -04:00
2026-06-08 16:12:14 -04:00
2026-01-09 10:07:15 +01:00
2026-07-20 09:53:06 -04:00
2026-07-13 19:44:15 +02:00
2026-05-30 12:57:24 +02:00
2026-07-13 19:44:15 +02:00