mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
refactor!: remove has("debug") (#22060)
This value can not be relied on as it doesn't work for multi-configuration generators. I don't think this undocumented option is used much, if at all, so I think we should remove it.
This commit is contained in:
@@ -156,13 +156,10 @@ local function check_performance()
|
||||
health.report_ok(buildtype)
|
||||
else
|
||||
health.report_info(buildtype)
|
||||
health.report_warn(
|
||||
'Non-optimized ' .. (has('debug') and '(DEBUG) ' or '') .. 'build. Nvim will be slower.',
|
||||
{
|
||||
'Install a different Nvim package, or rebuild with `CMAKE_BUILD_TYPE=RelWithDebInfo`.',
|
||||
suggest_faq,
|
||||
}
|
||||
)
|
||||
health.report_warn('Non-optimized debug build. Nvim will be slower.', {
|
||||
'Install a different Nvim package, or rebuild with `CMAKE_BUILD_TYPE=RelWithDebInfo`.',
|
||||
suggest_faq,
|
||||
})
|
||||
end
|
||||
|
||||
-- check for slow shell invocation
|
||||
|
||||
Reference in New Issue
Block a user