diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-18 16:37:56 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-18 16:37:56 +0800 |
commit | 9d955bee3c8471ecb2babc63be4794118890af14 (patch) | |
tree | 2e8f72701fe3a4655414b24f75a6c1fffe6ab4f4 /script/workspace/require-path.lua | |
parent | 69c0e4c50101ee29ac1459897495d4c1219bb8c8 (diff) | |
download | lua-language-server-9d955bee3c8471ecb2babc63be4794118890af14.zip |
no longer ignore file names case in Windows
Diffstat (limited to 'script/workspace/require-path.lua')
-rw-r--r-- | script/workspace/require-path.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/require-path.lua b/script/workspace/require-path.lua index 8e5b67dc..096b7f75 100644 --- a/script/workspace/require-path.lua +++ b/script/workspace/require-path.lua @@ -18,7 +18,7 @@ local function getOnePath(path, searcher) for pos = start, #stemPath do local word = stemPath:sub(start, pos) local newSearcher = stemSearcher:gsub('%?', (word:gsub('%%', '%%%%'))) - if files.eq(newSearcher, stemPath) then + if newSearcher == stemPath then return word end end |