diff options
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/doc.lua | 17 |
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 |