mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 10:49:08 +00:00
feat(image.doc): allow setting image.src
with #set!
. Closes #1276
This commit is contained in:
parent
eaa458b32f
commit
65f89e2d6f
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ function M.find(buf, from, to)
|
|||
---@type snacks.image.match
|
||||
local img = {
|
||||
ext = meta["image.ext"],
|
||||
src = meta["image.src"],
|
||||
id = ctx.pos.node:id(),
|
||||
range = { range[1] + 1, range[2], range[4] + 1, range[5] },
|
||||
pos = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue