snacks.nvim icon indicating copy to clipboard operation
snacks.nvim copied to clipboard

feat(image): automatically pull git-lfs files

Open PeterCardenas opened this issue 8 months ago • 1 comments

Currently, when snacks image plugin encounters a git-lfs pointer to an image, the plugin fails at the identify step. This is because the plugin is trying to identify the file while it just has the pointer metadata as contents. This commit aims to do the fix this in the following ways:

  • Adds an lfs step that will resolve just the pointer for the image
  • Only calls this step if the image given is a git-lfs pointer
  • Does some error handling in the case that git lfs fails silently

PeterCardenas avatar Apr 15 '25 05:04 PeterCardenas

This PR is stale because it has been open 30 days with no activity.

github-actions[bot] avatar May 16 '25 02:05 github-actions[bot]

not interested in adding this. Thank you though

folke avatar Oct 20 '25 13:10 folke