aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* feat(tests)!: new infrastructure based on makefileChristian Clason2025-05-121-16/+10
| | | | | | | | | | | | | | | | | | | | | | Problem: Not easy to run all checks and tests locally. Redundant CI workflows. Solution: Separate CI into two workflows: * lint: Lua files (stylua, luals), query files (valid captures, predicates, directives using tsqueryls), docs (SUPPORTED_LANGUAGES.md) -- does not need parser installation * tests: parsers (ABI compatibility), query files (tsqueryls on Linux/macOS; nvim on Windows), highlight and indent tests (separated for better readability) -- needs parser installation (but only once) Switch to https://github.com/nvim-treesitter/highlight-assertions fork with ABI 15 support. Run all tests (on Linux and macOS) through `make` (`formatlua`, `checklua`, `lintquery`, `formatquery`, `checkquery`, `docs`, `tests`), which downloads and caches all necessary dependencies. Remove `update-readme` workflow (replaced by lint job on PRs).
* fix!: indents now rely on treesitter highlightPham Huy Hoang2025-05-121-40/+23
| | | | | - Apply suggestions from Lewis to only parse visible lines - Fix failed tests
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-121-23/+24
|
* test: fix tests broken after 0.10 update (#6714)Riley Bruins2024-06-011-5/+7
|
* fix(haskell): update queries and tests for rewritten parser (#6580)Marc Jakobi2024-05-071-0/+1
|
* properly replace deprecated tsutils functionsKiyoon Kim2023-02-121-2/+2
|
* highlights(rust): use `@namespace` for `[(crate) (self) (super)]`Stephan Seitz2023-01-011-15/+33
| | | | Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/3992
* feat!: remove obsolete `TS*` highlight groupsChristian Clason2022-10-161-3/+1
|
* fix(test): update tests to Nvim 0.8Christian Clason2022-10-021-3/+3
|
* tests: use main parsers instead of nvim-treesitter parser for testsStephan Seitz2022-01-291-6/+2
|
* fix(ci): make highlight test working with markdownStephan Seitz2022-01-161-1/+15
|
* Add assert that "highlight-assertions" is executableStephan Seitz2021-11-241-0/+6
|
* Add highlight testsStephan Seitz2021-11-241-0/+90