diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-20 21:44:57 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-20 21:44:57 +0800 |
commit | 4f2e91dad259b6559cec651b10718e1a19352fc3 (patch) | |
tree | 581b8bdc73440ded32db5cb0a1a191a02fa64372 /script-beta/vm/getClass.lua | |
parent | 9cd44e1b61fa8f002b211224e0141812a8fc97e6 (diff) | |
download | lua-language-server-4f2e91dad259b6559cec651b10718e1a19352fc3.zip |
use meta instead of library
Diffstat (limited to 'script-beta/vm/getClass.lua')
-rw-r--r-- | script-beta/vm/getClass.lua | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/script-beta/vm/getClass.lua b/script-beta/vm/getClass.lua index 1623090c..a8bd7e40 100644 --- a/script-beta/vm/getClass.lua +++ b/script-beta/vm/getClass.lua @@ -12,15 +12,6 @@ local function lookUpDocClass(source) end local function getClass(source, classes, depth, deep) - local lib = vm.getLibrary(source, deep) - if lib then - if lib.value.type == 'table' then - classes[#classes+1] = lib.value.name - else - classes[#classes+1] = lib.value.type - end - return - end local docClass = lookUpDocClass(source) if docClass then classes[#classes+1] = docClass |