fix: filter also supports ext with other characters than words
This commit is contained in:
@@ -142,7 +142,7 @@ local function gen_ignore_check(cwd)
|
|||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
local idx = path:match(".+()%.%w+$")
|
local idx = path:match(".+()%.[^.]+$")
|
||||||
if idx then
|
if idx then
|
||||||
if ignore_list['*'..string.sub(path, idx)] == true then return true end
|
if ignore_list['*'..string.sub(path, idx)] == true then return true end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user