mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
docs: Fix broken link (#11685)
configuration link in `javascript.md` https://zed.dev/docs/languages/javascript Release Notes: - N/A
This commit is contained in:
parent
78f1482cd1
commit
8dd26553a3
@ -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`:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user