nvim-neotest / neotest

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

Summary mappings #39

Closed cd-a closed 2 years ago

cd-a commented 2 years ago

Could you please provide a quick example of how to use the summary window mappings?

The help file lists a table of mappings but I don't know how to trigger/map them properly.

I've tried lua require("neotest").summary.run() but it doesn't work.

cd-a commented 2 years ago

Nevermind, I found the mappings in :h neotest.setup() :)

prdanelli commented 2 years ago

@dahmc This really helped me, as I was really struggling find the keybindings I needed. An expanded readme would be super useful to those of us who are less familiar with Vim :)

rcarriga commented 2 years ago

I've mentioned neotest.setup() as well in the README so users will easily see defaults. I've also pointed to https://github.com/folke/lua-dev.nvim which will allow users to easily get autocomplete for setup values.

prdanelli commented 2 years ago

@rcarriga thank you for your help and your contributions.