mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
## Description Added queries for Svelte as well, based on Vue. Note that I am not sure if the current HTML queries, which both Vue and this Svelt query inherits from, is working as intended. I do not get any sort of inline images. But I guess that will have to be debugged and fixed in another issue and the fix should not affect this patch (hopefully). ## Related Issue(s) Fixes #1275 --------- Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
14 lines
225 B
Svelte
14 lines
225 B
Svelte
<script>
|
|
const greeting = "hello";
|
|
</script>
|
|
|
|
<p class="greeting">{greeting}</p>
|
|
<img src="test.png" alt="test" />
|
|
|
|
<style>
|
|
.greeting {
|
|
color: red;
|
|
font-weight: bold;
|
|
background: url("test.png");
|
|
}
|
|
</style>
|