feat: apply new module format to markdown plugins

This commit is contained in:
NotAShelf 2023-02-27 22:26:00 +03:00
commit 4434d9e053
No known key found for this signature in database
GPG key ID: 5B5C8895F28445F1
6 changed files with 69 additions and 42 deletions

View file

@ -0,0 +1,18 @@
{
pkgs,
config,
lib,
...
}:
with lib;
with builtins; let
cfg = config.vim.markdown;
in {
options.vim.markdown = {
glow.enable = mkOption {
type = types.bool;
default = false;
description = "Enable markdown preview in neovim with glow";
};
};
}