mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-16 00:47:39 +03:00
Explicitly specify php files' formatter for prettier (#13883)
Closes https://github.com/zed-industries/zed/issues/13878 Seems that all regular files types are being recognized by Prettier from their paths, but the PHP one does not despite the PHP plugin used when formatting. Release Notes: - Fixed PHP prettier formatting, by including `php` parser name into formatting queries ([13878](https://github.com/zed-industries/zed/issues/13878))
This commit is contained in:
parent
078ce330c6
commit
a53b3b6b10
@ -775,7 +775,8 @@
|
|||||||
"PHP": {
|
"PHP": {
|
||||||
"prettier": {
|
"prettier": {
|
||||||
"allowed": true,
|
"allowed": true,
|
||||||
"plugins": ["@prettier/plugin-php"]
|
"plugins": ["@prettier/plugin-php"],
|
||||||
|
"parser": "php"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Ruby": {
|
"Ruby": {
|
||||||
|
Loading…
Reference in New Issue
Block a user