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/core/code-action.lua | |
parent | 9cd44e1b61fa8f002b211224e0141812a8fc97e6 (diff) | |
download | lua-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.lua | 7 |
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 |