]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/ftplugin/python/lsp.vim
Fix path to command
[dotfiles.git] / vim / .vim / ftplugin / python / lsp.vim
index 7cbc696609e4b9441539f0f07927821ac682102d..cd34fa5a39190206be754446a70ad450ab901216 100644 (file)
@@ -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