From 73a099ef9d2d01a75c13dee7efce9ece5f99dc74 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 18 Nov 2021 16:11:24 +0300 Subject: [PATCH] pylsp should use flake8's configuration --- vim/.vim/ftplugin/python/lsp.vim | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.44.0