snacks.nvim/lua/snacks/image
Olle Månsson 54ab77c5d2
feat(image): add support for svelte (#1277)
## 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>
2025-02-18 16:49:40 +01:00
..
buf.lua feat(image): refactor + css/html + beter image fitting 2025-02-15 14:28:49 +01:00
convert.lua fix(image): remove debug 2025-02-18 16:37:42 +01:00
doc.lua feat(image): images are now properly scaled based on device DPI and image DPI. Closing #1257 2025-02-18 16:31:37 +01:00
image.lua feat(image): images are now properly scaled based on device DPI and image DPI. Closing #1257 2025-02-18 16:31:37 +01:00
init.lua feat(image): images are now properly scaled based on device DPI and image DPI. Closing #1257 2025-02-18 16:31:37 +01:00
placement.lua feat(image): images are now properly scaled based on device DPI and image DPI. Closing #1257 2025-02-18 16:31:37 +01:00
terminal.lua fix(image.terminal): set passthrough=all instead of on for tmux. Closes #1249 2025-02-18 00:22:43 +01:00
util.lua feat(image): add support for svelte (#1277) 2025-02-18 16:49:40 +01:00