mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-10 09:05:57 +01:00
20 lines
361 B
Nix
20 lines
361 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib;
|
|
with builtins; let
|
|
cfg = config.vim.languages.markdown;
|
|
in {
|
|
options.vim.languages.markdown = {
|
|
enable = mkEnableOption "Markdown language support";
|
|
|
|
glow.enable = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
description = "Enable markdown preview in neovim with glow";
|
|
};
|
|
};
|
|
}
|