diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-04 12:27:44 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-08-04 13:23:46 +0200 |
commit | e952b7fc2f9838441308d1f71b98f108ae5faa8a (patch) | |
tree | 94411b39bbe7eaa87e1502646bb728ead7a6f7e5 | |
parent | 5e6a08f2e6b21e83c9fb381042f0aed89de4598d (diff) | |
download | rneovim-e952b7fc2f9838441308d1f71b98f108ae5faa8a.tar.gz rneovim-e952b7fc2f9838441308d1f71b98f108ae5faa8a.tar.bz2 rneovim-e952b7fc2f9838441308d1f71b98f108ae5faa8a.zip |
health.vim: check has("debug")
-rw-r--r-- | runtime/autoload/health/nvim.vim | 2 |
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 |