Skip to content

Commit c0325a8

Browse files
add performance for check health (#1383)
1 parent 0c8fda7 commit c0325a8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

autoload/health/lsp.vim

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,13 @@ function! health#lsp#check() abort
5353
endif
5454
call health#report_info(l:msg)
5555
endfor
56+
57+
call health#report_start('Performance')
58+
if lsp#utils#has_lua() && g:lsp_use_lua
59+
call health#report_ok('Using lua for faster performance.')
60+
else
61+
call health#report_warn('Missing requirements to enable lua for faster performance.')
62+
endif
63+
5664
endf
5765

0 commit comments

Comments
 (0)