fix: don't include Lua wrapper
It's not required and unncessary
This commit is contained in:
parent
d6c2ca4d6e
commit
7d62e435c3
1 changed files with 26 additions and 28 deletions
54
flake.nix
54
flake.nix
|
@ -89,36 +89,34 @@
|
||||||
in {
|
in {
|
||||||
runtime.version = "LuaJIT";
|
runtime.version = "LuaJIT";
|
||||||
runtime.path = ["?.lua" "?/init.lua"];
|
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;
|
++ plugin-luadirs
|
||||||
workspace = {
|
++ pkg-libdirs
|
||||||
library =
|
++ pkg-sharedirs
|
||||||
[
|
++ (lib.optional (meta.luvit or false) "${luvit-meta}/library");
|
||||||
"${nvim}/share/nvim/runtime/lua"
|
ignoreDir = [
|
||||||
"\${3rd}/busted/library"
|
".git"
|
||||||
"\${3rd}/luassert/library"
|
".github"
|
||||||
]
|
".direnv"
|
||||||
++ plugin-luadirs
|
"result"
|
||||||
++ pkg-libdirs
|
"nix"
|
||||||
++ pkg-sharedirs
|
"doc"
|
||||||
++ (lib.optional (meta.luvit or false) "${luvit-meta}/library");
|
];
|
||||||
ignoreDir = [
|
};
|
||||||
".git"
|
diagnostics = {
|
||||||
".github"
|
libraryFiles = "Disable";
|
||||||
".direnv"
|
disable = disabled-diagnostics;
|
||||||
"result"
|
|
||||||
"nix"
|
|
||||||
"doc"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
diagnostics = {
|
|
||||||
libraryFiles = "Disable";
|
|
||||||
disable = disabled-diagnostics;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
luarc-to-json = luarc:
|
luarc-to-json = luarc:
|
||||||
|
|
Loading…
Reference in a new issue