ufo: init

This commit is contained in:
Ching Pei Yang 2025-01-06 12:37:29 +01:00 committed by Ching Pei Yang
commit f7c4f8b787
4 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{
lib,
config,
...
}: let
inherit (lib.modules) mkIf;
cfg = config.vim.ui.nvim-ufo;
in {
config = mkIf cfg.enable {
vim = {
startPlugins = ["promise-async"];
lazy.plugins.nvim-ufo = {
package = "nvim-ufo";
setupModule = "ufo";
inherit (cfg) setupOpts;
};
};
};
}