# Fix Prettier parser values when formatting files with paths \(\#13666\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/e650c0166dba47e4a7badbec23d6756a57e0eacb)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: e650c0166dba47e4a7badbec23d6756a57e0eacb

Requested commit: e650c0166dba47e4a7badbec23d6756a57e0eacb

Commit: e650c0166dba47e4a7badbec23d6756a57e0eacb

Tree: 7c876639e8a78b4a2c807fe6305e2e58c4b2fddf

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Fix Prettier parser values when formatting files with paths (#13666)

Closes https://github.com/zed-industries/zed/issues/13660

Now, as intended, the parser value is passed only if configured in the
language settings.

Also, allows to format JSONC by default with Prettier and reformats Zed
settings.

Release Notes:

- Fixed Zed Prettier integration always passing parser value for files
with paths ([13660](https://github.com/zed-industries/zed/issues/13660))
```

## Parents

- [f1859e3645c282cc651c9152c9568546101186da](https://git.cafe/gitcafe/zed/commit/f1859e3645c282cc651c9152c9568546101186da?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/e650c0166dba47e4a7badbec23d6756a57e0eacb?format=markdown)
