mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 17:28:39 +02:00
26 lines
411 B
Nix
26 lines
411 B
Nix
{
|
|
lib,
|
|
helpers,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib;
|
|
let
|
|
cfg = config.plugins.easyescape;
|
|
in
|
|
{
|
|
options = {
|
|
plugins.easyescape = {
|
|
enable = mkEnableOption "easyescape";
|
|
|
|
package = lib.mkPackageOption pkgs "easyescape" {
|
|
default = [
|
|
"vimPlugins"
|
|
"vim-easyescape"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
config = mkIf cfg.enable { extraPlugins = [ cfg.package ]; };
|
|
}
|