diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-20 16:28:50 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-20 16:28:50 +0800 |
commit | 99fbc125e4c91ee2f96c6bcca9d6c166e4e98f9c (patch) | |
tree | c458f050037af75b21856b044aba57edb5e2eb07 /server/src/matcher | |
parent | 217d96a4658cd50933b3456b7f452ff26f66b8c9 (diff) | |
download | lua-language-server-99fbc125e4c91ee2f96c6bcca9d6c166e4e98f9c.zip |
搜文件
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 |