diff --git a/flake.nix b/flake.nix index 9a2ba5a..8642c1d 100644 --- a/flake.nix +++ b/flake.nix @@ -72,6 +72,7 @@ lua-version ? "5.1", disabled-diagnostics ? [], globals ? [], + runtimePath ? ["?.lua" "?/init.lua"], }: let pluginPackages = map (x: x.plugin or x) @@ -88,7 +89,7 @@ pkg-sharedirs = builtins.map (pkg: "${pkg}/share/lua/${lua-version}") rocks; in { runtime.version = "LuaJIT"; - runtime.path = ["?.lua" "?/init.lua"]; + runtime.path = runtimePath; globals = [ "vim"