aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent
Commit message (Collapse)AuthorAgeFilesLines
* fix(wgsl): indent call expression params (#7309)ganhaque2024-11-062-0/+31
|
* fix(wgsl): indent first parameter of function definitionRiley Bruins2024-11-062-1/+23
|
* feat(nu): add parser and queries (#7267)Abhishek Singh2024-11-057-0/+51
|
* feat: sway programming languageRiley Bruins2024-11-042-0/+365
|
* feat(php): php 8.4 support (#6741)Caleb White2024-08-182-0/+18
| | | | | | | | | * chore(php): update maintainers * feat(php): update php rules, highlight imported functions/consts * feat(php): indent inside property hooks * chore: update php and php_only revision
* fix(lua): proper indent after multiline string argRiley Bruins2024-08-052-0/+5
|
* fix(query): proper indentation after quantifiersRiley Bruins2024-08-022-1/+13
|
* fix: prevent double indent from pipesOliver Thomas2024-07-312-0/+4
|
* feat: add rescript parser and queries (#6671)Riley Bruins2024-07-274-0/+311
|
* fix(php): correct line endingsChristian Clason2024-07-171-12/+12
|
* feat: add indentation queries for angularDennis van den Berg2024-07-175-0/+112
|
* fix(lua): indent functions before they are closedRiley Bruins2024-07-162-0/+3
| | | | Fixes #6786
* feat(python): Improved python indentation (#6859)Grace Petryk2024-07-162-0/+46
| | | | | | | | | | | | | * feat: improve python indentation * use lua-match * revert concatenated_string changes, handle function def hanging indents * lint * add delimiters to param query * add test cases
* fix(php): do not indent after class/enum decl再生花2024-07-092-0/+17
|
* feat(nix): indentation queriesRiley Bruins2024-07-053-0/+304
|
* fix(ecma): indent single-line if statements (#6846)Riley Bruins2024-07-042-0/+8
| | | Fixes #5898.
* fix(r): adapt indent queriesPhạm Huy Hoàng2024-06-281-6/+3
| | | | | | | - Anchor parameter query. There's no need for multiple indent.align captures - Narrow down binary_operator indent.begin. From tree-sitter-r corpus and highlight tests, this seems to be appropriate.
* feat(r)!: update parser and queriesChristian Clason2024-06-271-3/+4
|
* fix: adapt to Nvim 0.11 deprecationsChristian Clason2024-05-171-1/+1
|
* fix(rust): indentation in multi-line tuple pattern (#6402)ganhaque2024-04-041-0/+8
| | | | | * fix(rust): indentation in multi-line tuple pattern * test(indent): rust - add test for tuple pattern indent
* feat(php): improve indents in return statements & chained methodsCaleb White2024-03-162-0/+104
|
* feat(dot): add indents queriesLuckas2024-03-152-0/+33
| | | | | | | * feat(dot): add indents queries * add: tests * fix: test
* feat(swift): add init/deinit indents再生花2024-03-132-4/+6
| | | | Signed-off-by: Phạm Huy Hoàng <hoangtun0810@gmail.com>
* feat(swift): add will/didSet indentPhạm Huy Hoàng2024-03-042-2/+6
| | | | Fixes CI error in PR.6237
* feat(query): indents that reflect the formatter (#6154)Riley Bruins2024-02-213-1/+67
| | | | | * feat(query): indents that reflect the formatter Indentation queries that reflect the query formatter. Only applicable if `lispoptions=expr:1`
* fix(python): better try-except indentation (#6097)Riley Bruins2024-02-152-0/+8
|
* fix(yuck): comment out start-of-line parensPhạm Huy Hoàng2024-02-132-0/+36
|
* feat(meson): add indents.scmJędrzej Boczar2024-01-209-0/+147
|
* fix(cpp): incorrect indent of class with opening { on new line (#5811)Jędrzej Boczar2023-12-221-0/+9
|
* Add more tests for assignmentsRonan Arraes Jardim Chagas2023-10-291-2/+12
|
* Improve curly expression alignmentRonan Arraes Jardim Chagas2023-10-291-0/+15
|
* 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
|
* 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.
* feat(t32): re-enable testsChristoph Sax2023-07-305-0/+236
| | | | | | | | | - 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-295-236/+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)
* 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
* fix(gleam): minor indent fixesAlex Manning2023-06-042-0/+15
|
* chore: update GleamAmaan Qureshi2023-05-292-15/+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-185-0/+243
|
* Added USD as a language + some queriesColin Kennedy2023-05-152-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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-072-0/+1087
| | | | | | | | | | | | | * 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