mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-11 01:59:49 +01:00
a26cdd2d25
* flake: add nvim-ufo * ui/nvim-ufo: init * docs: update relase notes
20 lines
328 B
Nix
20 lines
328 B
Nix
{
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
}
|