mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-09 02:15:58 +01:00
25 lines
458 B
Nix
25 lines
458 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 = [
|
|
{
|
|
package = "icon-picker-nvim";
|
|
setupModule = "icon-picker";
|
|
setupOpts = {
|
|
disable_legacy_commands = true;
|
|
};
|
|
|
|
cmd = ["IconPickerInsert" "IconPickerNormal" "IconPickerYank"];
|
|
}
|
|
];
|
|
};
|
|
}
|