From e3b50c1af79dac4892cc0a4725c39da187142cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 18 Aug 2021 14:41:25 +0800 Subject: #638 literal of `package.config` --- meta/template/package.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'meta/template/package.lua') 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 = {} -- cgit v1.2.3