aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights
Commit message (Collapse)AuthorAgeFilesLines
* feat(t32): update tests to new node typesChristoph Sax2023-07-303-14/+78
|
* feat(t32): re-enable testsChristoph Sax2023-07-304-0/+183
| | | | | | | | | - Switch to GitLab mirror repository - Lock grammar version 2.2.0 - Revert "fix(tests): mark t32 as allowed to fail" This reverts commit ba223ceecc5d66312780c45079b6ae55c406fa96. - Revert "fix(tests): remove t32 tests" This reverts commit 97957a547b93412411ba3a8a9abd27589247c869.
* fix(tests): remove t32 testsChristian Clason2023-07-294-183/+0
| | | | | t32 parser is hosted on Codeberg, which has frequent outages that block unrelated CI. Revert this commit if and when uptime has improved.
* feat(wing): add parser (#5021)Glib Shpychka2023-06-292-0/+23
| | | | Co-authored-by: Christian Clason <c.clason@uni-graz.at> Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
* feat(prisma): highlight viewsWill Ruggiano2023-06-041-0/+7
|
* feat(ecma): convert eligible `@keyword.operators`Ananda Umamil2023-06-041-1/+1
|
* chore: update GleamAmaan Qureshi2023-05-291-11/+0
|
* feat(t32): add indent rules (#4782)Christoph Sax2023-05-182-3/+9
|
* Added USD as a language + some queriesColin Kennedy2023-05-153-0/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added USD highlight unittests Added USD indentation Added USD indents.scm file Added USD indent rules Simplified USD highlight groups Added explicit highlight groups Added newline Removed after/ftdetect/usda.lua usd/indents.scm - Added inline comments explaining the nodes Fixed USD highlight group unittests Added indentation unittests Simplified USD `@identifier` highlighting Added USD documentation highlight group tests Simplified USD highlight groups Moved USD `@identifier` and `@namespace` highlights into one place Removed and simplified tests/query/highlights/usd Simplified tests/query/highlights/usd more Removed trailing newline Combined USD test files Added `set filetype=usd` to minimal_init.lua
* highlights(markup): distinguish heading level in queriesChristian Clason2023-05-131-7/+7
| | | | | also add a few queries from Helix and remove controversial code block conceal in Markdown
* Update Capnp (#4713)Amaan Qureshi2023-05-071-0/+633
| | | | | | | | | | | | | * feat(capnp): update queries from upstream changes * test: add tests for capnp * fix indent queries * ci: fix capnp indent tests --------- Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>
* fix(python,starlark): builtin types should come after typesAmaan Qureshi2023-04-251-1/+3
|
* feat(python,starlark): highlight type conversions as `@function.macro`Amaan Qureshi2023-04-251-0/+1
|
* fix(python,starlark): update field match patternAmaan Qureshi2023-04-251-0/+10
|
* chore(smali): add testsAmaan Qureshi2023-04-251-0/+261
|
* feat(cpp): improve function.call to support any level of nesting for ↵John Drouhard2023-04-151-7/+9
| | | | qualified identifiers
* feat(julia): add tests for new changesAmaan Qureshi2023-03-101-0/+26
|
* fix(gleam): update tests reflecting recent changesAmaan Qureshi2023-03-106-102/+103
|
* feat(ecma): add tests for constantsAmaan Qureshi2023-03-041-0/+13
|
* feat(solidity): use maintained parser and update highlights accordinglyAmaan Qureshi2023-02-241-4/+4
|
* 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