mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
modules/performance: add ability to byte compile extraLuaPackages
This commit adds `performance.byteCompileLua.luaLib` options. When enabled it byte-compiles lua packages from extraLuaPackages option.
This commit is contained in:
parent
fac192c022
commit
404e56066f
3 changed files with 64 additions and 9 deletions
|
@ -57,6 +57,9 @@ in
|
|||
nvimRuntime = lib.mkEnableOption "nvimRuntime" // {
|
||||
description = "Whether to byte compile lua files in Nvim runtime.";
|
||||
};
|
||||
luaLib = lib.mkEnableOption "luaLib" // {
|
||||
description = "Whether to byte compile lua library.";
|
||||
};
|
||||
};
|
||||
|
||||
combinePlugins = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue