summaryrefslogtreecommitdiffstats
path: root/tests/query
Commit message (Collapse)AuthorAgeFilesLines
* feat(haskell): tweak highlightsMarc Jakobi2023-11-181-0/+5
| | | | | * add cases for `qualified_variable` * add function defined in terms of composition
* fix(wing): update parser and queries, add maintainer (#5671)Mark McCulloh2023-11-131-2/+2
|
* injections(vue): inject typescript instead of js (#5577)Pham Huy Hoang2023-11-061-2/+2
| | | | | | | Interpolations (`{{valid js code}}`) and directive attributes (`<element :directive="valid js code"`) can also be typescript code, hence we can inject typescript instead of javascript here and still be ok with highlights (bar some syntax differences between ts and js)
* 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(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-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(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>
* 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(vue): add tsx/jsx injection queries (#4550)Lucario3872023-03-241-0/+4
| | | | | | | * feat(vue): add tsx/jsx injection queries - add a test - style: format vue/injections.scm
* test: ecma injectionsBenny Powers2023-03-222-9/+9
|
* test: html injectionsBenny Powers2023-03-221-5/+38
|
* feat(julia): add tests for new changesAmaan Qureshi2023-03-101-0/+26
|
* fix(gleam): update tests reflecting recent changesAmaan Qureshi2023-03-106-102/+103
|
* injections(html): fix faulty css/js injectionsPham Huy Hoang2023-03-052-0/+10
| | | | | | Group queries to reduce duplicate injection tree use only regex
* 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
|
* properly replace deprecated tsutils functionsKiyoon Kim2023-02-122-4/+4
|
* allow negative assertion in injection tests (#4107)lucario3872023-01-075-135/+84
| | | | | | | * tests(vue, svelte): strengthen tests * fix(html, vue, svelte): fix wrong test format * allow negative assertions in injection tests
* refactor(svelte): Remove duplicated queriesLucario3872023-01-031-0/+39
| | | | | | These injection queries are defined already in html_tags, remove them Signed-off-by: Pham Huy Hoang <hoangtun0810@gmail.com>
* refactor(vue, html): Update injectionsLucario3872023-01-031-0/+45
| | | | | | | Update html_tags injections so that html/vue/svelte parsers can use it without having a script/style tag being captured twice Signed-off-by: Pham Huy Hoang <hoangtun0810@gmail.com>
* highlights(rust): use `@namespace` for `[(crate) (self) (super)]`Stephan Seitz2023-01-011-15/+33
| | | | Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/3992
* 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
|
* Fix(vue): Invalid match queriesLucario3872022-12-251-7/+34
|
* add test fileLucario3872022-12-251-0/+41
|
* feat(t32): initial supportxasc2022-12-214-0/+177
|