Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add astro, vue, and svelte support #141

Merged
merged 1 commit into from
Feb 17, 2024
Merged

Conversation

nhedger
Copy link
Member

@nhedger nhedger commented Feb 15, 2024

Summary

This PR adds the astro, vue, and svelte languages to the document filters so that they can be passed to the Biome LSP.

Description

The upcoming version of Biome introduces partial support for formatting frontmatter in Astro files and script blocks of Vue and Svelte components. This PR updates the list of document filters so that the Biome LSP takes these new file types into consideration.

Limitations

Document filters that reference vue, svelte, or astro will only work if an extension designed to handle these files is installed.

I do not expect this to be an issue, because it's fairly safe to assume that users of Astro, Vue and Svelte already use their respective VS Code extensions, which register their language identifiers.

Related Issue

This PR closes #140

Checklist

  • I have tested my changes on the following platforms:
    • Windows
    • Linux
    • macOS

@nhedger nhedger marked this pull request as ready for review February 17, 2024 12:36
@nhedger nhedger merged commit af7906d into main Feb 17, 2024
3 checks passed
@nhedger nhedger deleted the feat/astro-vue-svelte branch February 17, 2024 12:36
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.

Enable VSCode for vue, svelte and astro files
1 participant