mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-02-23 20:12:00 +00:00
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I74a6143d8d667410e20759114f3bfbc86a6a6964
20 lines
371 B
Nix
20 lines
371 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
|
|
cfg = config.vim.visuals.nvim-web-devicons;
|
|
in {
|
|
config = mkIf cfg.enable {
|
|
vim = {
|
|
lazy.plugins.nvim-web-devicons = {
|
|
package = "nvim-web-devicons";
|
|
setupModule = "nvim-web-devicons";
|
|
event = ["DeferredUIEnter"];
|
|
inherit (cfg) setupOpts;
|
|
};
|
|
};
|
|
};
|
|
}
|