Fix vim9lsp ErrorCount method name change

This commit is contained in:
DEMAREST Maxime
2022-10-31 19:10:37 +01:00
parent 0ed7b8bb2e
commit 5c682e7bd3
2 changed files with 4 additions and 4 deletions

View File

@@ -472,7 +472,7 @@ function! airline#extensions#load()
call add(s:loaded_ext, 'battery')
endif
if (get(g:, 'airline#extensions#vim9lsp#enabled', 1) && exists('*lsp#errorCount'))
if (get(g:, 'airline#extensions#vim9lsp#enabled', 1) && exists('*lsp#lsp#ErrorCount'))
call airline#extensions#vim9lsp#init(s:ext)
call add(s:loaded_ext, 'vim9lsp')
endif