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.

docs: Update the example to set up black formatter in Python (#13839)

Zhangfan1bd585186a14
diff --git a/docs/src/languages/python.md b/docs/src/languages/python.md
index 0af9c5b35f5..9bd670b6d41 100644
--- a/docs/src/languages/python.md
+++ b/docs/src/languages/python.md
@@ -58,12 +58,13 @@ A common tool for formatting python code is [Black](https://black.readthedocs.io
{
"languages": {
"Python": {
- "format_on_save": {
- "external": {
+ "formatter": {
+ "external": {
"command": "black",
"arguments": ["-"]
}
- }
+ },
+ "format_on_save": "on"
}
}
}