nvf/modules/plugins/utility/icon-picker/config.nix

24 lines
447 B
Nix
Raw Normal View History

{
config,
lib,
...
}: let
2024-03-24 00:14:39 +00:00
inherit (lib.modules) mkIf;
cfg = config.vim.utility.icon-picker;
in {
config = mkIf cfg.enable {
2024-09-30 19:59:10 +00:00
vim.startPlugins = ["dressing-nvim"];
2024-10-17 15:17:18 +00:00
vim.lazy.plugins.icon-picker-nvim = {
package = "icon-picker-nvim";
setupModule = "icon-picker";
setupOpts = {
disable_legacy_commands = true;
};
2024-10-17 15:17:18 +00:00
cmd = ["IconPickerInsert" "IconPickerNormal" "IconPickerYank"];
};
};
}