From c0325a8b44bf53e8b7b72b62925a73772cdf4378 Mon Sep 17 00:00:00 2001 From: Prabir Shrestha Date: Fri, 4 Nov 2022 20:37:10 -0700 Subject: [PATCH] add performance for check health (#1383) --- autoload/health/lsp.vim | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/autoload/health/lsp.vim b/autoload/health/lsp.vim index 50986acb..782da42f 100644 --- a/autoload/health/lsp.vim +++ b/autoload/health/lsp.vim @@ -53,5 +53,13 @@ function! health#lsp#check() abort endif call health#report_info(l:msg) endfor + + call health#report_start('Performance') + if lsp#utils#has_lua() && g:lsp_use_lua + call health#report_ok('Using lua for faster performance.') + else + call health#report_warn('Missing requirements to enable lua for faster performance.') + endif + endf