mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
These injection queries are defined already in html_tags, remove them Signed-off-by: Pham Huy Hoang <hoangtun0810@gmail.com>
39 lines
620 B
Svelte
39 lines
620 B
Svelte
<script>
|
|
import Button from "./Button.svelte";
|
|
// ^ javascript
|
|
</script>
|
|
<script lang="ts">
|
|
const foo: number = 1
|
|
// ^ typescript
|
|
</script>
|
|
|
|
<style>
|
|
main {
|
|
font-family: sans-serif;
|
|
text-align: center;
|
|
/* ^ css
|
|
*/
|
|
}
|
|
</style>
|
|
<style lang="scss">
|
|
main {
|
|
font-family: sans-serif;
|
|
text-align: center;
|
|
&:hover {
|
|
// ^ scss
|
|
}
|
|
}
|
|
</style>
|
|
|
|
<main>
|
|
<h1>Test file</h1>
|
|
{#each someItems as someItem}
|
|
<!-- ^ javascript
|
|
-->
|
|
<div>{someItem}</div>
|
|
<!-- ^ javascript
|
|
-->
|
|
{/each}
|
|
<Button />
|
|
<button on:click={() => foo++}></button>
|
|
</main>
|