modules/performance: add ability to byte compile nvim runtime directory

This commit adds `performance.byteCompileLua.nvimRuntime` toggle that,
if enabled, byte compiles all lua files in Nvim runtime directory.
This commit is contained in:
Stanislav Asunkin 2024-07-17 22:26:06 +03:00 committed by GaetanLepage
parent 55ca9d235b
commit 9314cd46f0
3 changed files with 59 additions and 1 deletions

View file

@ -21,6 +21,9 @@ in
plugins = lib.mkEnableOption "plugins" // {
description = "Whether to byte compile lua plugins.";
};
nvimRuntime = lib.mkEnableOption "nvimRuntime" // {
description = "Whether to byte compile lua files in Nvim runtime.";
};
};
combinePlugins = {