mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 17:03:31 +02:00
24 lines
450 B
Nix
24 lines
450 B
Nix
|
{
|
||
|
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"];
|
||
|
};
|
||
|
}
|