diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-10-15 17:03:34 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-10-15 17:03:34 +0800 |
commit | 37b37f1db4f864c5e4d72c6c358b8d8b569b9b71 (patch) | |
tree | 6646201c42669e5a093bfed563e45e7f08d503a6 /make/bootstrap.lua | |
parent | f1b72e5eadb8571cf82049f804fd98c96f14a892 (diff) | |
download | lua-language-server-37b37f1db4f864c5e4d72c6c358b8d8b569b9b71.zip |
respect `package.path`
Diffstat (limited to 'make/bootstrap.lua')
-rw-r--r-- | make/bootstrap.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/make/bootstrap.lua b/make/bootstrap.lua index f01646a0..5d05de7e 100644 --- a/make/bootstrap.lua +++ b/make/bootstrap.lua @@ -55,6 +55,7 @@ local root; do end
package.path = table.concat({
+ package.path,
root .. "/script/?.lua",
root .. "/script/?/init.lua",
}, ";"):gsub('/', package.config:sub(1,1))
|