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: I61177a580ef1be42f9129a19efd8fad26a6a6964
22 lines
420 B
Nix
22 lines
420 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
|
|
cfg = config.vim.visuals.nvim-web-devicons;
|
|
in {
|
|
config = mkIf cfg.enable {
|
|
vim = {
|
|
startPlugins = ["nvim-web-devicons"];
|
|
|
|
vim.lazy.plugins.icon-picker-nvim = {
|
|
package = "nvim-web-devicons";
|
|
setupModule = "nvim-web-deviconsr";
|
|
event = ["DeferredUIEnter"];
|
|
inherit (cfg) setupOpts;
|
|
};
|
|
};
|
|
};
|
|
}
|