nix-community.nixvim/tests/test-sources/plugins/by-name/glow/default.nix
2024-09-15 17:50:02 -05:00

36 lines
629 B
Nix

{ pkgs, ... }:
{
empty = {
plugins.glow.enable = true;
};
defaults = {
plugins.glow = {
enable = true;
glowPackage = pkgs.glow;
settings = {
glow_path.__raw = "vim.fn.exepath('glow')";
install_path = "~/.local/bin";
border = "shadow";
style = "dark";
pager = false;
width = 80;
height = 100;
width_ratio = 0.7;
height_ratio = 0.7;
};
};
};
example = {
plugins.glow = {
enable = true;
settings = {
border = "single";
style = "/path/to/catppuccin.json";
};
};
};
}