mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
refactor(options): always allocate option values (#30917)
Instead of keeping `P_ALLOCED` and `P_DEF_ALLOCED` flags to check if an option value is allocated, always allocate option values to simplify the logic. Ref: #25672
This commit is contained in:
@@ -67,7 +67,6 @@ local function get_flags(o)
|
||||
end
|
||||
end
|
||||
for _, flag_desc in ipairs({
|
||||
{ 'alloced' },
|
||||
{ 'nodefault' },
|
||||
{ 'no_mkrc' },
|
||||
{ 'secure' },
|
||||
|
Reference in New Issue
Block a user