mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 08:31:59 +03:00
docs: Update the example to set up black formatter in Python (#13839)
As titled. The new example is consistent with the instructions in "Configuring Zed". I verified that the example works as expected. Release Notes: - Update the instructions to set up external formatter for Python.
This commit is contained in:
parent
e69f9d6cf9
commit
1bd585186a
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user