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 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:
parent
55ca9d235b
commit
9314cd46f0
3 changed files with 59 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue