mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-03 01:25:22 +02:00
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>
23 lines
577 B
Nix
23 lines
577 B
Nix
{ 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;
|
|
};
|
|
};
|
|
};
|
|
}
|