mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-02-24 04:15:18 +00:00
visuals/nvim-web-devicons: bump version; lazyload on DeferredUIEnter
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I61177a580ef1be42f9129a19efd8fad26a6a6964
This commit is contained in:
parent
0dc687c6b3
commit
325eae4a75
3 changed files with 23 additions and 22 deletions
|
|
@ -4,8 +4,6 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit (lib.nvim.lua) toLuaObject;
|
||||
inherit (lib.nvim.dag) entryAnywhere;
|
||||
|
||||
cfg = config.vim.visuals.nvim-web-devicons;
|
||||
in {
|
||||
|
|
@ -13,9 +11,12 @@ in {
|
|||
vim = {
|
||||
startPlugins = ["nvim-web-devicons"];
|
||||
|
||||
pluginRC.nvim-web-devicons = entryAnywhere ''
|
||||
require("nvim-web-devicons").setup(${toLuaObject cfg.setupOpts})
|
||||
'';
|
||||
vim.lazy.plugins.icon-picker-nvim = {
|
||||
package = "nvim-web-devicons";
|
||||
setupModule = "nvim-web-deviconsr";
|
||||
event = ["DeferredUIEnter"];
|
||||
inherit (cfg) setupOpts;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue