aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights
Commit message (Collapse)AuthorAgeFilesLines
* ci: allow negative assertions in testsStephan Seitz2023-01-011-0/+12
|
* move 'in' to repeatPedro Castro2022-12-311-1/+1
|
* fix testPedro Castro2022-12-311-1/+1
|
* r: update highlightsPedro Castro2022-12-311-0/+47
|
* feat(t32): initial supportxasc2022-12-214-0/+177
|
* highlights: create subscoping for ternary operatorStephan Seitz2022-12-021-2/+2
| | | | | | | | | | After https://github.com/nvim-treesitter/nvim-treesitter/issues/470, we decided to use `@conditional` for ternary operator instead of operator despite `@conditional` is documented for keywords only. A sub-scoping can make it easier for people to highlight this operator group differently. Also unify the usage of `@conditional...` across languages.
* test(highlights/cpp): add new test for auto as type.builtin.Aaron Rancsik2022-12-011-0/+1
|
* test(highlights/cpp): type -> type.builtin for primitive types.Aaron Rancsik2022-12-011-2/+2
|
* highlights(hack): fix capturesObserverOfTime2022-11-262-5/+5
|
* highlights(solidity): use more specific groupsObserverOfTime2022-11-261-3/+3
|
* highlights(tiger): fix capturesObserverOfTime2022-11-263-4/+4
|
* highlights(gleam): use more specific groupsObserverOfTime2022-11-262-9/+9
|
* highlights(cpp): use more specific groupsObserverOfTime2022-11-261-1/+1
|
* highlights(gitattributes): fix capturesObserverOfTime2022-11-261-3/+3
|
* highlights(typescript): Fix as highlightRaymond Ha2022-11-251-0/+8
|
* highlights(ecma): add pair_pattern punctuation.delimiterMunif Tanjim2022-10-171-0/+7
|
* feat!: remove obsolete `TS*` highlight groupsChristian Clason2022-10-163-23/+23
|
* test(gitattributes): add tests for highlightsObserverOfTime2022-10-151-0/+37
|
* highlights(rust): distinguish between "for" in loops and impl_itemStephan Seitz2022-10-151-0/+15
| | | | Fixes #3641
* highlights(hack): use `@function.call`/`@method.call`Stephan Seitz2022-09-111-1/+1
|
* highlights(ecma): use `@method.call`/`function.call`Stephan Seitz2022-09-111-2/+2
|
* (Broken test fixed) Updated static-namespace-functins.cpp to use function.calllfenzo2022-08-031-3/+3
|
* fix(tiger): add 'ft' modeline in highlight corpusBruno BELANYI2022-06-1410-0/+10
|
* fix(tiger): adjust invalid queriesBruno BELANYI2022-06-146-16/+16
|
* test(tiger): import upstream testsBruno BELANYI2022-06-1410-0/+226
|
* Python: highlight future import (#2936)Santos Gallegos2022-05-131-0/+4
| | | | | * Python: highlight future import * Use constant.builtin
* highlights(cpp): make "::" `@punctuation.delimiter`Stephan Seitz2022-05-071-0/+1
| | | | Fixes #2902
* Python: highlight raise from statementSantos Gallegos2022-05-011-0/+6
|
* highlights(python): "from" in yield should be `@keyword.return`Stephan Seitz2022-04-011-0/+7
| | | | Fixes #2712
* Refactor solidity highlights.scm furtherYongJieYongJie2022-03-111-2/+6
| | | | | | - Instead of @keyword, use @conditional, @exception, @return, @function as appropriate - Standardize to using @field (instead of @property)for struct members
* Refactor solidity highlights.scmYongJieYongJie2022-03-111-0/+9
| | | | | | - Use more specific/appropriate captures; change invalid captures - Don't highlight punctuations in type names (e.g., the brackets in 'bytes32[]')
* Add highlights query for SolidityYongJieYongJie2022-03-111-0/+173
|
* Gleam highlight testsConnor Lay (Clay)2022-02-157-0/+281
|
* highlights(c/cpp): highlight case labels as constantsStephan Seitz2022-01-292-0/+46
|
* highlights(cpp): fix function highlighting of Foo::bar::baz()Stephan Seitz2022-01-291-0/+12
| | | | Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2396
* highlights(python): add support for pattern matchingStephan Seitz2022-01-281-0/+50
| | | | | Fixes #2080 Depends on https://github.com/tree-sitter/tree-sitter-python/pull/140
* 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-161-29/+16
|
* 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>
* highlights(lua): `next` as builtin functionnumToStr2021-12-131-0/+13
|
* feat(fusion): update testsJirgn2021-12-061-4/+4
|