summaryrefslogtreecommitdiff
path: root/script/vm/ref.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-26 16:41:27 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-26 16:41:27 +0800
commitefbd5902ba2d757e9a74342ae7a3dd290464850c (patch)
tree3cb4c37e90bbab3853d0887159db30e3f6bd4d79 /script/vm/ref.lua
parenta7a37c564f0b584b993eaec4c3dd164abdbd543f (diff)
downloadlua-language-server-efbd5902ba2d757e9a74342ae7a3dd290464850c.zip
cleanup
Diffstat (limited to 'script/vm/ref.lua')
-rw-r--r--script/vm/ref.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/script/vm/ref.lua b/script/vm/ref.lua
index 714d3ccd..545c294a 100644
--- a/script/vm/ref.lua
+++ b/script/vm/ref.lua
@@ -2,7 +2,6 @@
local vm = require 'vm.vm'
local util = require 'utility'
local guide = require 'parser.guide'
-local localID = require 'vm.local-id'
local files = require 'files'
local await = require 'await'
local progress = require 'progress'
@@ -241,7 +240,7 @@ end
---@param source parser.object
---@param pushResult fun(src: parser.object)
local function searchByLocalID(source, pushResult)
- local idSources = localID.getSources(source)
+ local idSources = vm.getLocalSources(source)
if not idSources then
return
end