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 10:00:17 -04:00 committed by GitHub
parent 9f7f55926b
commit 135dfa6f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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