Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

pylsp: Update mypy plugin name (#21031)

Piotr Osiewicz477c6e6833b4
diff --git a/crates/languages/src/python.rs b/crates/languages/src/python.rs
index 429da01c8f4..2cedd704cf1 100644
--- a/crates/languages/src/python.rs
+++ b/crates/languages/src/python.rs
@@ -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()
{