aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-04 12:27:44 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-08-04 13:23:46 +0200
commite952b7fc2f9838441308d1f71b98f108ae5faa8a (patch)
tree94411b39bbe7eaa87e1502646bb728ead7a6f7e5
parent5e6a08f2e6b21e83c9fb381042f0aed89de4598d (diff)
downloadrneovim-e952b7fc2f9838441308d1f71b98f108ae5faa8a.tar.gz
rneovim-e952b7fc2f9838441308d1f71b98f108ae5faa8a.tar.bz2
rneovim-e952b7fc2f9838441308d1f71b98f108ae5faa8a.zip
health.vim: check has("debug")
-rw-r--r--runtime/autoload/health/nvim.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/health/nvim.vim b/runtime/autoload/health/nvim.vim
index a2227e3b29..c25f5ee64f 100644
--- a/runtime/autoload/health/nvim.vim
+++ b/runtime/autoload/health/nvim.vim
@@ -123,7 +123,7 @@ function! s:check_performance() abort
else
call health#report_info(buildtype)
call health#report_warn(
- \ 'Non-optimized build-type. Nvim will be slower.',
+ \ 'Non-optimized '.(has('debug')?'(DEBUG) ':'').'build. Nvim will be slower.',
\ ['Install a different Nvim package, or rebuild with `CMAKE_BUILD_TYPE=RelWithDebInfo`.',
\ s:suggest_faq])
endif