diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-14 18:35:53 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-14 18:35:53 +0800 |
commit | b154ddeb48450cdb78a589abf3705d3f9df758d7 (patch) | |
tree | bf52646cb57c454eff71dd25eaad6f2ceb3ec047 /script | |
parent | c9bc6d04bf0acd92e2e84b75de580310ac60f046 (diff) | |
download | lua-language-server-b154ddeb48450cdb78a589abf3705d3f9df758d7.zip |
build source for class
Diffstat (limited to 'script')
-rw-r--r-- | script/provider/build-meta.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/provider/build-meta.lua b/script/provider/build-meta.lua index f0973228..2c4a29c2 100644 --- a/script/provider/build-meta.lua +++ b/script/provider/build-meta.lua @@ -92,6 +92,7 @@ local function buildText(root, class) local lines = {} addComments(lines, class.comment) + lines[#lines+1] = ('---@source %s'):format(class.location:gsub('#', ':')) if class.baseClass == '' then lines[#lines+1] = ('---@class %s'):format(mergeString(class.namespace, class.name)) else |