mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-02 19:41:15 +00:00
24 lines
447 B
Nix
24 lines
447 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
|
|
cfg = config.vim.utility.icon-picker;
|
|
in {
|
|
config = mkIf cfg.enable {
|
|
vim.startPlugins = ["dressing-nvim"];
|
|
|
|
vim.lazy.plugins.icon-picker-nvim = {
|
|
package = "icon-picker-nvim";
|
|
setupModule = "icon-picker";
|
|
setupOpts = {
|
|
disable_legacy_commands = true;
|
|
};
|
|
|
|
cmd = ["IconPickerInsert" "IconPickerNormal" "IconPickerYank"];
|
|
};
|
|
};
|
|
}
|