summaryrefslogtreecommitdiff
path: root/script-beta/core/code-action.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-20 21:44:57 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-20 21:44:57 +0800
commit4f2e91dad259b6559cec651b10718e1a19352fc3 (patch)
tree581b8bdc73440ded32db5cb0a1a191a02fa64372 /script-beta/core/code-action.lua
parent9cd44e1b61fa8f002b211224e0141812a8fc97e6 (diff)
downloadlua-language-server-4f2e91dad259b6559cec651b10718e1a19352fc3.zip
use meta instead of library
Diffstat (limited to 'script-beta/core/code-action.lua')
-rw-r--r--script-beta/core/code-action.lua7
1 files changed, 1 insertions, 6 deletions
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