treewide: update lazy.plugins syntax

This commit is contained in:
Pei Yang Ching 2024-10-17 17:17:18 +02:00
commit d49e46ab16
13 changed files with 262 additions and 286 deletions

View file

@ -10,16 +10,14 @@ in {
config = mkIf cfg.enable {
vim.startPlugins = ["dressing-nvim"];
vim.lazy.plugins = [
{
package = "icon-picker-nvim";
setupModule = "icon-picker";
setupOpts = {
disable_legacy_commands = true;
};
vim.lazy.plugins.icon-picker-nvim = {
package = "icon-picker-nvim";
setupModule = "icon-picker";
setupOpts = {
disable_legacy_commands = true;
};
cmd = ["IconPickerInsert" "IconPickerNormal" "IconPickerYank"];
}
];
cmd = ["IconPickerInsert" "IconPickerNormal" "IconPickerYank"];
};
};
}