Improve user feedback for big directories (#223)

This commit is contained in:
Janis-Leuenberger
2021-05-27 08:28:58 +02:00
committed by GitHub
parent f1a4bf8218
commit 1394c53dbc
3 changed files with 12 additions and 6 deletions
+4 -5
View File
@@ -173,11 +173,10 @@ local function project_scan_thread()
if entries_count > config.max_project_files then
core.project_files_limit = true
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. "..
"Either tweak this variable, or ignore certain files/directories by "..
"using the config.ignore_files variable in your user plugin or "..
"project config.")
"Too many files in project directory: stopped reading at "..
config.max_project_files.." files. For more information see "..
"usage.md at github.com/franko/lite-xl."
)
end
dir.files = t
core.redraw = true