feat: allow adding custom globals
This commit is contained in:
parent
39eb7cd853
commit
f809919c3c
1 changed files with 6 additions and 3 deletions
|
@ -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 =
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue