summaryrefslogtreecommitdiff
path: root/script/vm/doc.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-07 02:14:49 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-07 02:14:49 +0800
commit3e2948e1480659d7c29f9d701e378330c08b238f (patch)
tree897356bf814adf07642409741b1b55f5cb02a3f2 /script/vm/doc.lua
parent55b423dbeabb6f04dc5429b362c7cb1f770dac93 (diff)
downloadlua-language-server-3e2948e1480659d7c29f9d701e378330c08b238f.zip
update
Diffstat (limited to 'script/vm/doc.lua')
-rw-r--r--script/vm/doc.lua17
1 files changed, 0 insertions, 17 deletions
diff --git a/script/vm/doc.lua b/script/vm/doc.lua
index 35750211..e52712d2 100644
--- a/script/vm/doc.lua
+++ b/script/vm/doc.lua
@@ -23,23 +23,6 @@ function vm.getDocSets(suri, name)
end
end
-function vm.getDocEnums(doc)
- if not doc then
- return nil
- end
- local defs = vm.getDefs(doc)
- local results = {}
-
- for _, def in ipairs(defs) do
- if def.type == 'doc.type.string'
- or def.type == 'doc.type.integer' then
- results[#results+1] = def
- end
- end
-
- return results
-end
-
function vm.isMetaFile(uri)
local status = files.getState(uri)
if not status then