olimorris / neotest-phpunit

🧪 Neotest adapter for PHPUnit
MIT License
29 stars 22 forks source link

Ignoring non test files to avoid TS processing #21

Closed cgimenes closed 6 months ago

cgimenes commented 6 months ago

I don't know why, but neotest runs this method every time I open a file.

I'm using lazy to lazy-load neotest, but after it gets loaded, I see a very noticeable slowness whenever I open a file that wasn't in a buffer.

I'm pretty sure this is a neotest issue, but I couldn't figure it out where the problem is in their codebase, that's why I'm opening this PR here. Maybe it will help someone else too.

olimorris commented 6 months ago

Thanks for this. Might be worth raising this upstream too.