Skip to content

Commit

Permalink
plugins/wezterm: init
Browse files Browse the repository at this point in the history
Update tests/test-sources/plugins/by-name/wezterm/default.nix

Co-authored-by: Austin Horstman <[email protected]>

Update plugins/by-name/wezterm/default.nix

Co-authored-by: Austin Horstman <[email protected]>

Update tests/test-sources/plugins/by-name/wezterm/default.nix

Co-authored-by: Gaétan Lepage <[email protected]>

Update tests/test-sources/plugins/by-name/wezterm/default.nix

Co-authored-by: Gaétan Lepage <[email protected]>
  • Loading branch information
2 people authored and MattSturgeon committed Dec 9, 2024
1 parent dcdbc24 commit 2af353b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
21 changes: 21 additions & 0 deletions plugins/by-name/wezterm/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ lib, ... }:
let
inherit (lib.nixvim) defaultNullOpts;
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "wezterm";
originalName = "wezterm.nvim";
package = "wezterm-nvim";

maintainers = [ lib.maintainers.samos667 ];

settingsOptions = {
create_commands = defaultNullOpts.mkBool true ''
Whether to create plugin commands.
'';
};

settingsExample = {
create_commands = false;
};
}
15 changes: 15 additions & 0 deletions tests/test-sources/plugins/by-name/wezterm/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
empty = {
plugins.wezterm.enable = true;
};

defaults = {
plugins.wezterm = {
enable = true;

settings = {
create_commands = true;
};
};
};
}

0 comments on commit 2af353b

Please sign in to comment.