@
jeeyong 确实不影响使用,我现在同时用 lsp-pylsp 和 lsp-pyright ,设置如下
```
{
"pylsp.plugins.mypy-ls.enabled": true,
"pylsp.plugins.flake8.enabled": true,
// "pylsp.plugins.black.enabled":true,
"pylsp.configurationSources": ["flake8"],
"pylsp.plugins.pyls_black.enabled": true,
"disabled_capabilities": {
"completionProvider": true,
"definitionProvider": true,
"documentHighlightProvider": true,
"documentSymbolProvider": true,
"hoverProvider": true,
"referencesProvider": true,
"renameProvider": true,
"signatureHelpProvider": true,
},
"settings": {
"pylsp.plugins.jedi_completion.enabled": false,
"pylsp.plugins.jedi_definition.enabled": false,
"pylsp.plugins.jedi_hover.enabled": false,
"pylsp.plugins.jedi_references.enabled": false,
"pylsp.plugins.jedi_signature_help.enabled": false,
"pylsp.plugins.jedi_symbols.enabled": false,
},
}
```
https://github.com/sublimelsp/LSP-pylsp#running-alongside-lsp-pyright