Merge pull request #1365 from zed-industries/illustrate-buffer-path

Antonio Scandurra created

Illustrate `format_on_save` external command using prettier

Change summary

assets/settings/default.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Detailed changes

assets/settings/default.json 🔗

@@ -42,10 +42,10 @@
     // 3. Format code using an external command:
     //     "format_on_save": {
     //       "external": {
-    //         "command": "sed",
-    //         "arguments": ["-e", "s/ *$//"]
+    //         "command": "prettier",
+    //         "arguments": ["--stdin-filepath", "{buffer_path}"]
     //       }
-    //     },
+    //     }
     "format_on_save": "language_server",
     // How to soft-wrap long lines of text. This setting can take
     // three values: