Heavy lag because of permissive file match
todotreeview-xl starts lagging heavily when it tries to read huge folders like the Java LSP server jdtls's config folder (.jdtls).
I solved it for now by using table.insert(config.ignore_files, ".jdtls/") in the .lite_project.lua file, but I wonder if there should be an additional filtering step for heavy folders in the plugin itself.
The issue here is for most projects you want to parse the big folders if they are relevant to you. So the solution should not be to ignore them by default.
That's part of the reason I added the ignore_paths variable to be able to ignore what doesn't matter.
What people usually want to ignore are vendor or third party folders in their projects, configuration files from .git, .jdtls and others like that. Maybe the way is to add these as ignored by default.
You're right, so I'll make a list of the most common/biggest config folders and make a PR to add them by default.