Add support for vim-lsp

This commit is contained in:
François-Xavier Carton committed 2020-03-01 00:41:33 +01:00
1 parent 099dd92eeb
commit 0860036454
6 files changed
+103 -6

No files matched your search

+5
View File
@@ -311,6 +311,11 @@ function! airline#extensions#load()
call add(s:loaded_ext, 'ale')
endif
if (get(g:, 'airline#extensions#lsp#enabled', 1) && exists(':LspDeclaration'))
call airline#extensions#lsp#init(s:ext)
call add(s:loaded_ext, 'lsp')
endif
if (get(g:, 'airline#extensions#coc#enabled', 1) && exists(':CocCommand'))
call airline#extensions#coc#init(s:ext)
call add(s:loaded_ext, 'coc')