-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
As I understand it, the work that needs to be done to achieve this is that we need to define a tree-sitter-svelte-tags.scm
file, similar to these: https://github.com/paul-gauthier/aider/tree/main/aider/queries
Unfortunately, Svelte is a multi-language language, where you might have JavaScript inside <script>
tags, TypeScript inside <script lang="ts">
tags, CSS/PostCSS in <style>
tags, and HTML mixed with Svelte constructs at the top-level (all other tags).
I don't see an example of a .scm
file with multiple embedded languages in the queries
directory that we can use as inspiration, so this might be a bit more difficult.
elohmeier, luxus, JDR42 and AgarwalPragy
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request