summaryrefslogtreecommitdiff
path: root/make/bootstrap.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-10-15 17:03:34 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-10-15 17:03:34 +0800
commit37b37f1db4f864c5e4d72c6c358b8d8b569b9b71 (patch)
tree6646201c42669e5a093bfed563e45e7f08d503a6 /make/bootstrap.lua
parentf1b72e5eadb8571cf82049f804fd98c96f14a892 (diff)
downloadlua-language-server-37b37f1db4f864c5e4d72c6c358b8d8b569b9b71.zip
respect `package.path`
Diffstat (limited to 'make/bootstrap.lua')
-rw-r--r--make/bootstrap.lua1
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))