mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-08 16:24:32 +02:00
plugins/utils: move to by-name
This commit is contained in:
parent
faff32b9f1
commit
52f125679f
195 changed files with 2 additions and 102 deletions
|
@ -1,26 +0,0 @@
|
|||
{
|
||||
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 ]; };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue