Implement extension to report errors and warnings from LanguageClient plugin

This commit is contained in:
Jesse Hallett
2018-09-02 17:08:04 -04:00
parent c7fb175d35
commit a92b12e1c6
7 changed files with 149 additions and 8 deletions

View File

@@ -254,6 +254,11 @@ function! airline#extensions#load()
call add(loaded_ext, 'ale')
endif
if (get(g:, 'airline#extensions#languageclient#enabled', 1) && exists(':LanguageClientStart'))
call airline#extensions#languageclient#init(s:ext)
call add(loaded_ext, 'languageclient')
endif
if get(g:, 'airline#extensions#whitespace#enabled', 1)
call airline#extensions#whitespace#init(s:ext)
call add(loaded_ext, 'whitespace')