mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-15 10:05:59 +01:00
23 lines
410 B
Nix
23 lines
410 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
inherit (lib.nvim.dag) entryAnywhere;
|
|
|
|
cfg = config.vim.utility.icon-picker;
|
|
in {
|
|
config = mkIf (cfg.enable) {
|
|
vim.startPlugins = [
|
|
"icon-picker-nvim"
|
|
"dressing-nvim"
|
|
];
|
|
|
|
vim.luaConfigRC.icon-picker = entryAnywhere ''
|
|
require("icon-picker").setup({
|
|
disable_legacy_commands = true
|
|
})
|
|
'';
|
|
};
|
|
}
|