mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-23 23:29:48 +01:00
19 lines
284 B
Nix
19 lines
284 B
Nix
|
{
|
||
|
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";
|
||
|
};
|
||
|
};
|
||
|
}
|