Add neotest jump last #549
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I often find myself wanting to jump back to the test that was last run. I could add a mark but I forget sometimes.
Other fixes:
ubuntu-20.04
is deprecated which caused the docgen workflow to not run. Therefore this PR will include unrelated documentation updates.nvim_create_autocmd
invim.schedule
as it triggers thecannot be called in a fast event
occasionally.---
docstring description ofneotest.jump.prev
as the docgen script doesn't seem to parse it otherwise.The docgen workflow is still failing withE5113: Error while calling lua chunk: ./scripts/gendocs.lua:4: module 'neotest.utils' not found:
. I'll look into that. The workflow is also using a very old version of neovim (v0.5.1), not sure if that is intentional or it should be updated.I think I fixed it now by adding
nvim-nio
, upgrading tov0.9.1
, and symlinkingneotest
into~/.local/share/nvim/site/pack/vendor/start/neotest
but now the last step is failing with a 403. Might be some permissions in the neotest repo that need to be updated or it might not be able to run in PRs but on the main repo.