mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 17:28:39 +02:00
Migrate all users of `mkVimPlugin` and `mkNeovimPlugin` to use the new `package` argument instead of the old `defaultPackage` argument.
29 lines
464 B
Nix
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"
|
|
];
|
|
};
|
|
}
|