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