mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-08 08:05:58 +01:00
12 lines
301 B
Nix
12 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";
|
|
};
|
|
};
|
|
};
|
|
}
|