From 135dfa6f038786c191e3a21e1dadf776884f7a14 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 5 May 2021 10:00:17 -0400 Subject: [PATCH] Add a more explicit message in log and config.max_project_files * Added a line to avoid people going down the rabbit hole that I did. * Further explanatory text. --- data/core/init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data/core/init.lua b/data/core/init.lua index 1a1b2b4a..45de4f42 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -171,7 +171,10 @@ local function project_scan_thread() if entries_count > config.max_project_files then core.status_view:show_message("!", style.accent, "Too many files in project directory: stopping reading at ".. - config.max_project_files.." files according to config.max_project_files.") + config.max_project_files.." files according to config.max_project_files. ".. + "Either tweak this variable, or ignore certain files/directories by ".. + "using the config.ignore_files variable in your user plugin or ".. + "project config.") end dir.files = t core.redraw = true