diff --git a/flake.nix b/flake.nix index cac3a07..676b1e7 100644 --- a/flake.nix +++ b/flake.nix @@ -71,6 +71,7 @@ }, lua-version ? "5.1", disabled-diagnostics ? [], + globals ? [], }: let pluginPackages = map (x: x.plugin or x) @@ -88,9 +89,11 @@ in { runtime.version = "LuaJIT"; Lua = { - globals = [ - "vim" - ]; + globals = + [ + "vim" + ] + ++ globals; workspace = { library = [