neovim-flake/modules/plugins/utility/icon-picker/config.nix

26 lines
458 B
Nix
Raw Normal View History

{
config,
lib,
...
}: let
2024-03-24 01:14:39 +01:00
inherit (lib.modules) mkIf;
cfg = config.vim.utility.icon-picker;
in {
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;
};
2024-09-30 21:59:10 +02:00
cmd = ["IconPickerInsert" "IconPickerNormal" "IconPickerYank"];
}
];
};
}