nix-community.nixvim/plugins/utils/easyescape.nix

19 lines
345 B
Nix
Raw Normal View History

2021-11-23 21:08:29 +01:00
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.plugins.easyescape;
2021-11-23 21:08:29 +01:00
helpers = import ../helpers.nix { inherit lib; };
in
2021-11-23 21:08:29 +01:00
{
options = {
plugins.easyescape = {
2021-11-23 21:08:29 +01:00
enable = mkEnableOption "Enable easyescape";
};
};
config = mkIf cfg.enable {
extraPlugins = with pkgs.vimPlugins; [
vim-easyescape
];
2021-11-23 21:08:29 +01:00
};
}