From e324531cefff20d2310f25be6d8cae82fb053554 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 27 Sep 2022 09:26:41 +0800 Subject: Share lsp server between vim-lsp and ale --- .vim/after/plugin/lsp.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.vim/after/plugin/lsp.vim') diff --git a/.vim/after/plugin/lsp.vim b/.vim/after/plugin/lsp.vim index ae5f203..1aaee35 100644 --- a/.vim/after/plugin/lsp.vim +++ b/.vim/after/plugin/lsp.vim @@ -8,6 +8,10 @@ packadd vim-lsp packadd vim-lsp-snippets packadd vim-lsp-ultisnips +" This package will help enable diagnostic config of vim-lsp and then it +" can help send the result to ALE. Pay attention of the loading order. +packadd vim-lsp-ale + if executable('pylsp') au User lsp_setup call lsp#register_server({ \ 'name': 'pylsp', -- cgit v1.2.3