summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2022-01-29highlights(c/cpp): highlight case labels as constantsStephan Seitz
2022-01-29highlights(cpp): fix function highlighting of Foo::bar::baz()Stephan Seitz
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2396
2022-01-28highlights(python): add support for pattern matchingStephan Seitz
Fixes #2080 Depends on https://github.com/tree-sitter/tree-sitter-python/pull/140
2022-01-24indents(php): align with C indentationStephan Seitz
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2357
2022-01-24feat(indent): Implement basic indent for gdscript.Ryan Roden-Corrent
Indent is not handled correctly when adding new lines. It seems that functions/loops/etc. are not recognized until they have at least one indented block. For example, if you enter a newline after `func foo():`, the cursor will not be indented. If you manually indent and add a line like `pass`, e.g.: ``` func foo(): pass ``` now any insertions above or below `pass` will be indented correctly. This might be an issue with the grammar, as it seems to apply to highlights as well. The following will not be highligted ``` func foo(): ``` However, the following will be: ``` func foo(): pass ```
2022-01-21test(indent): rust - add test for indented commentMunif Tanjim
2022-01-21fix(indent): rust - support newline after closing braceMunif Tanjim
2022-01-21feat(indent): ecma - support common use-casesMunif Tanjim
2022-01-21fix(indent): c/cpp - support newline after closing braceMunif Tanjim
2022-01-21feat(indent): ecma - support try_catch and if_elseMunif Tanjim
2022-01-21feat(indent): support `@aligned_indent` for pythonMunif Tanjim
2022-01-21feat: rewrite indent moduleMunif Tanjim
2022-01-21feat: improve indent moduleMunif Tanjim
get_node_at_line should return appropriate child if available
2022-01-18feat(lua)!: switch from our fork to MunifTanjim's (#2272)Christian Clason
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
2022-01-18chore: remove swift tests for now (cause CI failure)Stephan Seitz
Will try to add them again in a follow up.
2022-01-18highlights(swift): add more `@operator`s and `implicit` keywordStephan Seitz
2022-01-18highlights(swift): highlight punctuationStephan Seitz
"?" is still missing: https://github.com/tree-sitter/tree-sitter-swift/issues/38
2022-01-17highlights(hack): add keywords implementsStephan Seitz
2022-01-17highlights(hack): extend queries add testsStephan Seitz
2022-01-16highlights(cpp): add support for conceptsStephan Seitz
Requires https://github.com/tree-sitter/tree-sitter-cpp/pull/138
2022-01-16ci: fix markdown testsStephan Seitz
2022-01-16fix(ci): make highlight test working with markdownStephan Seitz
2022-01-16add highlights testsantosha417
2022-01-07chore(markdown): highlights testnumToStr
2022-01-05highlights(Pascal): Fix highlighting of typesPhilip Zander
A recent change broke highlighting for namespaces & generic types like `foo.bar` and `foo<t>`.
2021-12-23update fusion to version 1.1.1 (#2148)jirgn
* 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>
2021-12-20ci(injection tests): don't consider root language an injectionStephan Seitz
2021-12-20ci: add injection testsStephan Seitz
2021-12-13highlights(lua): `next` as builtin functionnumToStr
2021-12-06feat(fusion): update testsJirgn
2021-11-28highlights(bash): highlight "((" "))"Stephan Seitz
2021-11-28fix: off-by-one errors in indent calculationoxalica
2021-11-28test(prisma): add initial testelianiva
2021-11-26fix: incorrect hightlight groupsJirgn
2021-11-26fix: typo in highlight group punct(u)ationJirgn
2021-11-26feat: add fusion grammar and highlightsJirgn
2021-11-25chore: add test for ecma private fields & methodsnumToStr
2021-11-24Add assert that "highlight-assertions" is executableStephan Seitz
2021-11-24Mark failing indent tests to add them to CIStephan Seitz
Expected failures should be monitored so that we don't have regressions and also remove failure marks when they are resolved.
2021-11-24Add highlight testsStephan Seitz
2021-10-07feat: add "experimental" key to parsersCezary Drożak
feat(ci): mark parsers as experimental in README
2021-08-30test: Add tests for is_in_node_range (#1756)partizan
* 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>
2021-08-01add compound_lit.c testleo60228
2021-07-04Use stylua for autoformat code (#1480)Santos Gallegos
2021-04-23tests/indent: factor out most of the code into common.luaJędrzej Boczar
2021-04-23tests/indent: move common code out of main lua/ directoryJędrzej Boczar
2021-04-23tests/indent: move the run helper functions to top-levelJędrzej Boczar
2021-04-23move all tests to top-level tests/ directoryJędrzej Boczar