nvim-treesitter/tests/README.md
2026-01-30 17:10:46 +01:00

417 B

Quick start (running tests)

  1. To run a particular test file:
make tests TESTS=indent/c_spec.lua
  1. To run all the tests, you will need to install all language parsers. Run make parsers to install them into .test-deps/nvim-{os}-{arch}/share. This could take some time.

Then, to run all query tests:

make tests TESTS=query

To run all indent tests:

make tests TESTS=indent