nix-community.nixvim/plugins/utils/smart-splits.nix
Matt Sturgeon 1fd4b6c739
plugins: migrate defaultPackage -> package
Migrate all users of `mkVimPlugin` and `mkNeovimPlugin` to use the new
`package` argument instead of the old `defaultPackage` argument.
2024-09-04 03:29:34 +01:00

29 lines
464 B
Nix

{
lib,
helpers,
...
}:
helpers.neovim-plugin.mkNeovimPlugin {
name = "smart-splits";
originalName = "smart-splits.nvim";
package = "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"
];
};
}