]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/ftplugin/python/lsp.vim
pylsp should use flake8's configuration
[dotfiles.git] / vim / .vim / ftplugin / python / lsp.vim
index 85091b42a571d58d97280d57512f56e82454cb3f..394f56a214b031cacb54725603a700f2dca39581 100644 (file)
@@ -4,5 +4,8 @@ if executable("pyls")
     \    "name": "pyls",
     \    "cmd": {server_info->["pyls"]},
     \    "allowlist": ["python"],
+    \    "workspace_config": {"pyls": {
+    \        "configurationSources": ["flake8"],
+    \    }},
     \})
 endif