From b8bda8006b6f21adc0cfdad5e2826a51390f8c89 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Sat, 27 Nov 2021 13:16:49 -0500 Subject: [PATCH] Used basenames for ignore_files rather than full paths. --- data/core/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/core/init.lua b/data/core/init.lua index 2fa4454f..00b72a65 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -100,7 +100,7 @@ local function get_project_file_info(root, file) if info then info.filename = strip_leading_path(file) return (info.size < config.file_size_limit * 1e6 and - not common.match_pattern(info.filename, config.ignore_files) + not common.match_pattern(common.basename(info.filename), config.ignore_files) and info) end end