1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-14 14:32:47 +01:00
nixvim/plugins/utils/easyescape.nix

20 lines
406 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
];
};
}