Skip to content

Commit

Permalink
fix: namespaces not set on images
Browse files Browse the repository at this point in the history
  • Loading branch information
3rd committed Jan 2, 2024
1 parent c53bbc4 commit 088c2ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/image/image.lua
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ local from_file = function(path, options, state)
is_rendered = false,
crop_hash = nil,
resize_hash = nil,
namespace = opts.namespace or nil,
}, state)
-- utils.debug(("image.nvim: cloned image %s from %s"):format(clone.id, instance.id))
return clone
Expand Down Expand Up @@ -321,6 +322,7 @@ local from_file = function(path, options, state)
is_rendered = false,
crop_hash = nil,
resize_hash = nil,
namespace = opts.namespace or nil,
}, state)

return instance
Expand Down

0 comments on commit 088c2ed

Please sign in to comment.