mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-10 04:11:34 +00:00
feat: apply new module format to markdown plugins
This commit is contained in:
parent
067b523897
commit
4434d9e053
6 changed files with 69 additions and 42 deletions
20
modules/markdown/module.nix
Normal file
20
modules/markdown/module.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
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) {
|
||||
/*
|
||||
...
|
||||
*/
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue