mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 02:34:34 +02:00
We used to only think of it as the plugin repo's name, but we have been needing to use it for the name of the plugin's packpath location.
29 lines
464 B
Nix
29 lines
464 B
Nix
{
|
|
lib,
|
|
helpers,
|
|
...
|
|
}:
|
|
helpers.neovim-plugin.mkNeovimPlugin {
|
|
name = "smart-splits";
|
|
packPathName = "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"
|
|
];
|
|
};
|
|
}
|