mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
21 lines
356 B
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 ]; };
|
|
}
|