mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
26 lines
473 B
Nix
26 lines
473 B
Nix
|
{ lib, pkgs, ... }:
|
||
|
lib.nixvim.plugins.mkVimPlugin {
|
||
|
name = "vimux";
|
||
|
globalPrefix = "Vimux";
|
||
|
|
||
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
||
|
|
||
|
extraOptions = {
|
||
|
tmuxPackage = lib.mkPackageOption pkgs "tmux" {
|
||
|
nullable = true;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
extraConfig = cfg: {
|
||
|
extraPackages = [ cfg.tmuxPackage ];
|
||
|
};
|
||
|
|
||
|
settingsOptions = import ./settings-options.nix lib;
|
||
|
|
||
|
settingsExample = {
|
||
|
Height = "25";
|
||
|
Orientation = "h";
|
||
|
UseNearest = 0;
|
||
|
};
|
||
|
}
|