mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
23 lines
412 B
Nix
23 lines
412 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.plugins.easyescape;
|
|
helpers = import ../helpers.nix {inherit lib;};
|
|
in {
|
|
options = {
|
|
plugins.easyescape = {
|
|
enable = mkEnableOption "Enable easyescape";
|
|
|
|
package = helpers.mkPackageOption "easyescape" pkgs.vimPlugins.vim-easyescape;
|
|
};
|
|
};
|
|
config = mkIf cfg.enable {
|
|
extraPlugins = [
|
|
cfg.package
|
|
];
|
|
};
|
|
}
|