mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
add performance for check health (#1383)
This commit is contained in:
@@ -53,5 +53,13 @@ function! health#lsp#check() abort
|
|||||||
endif
|
endif
|
||||||
call health#report_info(l:msg)
|
call health#report_info(l:msg)
|
||||||
endfor
|
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
|
endf
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user