au User lsp_setup call lsp#register_server({
\ "name": "pyls",
\ "cmd": {server_info->["pyls"]},
- \ "whitelist": ["python"],
+ \ "allowlist": ["python"],
+ \ "workspace_config": {"pyls": {
+ \ "configurationSources": ["flake8"],
+ \ "plugins": {
+ \ "mccabe": {"enabled": v:false},
+ \ },
+ \ }},
\})
endif