pylsp: Update mypy plugin name (#21031)

Follow-up to #21025

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-11-22 01:13:48 +01:00 committed by GitHub
parent 6c470748ac
commit 477c6e6833
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -919,7 +919,7 @@ impl LspAdapter for PyLspAdapter {
"plugins": {
"pycodestyle": {"enabled": false},
"rope_autoimport": {"enabled": true, "memory": true},
"mypy": {"enabled": false}
"pylsp_mypy": {"enabled": false}
},
"rope": {
"ropeFolder": null
@ -947,7 +947,7 @@ impl LspAdapter for PyLspAdapter {
.or_insert_with(|| Value::String(toolchain.path.clone().into()));
}
if let Some(pylint) = python
.entry("mypy")
.entry("pylsp_mypy")
.or_insert(Value::Object(serde_json::Map::default()))
.as_object_mut()
{