mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-02 09:04:54 +02:00
15 lines
324 B
Nix
15 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;
|
|
};
|
|
};
|
|
}
|