mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
16 lines
324 B
Nix
16 lines
324 B
Nix
|
{ pkgs, config, lib, ... }:
|
||
|
with lib;
|
||
|
let cfg = config.programs.nixvim.plugins.lualine;
|
||
|
in {
|
||
|
options = {
|
||
|
programs.nixvim.plugins.lualine = {
|
||
|
enable = mkEnableOption "Enable airline";
|
||
|
};
|
||
|
};
|
||
|
if mkIf cfg.enable {
|
||
|
programs.nixvim = {
|
||
|
extraPlugins = with pkgs.vimPlugins.lualine-nvim;
|
||
|
};
|
||
|
};
|
||
|
}
|