neovim-flake/modules/markdown/module.nix

20 lines
250 B
Nix

{
pkgs,
config,
lib,
...
}:
with lib;
with builtins; let
cfg = config.vim.markdown;
in {
options.vim.markdown = {
enable = mkEnableOption "markdown tools and plugins";
};
config = mkIf (cfg.enable) {
/*
...
*/
};
}