mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-23 04:05:06 +02:00
modules/performance: add combinePlugins.standalonePlugins
option
This commit is contained in:
parent
d6bebcefa3
commit
e65c9590d0
3 changed files with 94 additions and 8 deletions
|
@ -10,7 +10,8 @@ in
|
|||
Whether to enable EXPERIMENTAL option to combine all plugins
|
||||
into a single plugin pack. It can significantly reduce startup time,
|
||||
but all your plugins must have unique filenames and doc tags.
|
||||
Any collision will result in a build failure.
|
||||
Any collision will result in a build failure. To avoid collisions
|
||||
you can add your plugin to the `standalonePlugins` option.
|
||||
Only standard neovim runtime directories are linked to the combined plugin.
|
||||
If some of your plugins contain important files outside of standard
|
||||
directories, add these paths to `pathsToLink` option.
|
||||
|
@ -22,6 +23,12 @@ in
|
|||
example = [ "/data" ];
|
||||
description = "List of paths to link into a combined plugin pack.";
|
||||
};
|
||||
standalonePlugins = lib.mkOption {
|
||||
type = with types; listOf (either str package);
|
||||
default = [ ];
|
||||
example = [ "nvim-treesitter" ];
|
||||
description = "List of plugins (names or packages) to exclude from plugin pack.";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue