summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-18 16:37:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-18 16:37:56 +0800
commit9d955bee3c8471ecb2babc63be4794118890af14 (patch)
tree2e8f72701fe3a4655414b24f75a6c1fffe6ab4f4 /script/vm
parent69c0e4c50101ee29ac1459897495d4c1219bb8c8 (diff)
downloadlua-language-server-9d955bee3c8471ecb2babc63be4794118890af14.zip
no longer ignore file names case in Windows
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/getLinks.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/script/vm/getLinks.lua b/script/vm/getLinks.lua
index 245b6919..8df79dca 100644
--- a/script/vm/getLinks.lua
+++ b/script/vm/getLinks.lua
@@ -23,7 +23,6 @@ local function getFileLinks(uri)
end
local uris = ws.findUrisByRequirePath(args[1][1])
for _, u in ipairs(uris) do
- u = files.asKey(u)
if not links[u] then
links[u] = {}
end
@@ -41,7 +40,6 @@ local function getFileLinksOrCache(uri)
end
local function getLinksTo(uri)
- uri = files.asKey(uri)
local links = {}
for u in files.eachFile() do
local ls = getFileLinksOrCache(u)