mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-05 04:51:14 +00:00
34 lines
739 B
Nix
34 lines
739 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib;
|
|
with builtins; {
|
|
options.vim.markdown.glow = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
description = "Enable markdown preview in neovim with glow";
|
|
};
|
|
border = mkOption {
|
|
type = types.enum ["shadow" "rounded" "single" "double" "none"];
|
|
default = "double";
|
|
description = "Border style for glow preview";
|
|
};
|
|
|
|
# style should be either light or dark
|
|
style = mkOption {
|
|
type = types.enum ["light" "dark"];
|
|
default = "dark";
|
|
description = "Style for glow preview";
|
|
};
|
|
|
|
pager = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
description = "Enable pager for glow preview";
|
|
};
|
|
};
|
|
}
|