diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-05-19 16:07:05 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-05-19 16:07:12 +0800 |
commit | 98f234842eca12334c5668d7a3511a068ed528d2 (patch) | |
tree | 0bcce2e75842cf16263f96886494915f29eabba7 /script/vm | |
parent | da6cee5ab4a06cbdd4d4d3b23ac7a43726459033 (diff) | |
download | lua-language-server-98f234842eca12334c5668d7a3511a068ed528d2.zip |
update
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/getLibrary.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/vm/getLibrary.lua b/script/vm/getLibrary.lua index b52f7240..16e2bd51 100644 --- a/script/vm/getLibrary.lua +++ b/script/vm/getLibrary.lua @@ -2,6 +2,9 @@ local vm = require 'vm.vm' function vm.getLibraryName(source, deep) + if source.special then + return source.special + end local defs = vm.getDefs(source, deep) for _, def in ipairs(defs) do if def.special then |