Fix formatter comment in default settings (#2593)

Fix comment related to the `formatter` configuration option in Zed's
default settings.

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons 2023-06-09 15:14:04 -04:00 committed by GitHub
commit d8c1ab9c68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,9 +116,9 @@
// How to perform a buffer format. This setting can take two values: // How to perform a buffer format. This setting can take two values:
// //
// 1. Format code using the current language server: // 1. Format code using the current language server:
// "format_on_save": "language_server" // "formatter": "language_server"
// 2. Format code using an external command: // 2. Format code using an external command:
// "format_on_save": { // "formatter": {
// "external": { // "external": {
// "command": "prettier", // "command": "prettier",
// "arguments": ["--stdin-filepath", "{buffer_path}"] // "arguments": ["--stdin-filepath", "{buffer_path}"]