diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-20 01:48:05 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-20 01:48:05 +0800 |
commit | 400f10e96c42b4ef3e42aae2d94de4dce60156c7 (patch) | |
tree | 32be28f10102d22ccbc7b0133dd381553692c5fb /script/workspace | |
parent | 063bc08fe657dddb85861f4d4df31eeb805ae812 (diff) | |
download | lua-language-server-400f10e96c42b4ef3e42aae2d94de4dce60156c7.zip |
1.7.4
Diffstat (limited to 'script/workspace')
-rw-r--r-- | script/workspace/workspace.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua index 76c0ec0a..5f998feb 100644 --- a/script/workspace/workspace.lua +++ b/script/workspace/workspace.lua @@ -35,6 +35,7 @@ function m.init(uri) end local function interfaceFactory(root) + -- TODO: need flush!!! local mark = {} return { type = function (path) @@ -43,7 +44,7 @@ local function interfaceFactory(root) local abspath = fs.absolute(fs.path(root .. '/' .. path)) local abskey = abspath:string():lower() if mark[abskey] then - return nil + --return nil end mark[abskey] = true if fs.is_directory(abspath) then |