TOOLS/lua/autoload.lua: ignores all files starting with "."

This commit is contained in:
Yue Zhu 2017-05-13 01:16:45 -04:00 committed by wm4
parent 7840125e22
commit 8a7614a0fb
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@ function find_and_add_entries()
return
end
table.filter(files, function (v, k)
if string.match(v, "^%.") then
return false
end
local ext = get_extension(v)
if ext == nil then
return false