Skip to content

Commit

Permalink
docs: Fix broken link (zed-industries#11685)
Browse files Browse the repository at this point in the history
configuration link in `javascript.md`

https://zed.dev/docs/languages/javascript

Release Notes:

- N/A
  • Loading branch information
gyteng authored May 13, 2024
1 parent 78f1482 commit 8dd2655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/languages/javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

### Code formatting

Formatting on save is enabled by default for JavaScript, using TypeScript's built-in code formatting. But many JavaScript projects use other command-line code-formatting tools, such as [Prettier](https://prettier.io/). You can use one of these tools by specifying an _external_ code formatter for JavaScript in your settings. See the [configuration](../configuration/configuring-zed.md) documentation for more information.
Formatting on save is enabled by default for JavaScript, using TypeScript's built-in code formatting. But many JavaScript projects use other command-line code-formatting tools, such as [Prettier](https://prettier.io/). You can use one of these tools by specifying an _external_ code formatter for JavaScript in your settings. See the [configuration](../configuring-zed.md) documentation for more information.

For example, if you have Prettier installed and on your `PATH`, you can use it to format JavaScript files by adding the following to your `settings.json`:

Expand Down

0 comments on commit 8dd2655

Please sign in to comment.