fix: don't include Lua wrapper

It's not required and unncessary
This commit is contained in:
punkfairie 2024-12-09 20:55:01 -08:00
parent d6c2ca4d6e
commit 7d62e435c3
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

View file

@ -89,36 +89,34 @@
in {
runtime.version = "LuaJIT";
runtime.path = ["?.lua" "?/init.lua"];
Lua = {
globals =
globals =
[
"vim"
]
++ globals;
workspace = {
library =
[
"vim"
"${nvim}/share/nvim/runtime/lua"
"\${3rd}/busted/library"
"\${3rd}/luassert/library"
]
++ globals;
workspace = {
library =
[
"${nvim}/share/nvim/runtime/lua"
"\${3rd}/busted/library"
"\${3rd}/luassert/library"
]
++ plugin-luadirs
++ pkg-libdirs
++ pkg-sharedirs
++ (lib.optional (meta.luvit or false) "${luvit-meta}/library");
ignoreDir = [
".git"
".github"
".direnv"
"result"
"nix"
"doc"
];
};
diagnostics = {
libraryFiles = "Disable";
disable = disabled-diagnostics;
};
++ plugin-luadirs
++ pkg-libdirs
++ pkg-sharedirs
++ (lib.optional (meta.luvit or false) "${luvit-meta}/library");
ignoreDir = [
".git"
".github"
".direnv"
"result"
"nix"
"doc"
];
};
diagnostics = {
libraryFiles = "Disable";
disable = disabled-diagnostics;
};
};
luarc-to-json = luarc: