mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-08 03:25:58 +01:00
12 lines
294 B
Nix
12 lines
294 B
Nix
{lib, ...}: let
|
|
inherit (lib) mkEnableOption mkMappingOption;
|
|
in {
|
|
options.vim.utility.preview = {
|
|
glow = {
|
|
enable = mkEnableOption "markdown preview in neovim with glow";
|
|
mappings = {
|
|
openPreview = mkMappingOption "Open preview" "<leader>p";
|
|
};
|
|
};
|
|
};
|
|
}
|