mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
24 lines
491 B
Nix
24 lines
491 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 = mkOption {
|
|
type = types.package;
|
|
default = pkgs.vimPlugins.vim-easyescape;
|
|
description = "Plugin to use for easyescape";
|
|
};
|
|
};
|
|
};
|
|
config = mkIf cfg.enable {
|
|
extraPlugins = [
|
|
cfg.package
|
|
];
|
|
};
|
|
}
|