mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-14 17:35:31 +00:00
ufo: init
This commit is contained in:
parent
343bc09d72
commit
f7c4f8b787
4 changed files with 36 additions and 0 deletions
20
modules/plugins/ui/nvim-ufo/config.nix
Normal file
20
modules/plugins/ui/nvim-ufo/config.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue