about summary refs log tree commit diff stats
path: root/modules/by-name/nv/nvim/performance/default.nix
blob: a392a6723429ae2c48575803aed290c9720be280 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  config,
  lib,
  ...
}: let
  cfg = config.soispha.programs.nvim;
in {
  home-manager.users.soispha.programs.nixvim = lib.mkIf cfg.enable {
    performance = {
      combinePlugins = {
        enable = true;
      };

      byteCompileLua = {
        enable = true;
        configs = true;
        initLua = true;
        luaLib = true;
        nvimRuntime = true;
        plugins = true;
      };
    };
  };
}