Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(images): add support for image previewing with Snacks #907

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

kristijanhusak
Copy link
Member

@kristijanhusak kristijanhusak commented Feb 20, 2025

Summary

Add support for rendering images using snacks.image

Related Issues

Related: folke/snacks.nvim#1276

Changes

  • Add images.scm that is read by Snacks to render images
  • Add custom directive that sets metadata for the node to render the image

Checklist

I confirm that I have:

  • Followed the
    Conventional Commits
    specification
    (e.g., feat: add new feature, fix: correct bug,
    docs: update documentation).
  • My PR title also follows the conventional commits specification.
  • Updated relevant documentation, if necessary.
  • Thoroughly tested my changes.
  • Added tests (if applicable) and verified existing tests pass with
    make test.
  • Checked for breaking changes and documented them, if any.

@kristijanhusak kristijanhusak force-pushed the feat/snacks-image-preview branch from 1fdd91e to f67f18d Compare February 20, 2025 10:27
@kristijanhusak kristijanhusak merged commit 80ca17e into master Feb 20, 2025
6 checks passed
@kristijanhusak kristijanhusak deleted the feat/snacks-image-preview branch February 20, 2025 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant