mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-02 11:31:15 +00:00
13 lines
301 B
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";
|
|
};
|
|
};
|
|
};
|
|
}
|