X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=vim%2F.vim%2Fftplugin%2Fpython%2Flsp.vim;h=cd34fa5a39190206be754446a70ad450ab901216;hb=0830b78630b78286b34dfb6b27c008438ba9bdd9;hp=7cbc696609e4b9441539f0f07927821ac682102d;hpb=a553a7cdcd190da2a31d717fc967619b4b91097c;p=dotfiles.git diff --git a/vim/.vim/ftplugin/python/lsp.vim b/vim/.vim/ftplugin/python/lsp.vim index 7cbc696..cd34fa5 100644 --- a/vim/.vim/ftplugin/python/lsp.vim +++ b/vim/.vim/ftplugin/python/lsp.vim @@ -1,14 +1,3 @@ if executable("pyls") - " pip install 'python-language-server[all]' - au User lsp_setup call lsp#register_server({ - \ "name": "pyls", - \ "cmd": {server_info->["pyls"]}, - \ "allowlist": ["python"], - \ "workspace_config": {"pyls": { - \ "configurationSources": ["flake8"], - \ "plugins": { - \ "mccabe": {"enabled": v:false}, - \ }, - \ }}, - \}) + LSClientEnable endif