mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-11 12:43:28 +00:00
language/markdown: moved glow and markdown-preview to utlity/preview
This commit is contained in:
parent
7352558623
commit
319aaca06d
11 changed files with 145 additions and 104 deletions
12
modules/utility/preview/glow/glow.nix
Normal file
12
modules/utility/preview/glow/glow.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue