1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-02 15:11:05 +01:00
nixvim/plugins/by-name/img-clip/default.nix
saygo-png c4b27080a6 treewide: infer packPathName menial work
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00

22 lines
543 B
Nix

{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "img-clip";
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;
};
};
};
}