diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-19 16:56:24 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-19 16:56:24 +0800 |
commit | 01270bd5a047f9ec4dc83d34cda5a59980dd39e7 (patch) | |
tree | c7ee6243c6946a8afa8a13b10b3d0b86416c8c93 /script/workspace/workspace.lua | |
parent | 6cf88ae11ac842453cca5936fe6c105076745e55 (diff) | |
download | lua-language-server-01270bd5a047f9ec4dc83d34cda5a59980dd39e7.zip |
fix #804
Diffstat (limited to 'script/workspace/workspace.lua')
-rw-r--r-- | script/workspace/workspace.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua index 5b87b2bb..240596a4 100644 --- a/script/workspace/workspace.lua +++ b/script/workspace/workspace.lua @@ -130,7 +130,7 @@ function m.getNativeMatcher() end end -- config.get 'workspace.ignoreDir' - for path in pairs(config.get 'Lua.workspace.ignoreDir') do + for _, path in ipairs(config.get 'Lua.workspace.ignoreDir') do log.info('Ignore directory:', path) pattern[#pattern+1] = path end |