diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-09 22:26:38 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-09 22:26:38 +0800 |
commit | e3637203957ba1ed9b4949bb5e1550c5dea6955e (patch) | |
tree | f07216a5ac4ac335929bccd2403d1a9829fe128a /script-beta/vm/eachDef.lua | |
parent | 7eccb5fd20db8f4d983a0426fe6f852559d22921 (diff) | |
download | lua-language-server-e3637203957ba1ed9b4949bb5e1550c5dea6955e.zip |
封装一下 guide.getUri
Diffstat (limited to 'script-beta/vm/eachDef.lua')
-rw-r--r-- | script-beta/vm/eachDef.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/eachDef.lua b/script-beta/vm/eachDef.lua index e251cda5..e1d964ee 100644 --- a/script-beta/vm/eachDef.lua +++ b/script-beta/vm/eachDef.lua @@ -18,7 +18,7 @@ function m.eachDef(source, results) local clock = os.clock() local myResults, count = guide.requestDefinition(source, vm.interface) if DEVELOP and os.clock() - clock > 0.1 then - log.warn('requestDefinition', count, os.clock() - clock, guide.getRoot(source).uri, util.dump(source, { deep = 1 })) + log.warn('requestDefinition', count, os.clock() - clock, guide.getUri(source), util.dump(source, { deep = 1 })) end vm.mergeResults(results, myResults) |