From 4f2e91dad259b6559cec651b10718e1a19352fc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 20 Nov 2020 21:44:57 +0800 Subject: use meta instead of library --- script-beta/core/code-action.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'script-beta/core/code-action.lua') diff --git a/script-beta/core/code-action.lua b/script-beta/core/code-action.lua index 0c77ea4f..69304f98 100644 --- a/script-beta/core/code-action.lua +++ b/script-beta/core/code-action.lua @@ -2,7 +2,6 @@ local files = require 'files' local lang = require 'language' local define = require 'proto.define' local guide = require 'parser.guide' -local library = require 'library' local util = require 'utility' local sp = require 'bee.subprocess' @@ -76,11 +75,7 @@ local function solveUndefinedGlobal(uri, diag, results) local name = guide.getName(source) markGlobal(uri, name, results) - if library.other[name] then - for _, version in ipairs(library.other[name]) do - changeVersion(uri, version, results) - end - end + -- TODO check other version end) end -- cgit v1.2.3