nvim-neotest / neotest

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

Update README.md to include treesitter dependency #325

Closed Wayfarer98 closed 9 months ago

Wayfarer98 commented 10 months ago

Tests might not be found if treesitter is not added as a direct dependency to neotest. Most distros fixed this themselves, but the documentation in neotest would be an improvement.

rcarriga commented 9 months ago

This wasn't documented because it is not a dependency if adapters don't require it, however I believe most adapters do use treesitter so I understand the need :smile:

sunzoje commented 9 months ago

Is nvim-treesitter still a dependency after #298?

rcarriga commented 9 months ago

No you can use neotest without treesitter, however most adapters use treesitter parsers and the majority of users will be using nvim-treesitter to install them.