summaryrefslogtreecommitdiff
path: root/meta/template/package.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-18 14:41:25 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-18 14:41:25 +0800
commite3b50c1af79dac4892cc0a4725c39da187142cc6 (patch)
treeab68617b3f016e1ca03d7768265093d0a38a155e /meta/template/package.lua
parent8af5147e721f9898242855072199a0d697d5bef2 (diff)
downloadlua-language-server-e3b50c1af79dac4892cc0a4725c39da187142cc6.zip
#638 literal of `package.config`
Diffstat (limited to 'meta/template/package.lua')
-rw-r--r--meta/template/package.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/template/package.lua b/meta/template/package.lua
index 8c18e10b..0b2c8c1b 100644
--- a/meta/template/package.lua
+++ b/meta/template/package.lua
@@ -15,8 +15,6 @@ function require(modname) end
---#DES 'package'
---@class packagelib
----#DES 'package.config'
----@field config string
---#DES 'package.cpath'
---@field cpath string
---#DES 'package.loaded'
@@ -27,6 +25,14 @@ function require(modname) end
---@field preload table
package = {}
+---#DES 'package.config'
+package.config = [[
+/
+;
+?
+!
+-]]
+
---@version <5.1
---#DES 'package.loaders'
package.loaders = {}