mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/markdown-preview: remove with lib
This commit is contained in:
parent
aab2b81792
commit
c0dda6cf49
1 changed files with 6 additions and 5 deletions
|
@ -3,15 +3,16 @@
|
||||||
helpers,
|
helpers,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib;
|
let
|
||||||
with lib.nixvim.plugins;
|
inherit (lib) types;
|
||||||
mkVimPlugin {
|
in
|
||||||
|
lib.nixvim.plugins.mkVimPlugin {
|
||||||
name = "markdown-preview";
|
name = "markdown-preview";
|
||||||
packPathName = "markdown-preview.nvim";
|
packPathName = "markdown-preview.nvim";
|
||||||
package = "markdown-preview-nvim";
|
package = "markdown-preview-nvim";
|
||||||
globalPrefix = "mkdp_";
|
globalPrefix = "mkdp_";
|
||||||
|
|
||||||
maintainers = [ maintainers.GaetanLepage ];
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||||
|
|
||||||
# TODO introduced 2024-03-02: remove 2024-05-02
|
# TODO introduced 2024-03-02: remove 2024-05-02
|
||||||
deprecateExtraConfig = true;
|
deprecateExtraConfig = true;
|
||||||
|
@ -184,7 +185,7 @@ mkVimPlugin {
|
||||||
description = ''
|
description = ''
|
||||||
Default theme (dark or light).
|
Default theme (dark or light).
|
||||||
'';
|
'';
|
||||||
pluginDefault = literalMD "chosen based on system preferences";
|
pluginDefault = lib.literalMD "chosen based on system preferences";
|
||||||
};
|
};
|
||||||
|
|
||||||
combine_preview = helpers.defaultNullOpts.mkFlagInt 0 ''
|
combine_preview = helpers.defaultNullOpts.mkFlagInt 0 ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue