nvf/modules/utility/preview/glow/glow.nix

13 lines
301 B
Nix

{lib, ...}: let
inherit (lib) mkEnableOption mkMappingOption;
in {
options.vim.utility.preview = {
glow = {
enable = mkEnableOption "enable markdown preview in neovim with glow";
mappings = {
openPreview = mkMappingOption "Open preview" "<leader>p";
};
};
};
}