mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
easyescape: add easyescape plugin
This commit is contained in:
parent
3331ff069f
commit
11386608b7
2 changed files with 21 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
|||
./utils/startify.nix
|
||||
./utils/goyo.nix
|
||||
./utils/endwise.nix
|
||||
./utils/easyescape.nix
|
||||
./utils/telescope.nix
|
||||
./utils/nvim-autopairs.nix
|
||||
./utils/barbar.nix
|
||||
|
|
20
plugins/utils/easyescape.nix
Normal file
20
plugins/utils/easyescape.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ 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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue