2023-02-05 20:57:19 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
2023-11-07 00:50:27 +00:00
|
|
|
}: let
|
2024-03-24 00:14:39 +00:00
|
|
|
inherit (lib.modules) mkIf;
|
|
|
|
inherit (lib.nvim.dag) entryAnywhere;
|
2023-11-07 00:50:27 +00:00
|
|
|
|
2023-02-05 20:57:19 +00:00
|
|
|
cfg = config.vim.utility.icon-picker;
|
|
|
|
in {
|
2024-07-08 21:57:58 +00:00
|
|
|
config = mkIf cfg.enable {
|
2023-02-05 20:57:19 +00:00
|
|
|
vim.startPlugins = [
|
|
|
|
"icon-picker-nvim"
|
|
|
|
"dressing-nvim"
|
|
|
|
];
|
|
|
|
|
2024-07-20 08:30:48 +00:00
|
|
|
vim.pluginRC.icon-picker = entryAnywhere ''
|
2023-02-05 20:57:19 +00:00
|
|
|
require("icon-picker").setup({
|
|
|
|
disable_legacy_commands = true
|
|
|
|
})
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|