add performance for check health (#1383)

This commit is contained in:
Prabir Shrestha
2022-11-04 20:37:10 -07:00
committed by GitHub
parent 0c8fda7921
commit c0325a8b44

View File

@@ -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