diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-13 19:23:09 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-13 19:23:09 +0800 |
commit | b22099c12e001bf81a6d1cf47655e6e815d04391 (patch) | |
tree | 79be562401816f70c831003ab6f7216b4c21350e /script-beta/vm/getLinks.lua | |
parent | 2dacca7b19ba0162975c7f2da2dd5e9381b4a73c (diff) | |
download | lua-language-server-b22099c12e001bf81a6d1cf47655e6e815d04391.zip |
支持自动完成 dofile
Diffstat (limited to 'script-beta/vm/getLinks.lua')
-rw-r--r-- | script-beta/vm/getLinks.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/getLinks.lua b/script-beta/vm/getLinks.lua index cc1ed190..0bb1c6ff 100644 --- a/script-beta/vm/getLinks.lua +++ b/script-beta/vm/getLinks.lua @@ -18,7 +18,7 @@ local function getFileLinks(uri) if not args[1] or args[1].type ~= 'string' then return end - local uris = ws.findUrisByRequirePath(args[1][1], true) + local uris = ws.findUrisByRequirePath(args[1][1]) for _, u in ipairs(uris) do u = files.asKey(u) if not links[u] then |