plugins/img-clip: init
Some checks failed
Publish every git push to Flakestry / publish-flake (push) Has been cancelled
Documentation / Version info (push) Has been cancelled
Publish every Git push to main to FlakeHub / flakehub-publish (push) Has been cancelled
Documentation / Build (push) Has been cancelled
Documentation / Combine builds (push) Has been cancelled
Documentation / Deploy (push) Has been cancelled

Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
saygo-png 2025-07-16 21:19:44 +02:00 committed by Austin Horstman
parent 7ad0cadd8b
commit bc0555c869
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "img-clip";
packPathName = "img-clip.nvim";
package = "img-clip-nvim";
description = "Embed images into any markup language, like LaTeX, Markdown or Typst";
maintainers = [ lib.maintainers.saygo-png ];
settingsExample = {
default = {
dir_path = "assets";
file_name = "%y-%m-%d-%h-%m-%s";
use_absolute_path = false;
relative_to_current_file = false;
template = "$file_path";
};
filetypes = {
markdown = {
download_images = true;
};
};
};
}

View file

@ -0,0 +1,25 @@
{
empty = {
plugins.img-clip.enable = true;
};
example = {
plugins.img-clip = {
enable = true;
settings = {
default = {
dir_path = "assets";
file_name = "%y-%m-%d-%h-%m-%s";
use_absolute_path = false;
relative_to_current_file = false;
template = "$file_path";
};
filetypes = {
markdown = {
download_images = true;
};
};
};
};
};
}