From: Sergey Matveev Date: Thu, 18 Nov 2021 13:11:24 +0000 (+0300) Subject: pylsp should use flake8's configuration X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=73a099ef9d2d01a75c13dee7efce9ece5f99dc74 pylsp should use flake8's configuration --- diff --git a/vim/.vim/ftplugin/python/lsp.vim b/vim/.vim/ftplugin/python/lsp.vim index 85091b4..394f56a 100644 --- a/vim/.vim/ftplugin/python/lsp.vim +++ b/vim/.vim/ftplugin/python/lsp.vim @@ -4,5 +4,8 @@ if executable("pyls") \ "name": "pyls", \ "cmd": {server_info->["pyls"]}, \ "allowlist": ["python"], + \ "workspace_config": {"pyls": { + \ "configurationSources": ["flake8"], + \ }}, \}) endif