aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent
Commit message (Collapse)AuthorAgeFilesLines
...
* feat(hcl,terraform): split terraform from hcl, add specialized queries for tfMichael Hoffmann2022-12-299-2/+2
| | | | | | | | This enables us to have different queries for terraform and general hcl. It solve the situation where other dialects of hcl (nomad, packer, etc) might use a terraform keyword and get highlighted out of place.
* indents(ecma): Fix switch default indentRaymond Ha2022-12-071-0/+8
|
* indents(r): support special operatorPedro Castro2022-11-292-0/+4
| | | | Close #3879
* fix(php): add indent for enumsgbprod2022-10-102-0/+5
|
* Fix php indent for short array declarationgbprod2022-10-062-0/+6
|
* indents(wgsl): add indents.scmStephan Seitz2022-09-282-0/+62
|
* ci: add test for #3382 (wrong JS array indent)Stephan Seitz2022-09-102-0/+6
|
* ci(indents): add known failure case for #3364Stephan Seitz2022-08-302-1/+8
|
* indents(go): no indent at all composite_literal, indent at struct_typeStephan Seitz2022-08-151-2/+10
|
* indens(go): fix issue 3288Stephan Seitz2022-08-151-0/+14
| | | | Fixes #3288
* fix(ruby): indent of brackets & parensZheng Piaodan2022-08-133-0/+16
|
* fix(ruby): indent parenthesized_statementsZheng Piaodan2022-08-132-0/+3
|
* Enable expandtabphynalle2022-08-081-1/+1
|
* Add zig tests for newlinephynalle2022-08-082-0/+32
|
* indents(go): improve `@branch` rulesStephan Seitz2022-08-052-0/+33
| | | | | | | | - Don't branch at `case` - Let `import_spec_list`/`var_declaration` behave like `const_declaration` Fixes #2166
* chore: remove executable permissions on graphql spec file (#3206)Kiyan2022-07-221-0/+0
|
* fix(indents): indents for error block (css, lua) (#3207)Kiyan2022-07-214-7/+10
|
* fix: add more indentations for ruby (#3139)Eric Zheng (PiaoDan)2022-07-093-0/+17
|
* fix(rust): remove if_let from indent captureskiyan2022-07-082-0/+10
| | | | fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/3073
* fix(go): indent const declarationkiyan2022-07-082-4/+10
| | | | https://github.com/nvim-treesitter/nvim-treesitter/issues/3104
* fix(ecma): indent end for bracket (#3121)Kiyan2022-07-072-0/+4
|
* test(indents/yaml): add testsPhelipe Teles2022-06-143-0/+24
|
* test(tiger): import upstream testsBruno BELANYI2022-06-146-0/+228
|
* Don't expect any change on reindenting the whole unfinished-call.phpprzepompownia2022-05-151-3/+1
|
* unfinished-call.php: expect 0-column indentationprzepompownia2022-05-151-1/+1
|
* Remove unused XFAILprzepompownia2022-05-151-1/+0
|
* Change test expectationprzepompownia2022-05-151-1/+1
|
* indent(hcl): fix function callsMichael Hoffmann2022-04-252-0/+8
|
* indents(hcl): fix indentation queriesMichael Hoffmann2022-04-248-0/+71
| | | | This commit adds tests for hcl indentation and fixes various bugs
* test(go): add cases for newlines de-indentationAkin Sowemimo2022-04-182-0/+12
| | | | | | | | | | | | | test(go): combine new indent test cases test(go): add incorrect indent after var closing ) this case does not work correctly already so add that in since this PR does not address that case test(go): set current lines in indent test test(go): simplify test case
* fix(indent/lua): wrong for nested tables due to branch on opening pairsJędrzej Boczar2022-04-062-0/+8
|
* indents(ecma): use auto indent on (ERROR)Stephan Seitz2022-04-042-0/+20
| | | | Fixes #2515
* Changed quotes to appease styluaDaniel Woznicki2022-04-041-1/+1
|
* Fixed incorrect Java indentation for method chainingDaniel Woznicki2022-04-042-0/+7
|
* chore: update formatting for stylua updateStephan Seitz2022-04-021-84/+66
|
* r(indents): fix brace_list alignmentPedro Castro2022-03-292-0/+7
|
* Combined closing.css and block.css test files into single open_block.cssDaniel Woznicki2022-03-193-3/+2
|
* Added fix for incorrect CSS indent after closing bracketDaniel Woznicki2022-03-194-0/+33
| | | | Added a failing test for possible broken CSS syntax tree
* Added test for known indent failure when tree is in broken stateDaniel Woznicki2022-03-011-2/+7
|
* Made block comment indent @auto so that new lines line up nicely with ↵Daniel Woznicki2022-03-012-2/+2
| | | | | | | | | | | | | | existing comment block Previous indentation: /** * */ New indentation: /** * */
* Added test case for broken trees, plus partial test coverageDaniel Woznicki2022-03-012-0/+8
|
* Modified Java indent rules to stop ignoring block comments because javadoc ↵Daniel Woznicki2022-03-012-0/+6
| | | | blocks were defaulting to indent 0
* Added fix for Java interfaces not being indented properlyDaniel Woznicki2022-03-012-0/+3
|
* fix(indent): ecma - parenthesized expression indentationMunif Tanjim2022-02-262-0/+20
|
* fix(indent): ecma - class method indentationMunif Tanjim2022-02-262-0/+34
|
* Fixed a bug where indentation was not correct for class/enum bodies that had ↵Daniel Woznicki2022-02-253-0/+8
| | | | an annotation
* Fixed a bug where Java enum body indentation was not correctDaniel Woznicki2022-02-252-0/+5
| | | | Added test for Java enum indentation
* Removed newline causing sylua lint check to failDaniel Woznicki2022-02-251-1/+0
|
* Added fix for incorrect Java indentation after a closing "}" in a method ↵Daniel Woznicki2022-02-253-0/+31
| | | | | | declaration Added tests for Java indentation, including one for issue 2571
* Gleam indentation testsConnor Lay (Clay)2022-02-1514-0/+226
|