withastro / language-tools

Language tools for Astro
MIT License
267 stars 52 forks source link

fix: don't generate mappings for Svelte and Vue files #871

Closed Princesseuh closed 4 months ago

Princesseuh commented 4 months ago

Changes

We wrongfully had mappings for Vue and Svelte files, so when we updated files, we could sometimes try to update Svelte and Vue files, but really, we don't know what to do there, so we shouldn't.

Fixes https://github.com/withastro/language-tools/issues/869

Testing

Tested manually, this is quite tough to test in the testing suite because we can't quite mock what the client does

Docs

N/A

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: cc35556056d0423bf8d0dd706f1af4420cd0d0d1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ------------------------ | ----- | | @astrojs/language-server | Patch | | astro-vscode | Patch |

Not sure what this means? Click here to learn what changesets are.

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