diff options
Diffstat (limited to 'server/src/matcher')
-rw-r--r-- | server/src/matcher/vm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/matcher/vm.lua b/server/src/matcher/vm.lua index 3a272f3a..c9fe1fd0 100644 --- a/server/src/matcher/vm.lua +++ b/server/src/matcher/vm.lua @@ -1166,7 +1166,7 @@ function mt:loadRequires() if type(str) == 'string' then local uri = self.lsp.workspace:searchPath(str) -- 如果循环require,这里会返回nil - local destVM = self.lsp:loadText(uri) + local destVM = self.lsp:loadVM(uri) if destVM then end end |