]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/plugin/lsp.vim
Revert "Async flake8"
[dotfiles.git] / vim / .vim / plugin / lsp.vim
index 1adfbe5a9448533f7fcc4571e71b32ea57ecc26f..ad29aba42b37c9ccaec220714c69eb18578ebbff 100644 (file)
@@ -16,6 +16,17 @@ for d in [
         path: "gopls",
         syncInit: true,
     },
+    {
+        filetype: ["python"],
+        path: "pyls",
+        syncInit: true,
+        workspaceConfig: {pyls: {
+            configurationSources: ["flake8"],
+            plugins: {
+                mccabe: {enabled: false},
+            },
+        }},
+    },
 ]
     if executable(d["path"])
         add(lspServers, d)