diff options
Diffstat (limited to 'vim-extra/.vim')
-rw-r--r-- | vim-extra/.vim/extra.vim | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vim-extra/.vim/extra.vim b/vim-extra/.vim/extra.vim index c290230..809527f 100644 --- a/vim-extra/.vim/extra.vim +++ b/vim-extra/.vim/extra.vim @@ -72,13 +72,6 @@ autocmd CompleteDone * pclose " Setup lsp servers - if executable('pyls') - au User lsp_setup call lsp#register_server({ - \ 'name': 'python', - \ 'cmd': {server_info->['pyls']}, - \ 'whitelist': ['python', 'py'], - \ }) - endif if executable('clangd') au User lsp_setup call lsp#register_server({ \ 'name': 'clangd', @@ -86,6 +79,13 @@ \ 'whitelist': ['c', 'cpp'], \ }) endif + if executable('pyls') + au User lsp_setup call lsp#register_server({ + \ 'name': 'pyls', + \ 'cmd': {server_info->['pyls']}, + \ 'whitelist': ['py', 'python'], + \ }) + endif if executable('gopls') au User lsp_setup call lsp#register_server({ \ 'name': 'golang', |