Skip to content

fix(ts-plugin): correct the language ID of the DTS virtual code#213

Merged
mizdra merged 1 commit into
mizdra:mainfrom
johnsoncodehk:patch-1
Jun 24, 2025
Merged

fix(ts-plugin): correct the language ID of the DTS virtual code#213
mizdra merged 1 commit into
mizdra:mainfrom
johnsoncodehk:patch-1

Conversation

@johnsoncodehk
Copy link
Copy Markdown
Contributor

In the context of Volar, the languageId of the virtual code should be used to represent the language of the virtual code rather than the language of the source code.

This will cause errors in language server, but there will be no problem in TS plugin.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 24, 2025

⚠️ No Changeset found

Latest commit: 4b52baa

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mizdra
Copy link
Copy Markdown
Owner

mizdra commented Jun 24, 2025

I see, that makes sense. Thanks for fixing it!

Since this change does not affect users, I merge without adding a changeset.

@mizdra mizdra merged commit c9309df into mizdra:main Jun 24, 2025
10 checks passed
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