Skip to content

Conversation

@SURTBLAZE
Copy link

Summary

Fixes an issue where Prettier-VSCode incorrectly used the inferred parser
(based on file extension) even after the user manually selected a different
language in VS Code.

Details

  • If languageId !== "plaintext", use the VS Code language.
  • Fallback to inferredParser only when the language is plaintext or not supported.

@auto-assign auto-assign bot requested a review from ntotten October 6, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants