mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
20 lines
415 B
Nix
20 lines
415 B
Nix
{ config, pkgs, lib, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.programs.nixvim.plugins.easyescape;
|
|
helpers = import ../helpers.nix { inherit lib; };
|
|
in
|
|
{
|
|
options = {
|
|
programs.nixvim.plugins.easyescape = {
|
|
enable = mkEnableOption "Enable easyescape";
|
|
};
|
|
};
|
|
config = mkIf cfg.enable {
|
|
programs.nixvim = {
|
|
extraPlugins = with pkgs.vimPlugins; [
|
|
vim-easyescape
|
|
];
|
|
};
|
|
};
|
|
}
|