2023-02-05 21:57:19 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
2023-11-07 01:50:27 +01:00
|
|
|
}: let
|
2024-03-24 01:14:39 +01:00
|
|
|
inherit (lib.modules) mkIf;
|
2023-11-07 01:50:27 +01:00
|
|
|
|
2023-02-05 21:57:19 +01:00
|
|
|
cfg = config.vim.utility.icon-picker;
|
|
|
|
in {
|
2024-07-08 23:57:58 +02:00
|
|
|
config = mkIf cfg.enable {
|
2024-09-30 21:59:10 +02:00
|
|
|
vim.startPlugins = ["dressing-nvim"];
|
|
|
|
|
|
|
|
vim.lazy.plugins = [
|
|
|
|
{
|
|
|
|
package = "icon-picker-nvim";
|
|
|
|
setupModule = "icon-picker";
|
|
|
|
setupOpts = {
|
|
|
|
disable_legacy_commands = true;
|
|
|
|
};
|
2023-02-05 21:57:19 +01:00
|
|
|
|
2024-09-30 21:59:10 +02:00
|
|
|
cmd = ["IconPickerInsert" "IconPickerNormal" "IconPickerYank"];
|
|
|
|
}
|
|
|
|
];
|
2023-02-05 21:57:19 +01:00
|
|
|
};
|
|
|
|
}
|