1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-09 03:56:05 +01:00
nixvim/plugins/utils/easyescape.nix

21 lines
356 B
Nix

{
lib,
helpers,
config,
pkgs,
...
}:
with lib;
let
cfg = config.plugins.easyescape;
in
{
options = {
plugins.easyescape = {
enable = mkEnableOption "easyescape";
package = helpers.mkPluginPackageOption "easyescape" pkgs.vimPlugins.vim-easyescape;
};
};
config = mkIf cfg.enable { extraPlugins = [ cfg.package ]; };
}