aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* feat(indent): support `@aligned_indent` for pythonMunif Tanjim2022-01-212-9/+9
|
* feat: rewrite indent moduleMunif Tanjim2022-01-216-54/+29
|
* feat: improve indent moduleMunif Tanjim2022-01-213-5/+5
| | | | get_node_at_line should return appropriate child if available
* feat(lua)!: switch from our fork to MunifTanjim's (#2272)Christian Clason2022-01-181-2/+1
| | | | | also take queries from https://github.com/MunifTanjim/nvim-treesitter-lua/tree/main/queries/lua BREAKING CHANGE: queries are not compatible; modules will have to update
* chore: remove swift tests for now (cause CI failure)Stephan Seitz2022-01-182-15/+0
| | | | Will try to add them again in a follow up.
* highlights(swift): add more `@operator`s and `implicit` keywordStephan Seitz2022-01-181-0/+8
|
* highlights(swift): highlight punctuationStephan Seitz2022-01-181-0/+7
| | | | | "?" is still missing: https://github.com/tree-sitter/tree-sitter-swift/issues/38
* highlights(hack): add keywords implementsStephan Seitz2022-01-173-1/+14
|
* highlights(hack): extend queries add testsStephan Seitz2022-01-179-0/+143
|
* highlights(cpp): add support for conceptsStephan Seitz2022-01-161-0/+22
| | | | Requires https://github.com/tree-sitter/tree-sitter-cpp/pull/138
* ci: fix markdown testsStephan Seitz2022-01-161-2/+2
|
* fix(ci): make highlight test working with markdownStephan Seitz2022-01-162-30/+31
|
* add highlights testsantosha4172022-01-161-0/+59
|
* chore(markdown): highlights testnumToStr2022-01-071-0/+41
|
* highlights(Pascal): Fix highlighting of typesPhilip Zander2022-01-051-0/+39
| | | | | A recent change broke highlighting for namespaces & generic types like `foo.bar` and `foo<t>`.
* update fusion to version 1.1.1 (#2148)jirgn2021-12-233-1/+25
| | | | | | | | | | | | | | | | | | * feat(fusion): update tests * fix(fusion): update lockfile * fix(fusion): update to (highlight breaking) version 1.1.0 * update grammer to introduce afx support * update tests and queries * fix: revert lockfile update of unrelated grammars * fix: update to 1.1.1 and fix hightlights * fix: use @tag.attribute capture to match specs Co-authored-by: Jirgn <jirgn76@googlemail.com>
* ci(injection tests): don't consider root language an injectionStephan Seitz2021-12-202-1/+8
|
* ci: add injection testsStephan Seitz2021-12-202-0/+95
|
* highlights(lua): `next` as builtin functionnumToStr2021-12-131-0/+13
|
* feat(fusion): update testsJirgn2021-12-061-4/+4
|
* highlights(bash): highlight "((" "))"Stephan Seitz2021-11-281-0/+6
|
* fix: off-by-one errors in indent calculationoxalica2021-11-281-4/+0
|
* test(prisma): add initial testelianiva2021-11-281-0/+56
|
* fix: incorrect hightlight groupsJirgn2021-11-261-1/+1
|
* fix: typo in highlight group punct(u)ationJirgn2021-11-262-10/+10
|
* feat: add fusion grammar and highlightsJirgn2021-11-262-0/+135
|
* chore: add test for ecma private fields & methodsnumToStr2021-11-251-0/+25
|
* Add assert that "highlight-assertions" is executableStephan Seitz2021-11-241-0/+6
|
* Mark failing indent tests to add them to CIStephan Seitz2021-11-246-36/+114
| | | | | Expected failures should be monitored so that we don't have regressions and also remove failure marks when they are resolved.
* Add highlight testsStephan Seitz2021-11-242-0/+107
|
* feat: add "experimental" key to parsersCezary Drożak2021-10-071-0/+46
| | | | feat(ci): mark parsers as experimental in README
* test: Add tests for is_in_node_range (#1756)partizan2021-08-301-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix: is_in_node_range now includes end line and col This fixes no indents at the end of python files Refs #1136 * update scala highlights (#1760) * add type highlights * add call expression highlights * add function definition highlights * add expression highlights * add literals highlights * add operator highlights * add punctuation highlights * add comment highlights Co-authored-by: Stevan Milic <stevan.milic@tradecore.com> * test: Add unit tests * Revert "fix: is_in_node_range now includes end line and col" This reverts commit 5a721fef5620eb2fae6d9cebe09bf7b230f2606f. * refactor test * apply stylua * fix luacheck * update `describe` text * smallfix Co-authored-by: Stevan Milic <stevan.milic@yahoo.com> Co-authored-by: Stevan Milic <stevan.milic@tradecore.com>
* add compound_lit.c testleo602282021-08-012-0/+11
|
* Use stylua for autoformat code (#1480)Santos Gallegos2021-07-046-172/+175
|
* tests/indent: factor out most of the code into common.luaJędrzej Boczar2021-04-236-208/+175
|
* tests/indent: move common code out of main lua/ directoryJędrzej Boczar2021-04-236-10/+135
|
* tests/indent: move the run helper functions to top-levelJędrzej Boczar2021-04-235-37/+38
|
* move all tests to top-level tests/ directoryJędrzej Boczar2021-04-2353-0/+885