nvim-neotest / neotest

An extensible framework for interacting with tests within NeoVim.
MIT License
2.13k stars 105 forks source link

feat(watch): allow passing in `run_predicate` that takes a bufnr #358

Closed mrcjkb closed 3 months ago

mrcjkb commented 5 months ago

This is useful e.g. for checking if the buffer has any error diagnostics from the LSP client, in which case one would probably not want to rerun the tests yet.

rcarriga commented 3 months ago

Nice thanks for the PR :smile: