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.
This commit is contained in:
Adam
2021-05-05 16:00:17 +02:00
committed by GitHub
parent 9f7f55926b
commit 135dfa6f03
+4 -1
View File
@@ -171,7 +171,10 @@ local function project_scan_thread()
if entries_count > config.max_project_files then if entries_count > config.max_project_files then
core.status_view:show_message("!", style.accent, core.status_view:show_message("!", style.accent,
"Too many files in project directory: stopping reading at ".. "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 end
dir.files = t dir.files = t
core.redraw = true core.redraw = true