]> 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 394f56a214b031cacb54725603a700f2dca39581..cd34fa5a39190206be754446a70ad450ab901216 100644 (file)
@@ -1,11 +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"],
-    \    }},
-    \})
+    LSClientEnable
 endif