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

Illustrate `format_on_save` external command using prettier
This commit is contained in:
Antonio Scandurra 2022-07-15 09:13:13 +02:00 committed by GitHub
commit e5c55f9a54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: