Use buffer language when formatting with Prettier (#43368)

Set `prettier_parser` explicitly if the file extension for the buffer
does not match a known one for the current language

Release Notes:

- N/A

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
bad6bde03aJohn Gibb committed on 12/4/2025, 12:07:40 PM· committed by GitHubparent4ec2d04
2 files changedLine totals unavailable