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]>
  • Loading branch information
samos667 and khaneliman committed Dec 2, 2024
1 parent 80e49e7 commit f0c6ec7
Show file tree
Hide file tree
Showing 2 changed files with 33 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;
};
}
12 changes: 12 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,12 @@
{
empty = {
plugins.wezterm.enable = true;
};

default = {
plugins.wezterm = {
enable = true;
settings.create_commands = true;
};
};
}

0 comments on commit f0c6ec7

Please sign in to comment.