aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix testsRonan Arraes Jardim Chagas2023-10-291-1/+1
|
* Add initial tests for Julia language indentationRonan Arraes Jardim Chagas2023-10-294-0/+56
|
* fix(php): fix indentation for in between bracesCarlos Afonso2023-10-152-1/+2
|
* feat(haskell): highlights improvementsMarc Jakobi2023-10-151-5/+56
| | | | | | | | | | | | | | | | - Consider functions with only one value on the rhs as variables - Applied composition: `(f . g) <param>` -> `@function.call` - View patterns - `@field` in record update expression - type_tuple and type_list as variables - quantifier for `exp_apply (<rhs>)+ (variable)` - type_tuple and type_list as variables - Treat signatures with only one value on the rhs as variables (except for `IO a`) -> Fixes #5505. - Remove redundant anchors from signature function queries. - Move signature function queries to give them higher priority - Scoped function types - Add signature query to function with parameters query
* feat(nix): some highlight improvementsMarc Jakobi2023-10-121-0/+16
| | | | | - functions - builtin functions with prefix - add test file
* fix(haskell): prevent segfault due to anchorless queries (#5502)Marc Jakobi2023-10-101-5/+4
|
* fix(haskell): highlight fixes (#5470)Marc Jakobi2023-10-051-6/+122
| | | | | | | * fix(haskell): highlight fixes + merge qualified/unqualified queries * fix(haskell): lambda params + add exp_record to function.call args * style: apply PR suggestions
* feat(haskell): highlights improvements + tests (#5466)Marc Jakobi2023-10-021-0/+161
|
* fix(dockerfile): bash injection on run instructionsChristian Segundo2023-09-171-0/+6
|
* fix(yaml): promql injections blockChristian Segundo2023-09-151-0/+7
|
* fix(t32): update indent queries & testChristoph Sax2023-09-142-15/+30
| | | | | | | The latest release of the grammar changes the handling of consecutive line breaks. This breaks the existing test for indents. This commit updates the indent queries and fixes the associated test.
* fix(clojure): fix field highlighting (#5319)Noah2023-08-271-0/+52
|
* feat(bash): improve highlightsObserverOfTime2023-08-241-2/+2
|
* fix(lua): luap injection (#5275)TheLeoP2023-08-181-0/+5
| | | | | | | | | * fix(lua): luap injection * test(lua): check for incorrect hlgroup of injected luap * chore(lua): injections styling * chore(lua): ignore luacheck for test.lua
* feat(t32): update tests to new node typesChristoph Sax2023-07-303-14/+78
|
* feat(t32): re-enable testsChristoph Sax2023-07-309-0/+419
| | | | | | | | | - 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-299-419/+0
| | | | | t32 parser is hosted on Codeberg, which has frequent outages that block unrelated CI. Revert this commit if and when uptime has improved.
* fix(c)!: update C, CPP parsers and queriesAmaan Qureshi2023-07-271-2/+1
| | | also update derived parsers (arduino, cuda, glsl, hlsl, ispc, objc)
* feat(promql,yaml): add parser and yaml injectionsMichael Hoffmann2023-07-181-0/+12
| | | | Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
* 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>
* tests: fix failed tests (#4901)Pham Huy Hoang2023-06-053-69/+37
| | | fix failed tests for tiger, t32 and wgsl
* feat: add indents for annotation defs (#4828)Pham Huy Hoang2023-06-043-0/+13
| | | | - Add indent for `@interface` and `@Annotation(...)` - Add notes for indent queries
* feat(prisma): highlight viewsWill Ruggiano2023-06-041-0/+7
|
* feat(ecma): convert eligible `@keyword.operators`Ananda Umamil2023-06-041-1/+1
|
* fix(gleam): minor indent fixesAlex Manning2023-06-042-0/+15
|
* chore: update GleamAmaan Qureshi2023-05-293-26/+0
|
* indents(sql): initial support (#4857)Matthias Q2023-05-258-0/+59
| | | | | * indents(sql): initial support * indents(sql): fix queries and lua style
* feat(t32): add indent rules (#4782)Christoph Sax2023-05-187-3/+252
|
* Added USD as a language + some queriesColin Kennedy2023-05-155-0/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fix(nickel): wrong indent on line after top level comment (#4792)Zheng PiaoDan2023-05-132-0/+6
| | | | | | | | | | | | | | | | | | | | | * fix(nickel): wrong indent on line after top level comment Previous incorrect indentation on line after top level comment: ``` # no indent after this comment { another = 1 } ``` Expected result: ``` # no indent after this comment { another = 1 } ````
* feat: add indents.scm for nickel (#4790)Zheng PiaoDan2023-05-132-0/+33
|
* feat: add swift indents (#4756)Pham Huy Hoang2023-05-084-0/+123
|
* Update Capnp (#4713)Amaan Qureshi2023-05-073-0/+1720
| | | | | | | | | | | | | * 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>
* ci: add tests for #4632Stephan Seitz2023-05-052-0/+11
| | | | | Issue #4632 might be fixed by https://github.com/UserNobody14/tree-sitter-dart/pull/41
* Add Python else elif dedent (#4618)Pham Huy Hoang2023-04-292-0/+5
| | | | | | | * feat(python): add interactive else/elif dedent * fixup * add test
* 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-256-0/+419
|
* tests: fix deprecated tests (#4681)Pham Huy Hoang2023-04-201-2/+8
|
* feat(cpp): improve function.call to support any level of nesting for ↵John Drouhard2023-04-151-7/+9
| | | | qualified identifiers
* fix(dart_indent): Fix dart case/default indentPham Huy Hoang2023-04-142-2/+39
| | | | | | | | | | add tests add tests for fallthrough case add more tests keep functional tests
* chore(dart): remove tests for switchRobert Brunhage2023-04-132-12/+0
|
* test(dart): add test cases for open issuesRobert Brunhage2023-04-134-2/+36
|
* fix(dart): review commentRobert Brunhage2023-04-131-1/+1
|
* test(dart): add expected failure file to testRobert Brunhage2023-04-131-1/+3
|
* chore: fix formatting issue for dart testRobert Brunhage2023-04-131-1/+6
|
* Update tests/indent/dart_spec.luaRobert Brunhage2023-04-131-1/+1
| | | Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>
* test(dart): Add an expected failure testRobert Brunhage2023-04-132-0/+16
|