plugins/smart-splits: init

This commit is contained in:
Gabriel Arazas 2024-02-14 19:05:01 +08:00 committed by Gaétan Lepage
parent bb9d56087d
commit 8bb460e261
3 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{
config,
lib,
pkgs,
helpers,
...
}:
helpers.neovim-plugin.mkNeovimPlugin config {
name = "smart-splits";
originalName = "smart-splits.nvim";
defaultPackage = pkgs.vimPlugins.smart-splits-nvim;
maintainers = [lib.maintainers.foo-dogsquared];
settingsExample = {
resize_mode = {
quit_key = "<ESC>";
resize_keys = ["h" "j" "k" "l"];
silent = true;
};
ignored_events = ["BufEnter" "WinEnter"];
};
}