mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-23 22:00:42 +00:00
24 lines
381 B
Nix
24 lines
381 B
Nix
|
{
|
||
|
pkgs,
|
||
|
config,
|
||
|
lib,
|
||
|
...
|
||
|
}:
|
||
|
with lib;
|
||
|
with builtins; let
|
||
|
cfg = config.vim.utility.icon-picker;
|
||
|
in {
|
||
|
config = mkIf (cfg.enable) {
|
||
|
vim.startPlugins = [
|
||
|
"icon-picker-nvim"
|
||
|
"dressing-nvim"
|
||
|
];
|
||
|
|
||
|
vim.luaConfigRC.icon-picker = nvim.dag.entryAnywhere ''
|
||
|
require("icon-picker").setup({
|
||
|
disable_legacy_commands = true
|
||
|
})
|
||
|
'';
|
||
|
};
|
||
|
}
|